Computing Foundations, lesson 6
Scripting for security work
Write short scripts that read logs, parse JSON and call an API.
Reading logs by eye works for a screenful, not for a day's worth. A few lines of Python can read a log file, pull out the fields you need, count them, and ask a web service about what they found. You need basic Python; if code is new to you, start with the free beginner's guide linked at the end, CS50's Introduction to Programming with Python.
Part of Pro
In this lesson
- Reading a log file
- Finding addresses with a pattern
- Reading JSON events
- Asking a web API
Cybersecurity comes with Pro: every lesson in every module.
Computing Foundations overviewSpotted a mistake? Tell us.