Python has great exception-handling with nice traceback messages that can help debug issues with your code. Here’s an example of a typical traceback message: I usually read these from the bottom-up to zero-in on the issue. Here I can see that my program is trying to pop the last item off a list called parsed_line,Continue reading “More Comprehensive Tracebacks in Python”
Category Archives: All Posts
JC Version 1.11.1 Released
JC version 1.11.1 includes custom colors, dmidecode parser, enhanced netstat parser, more macOS support, new packaging, and more!
JC Version 1.10.2 Released
JC version 1.10.2 includes color support, axfr support for dig, and other parser updates.
Jello: The JQ Alternative for Pythonistas
jello works similarly to jq but uses the python interpreter, so you can iterate with loops, comprehensions, variables, expressions, etc. just like you would in a full-fledged python script.
JC Version 1.9.0 Released
JC version 1.9.0 now supports 50 parsers. New parsers include airport, file, ntpq, and timedatectl.
JSON Tables in the Terminal
jtbl is simple and elegant. It just takes in piped JSON or JSON Lines data and prints a table. There’s only one option to turn on column truncation vs. wrapping columns if the terminal width is too narrow to display the complete table. It ‘does the right thing’.
JC Version 1.8.0 Released
JC version 1.8.0 now supports 45 parsers. New parsers include blkid, last, lastb, who, /etc/passwd, /etc/shadow, /etc/group, /etc/gshadow, and CSV files along with other parser enhancements.
Applying Orchestration and Choreography to Cybersecurity Automation
We can apply concepts from application architecture (SOA and Microservices) to more effectively build automation into our cybersecurity stacks. Orchestration and Choreography both have important roles to play.
JC Version 1.7.1 Released
JC version 1.7.1 now supports 37 parsers. New parsers include id, crontab-u, INI, XML, and YAML. Other minor features and bug fixes included.
Microservice Security Design Patterns for Kubernetes (Part 5)
In this post we will implement the Sidecar-on-Sidecar pattern in an Istio Service Mesh to provide application layer security and micro-segmentation.