GuardDuty Runbook Generator
Create a runbook for all available GuardDuty finding types found on the GuardDuty docs website using the information documented for each finding.
This project is a kick-start to generate a base set of runbooks when GuardDuty is enabled in an organization. Runbooks will need to be customized to fit organizational incident response procedures and add contextual information.
Generating Runbooks
This tool can be installed from PyPI
pip install guardduty-runbooks
It can also be installed locally. After cloning the directory, run in the folder:
pip install .
The tool can then be run with optional flags:
guardduty-runbooks [--outdir outdir] [--overwrite]
If outdir is not specified, it will write all runbooks to the local directory.
guardduty-runbooks --outdir ./my-runbook-directory
This tool can be run multiple times to create runbooks for new finding types. Run the tool again over the directory where runbooks are stored and it will write new runbooks only, unless --overwrite is specified. Overwrite is a destructive command and will erase any customization made to the runbook.
guardduty-runbooks --outdir ./my-runbook-directory --overwrite
Runbook filenames are written using the "finding type" specified by GuardDuty. Because finding types include non alphanumeric characters like :, /, !, and ., those characters are replaced with dashes - and all other characters are made lowercase. This is for ease of programatically locating runbooks for tools like Panther and Matano.
For example:
CryptoCurrency:EC2/BitcoinTool.B!DNS becomes cryptocurrency-ec2-bitcointool-b-dns
License
Runbook content generated from docs.aws.amazon.com are licensed under CC-BY-SA-4.0 per AWS Site Terms.
Related projects/links
Metadata
Release files for guardduty-runbooks 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| guardduty_runbooks-0.3.0.tar.gz | 9.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| guardduty_runbooks-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.0 kB
Release files / guardduty_runbooks-0.3.0.tar.gz
| Download URL | guardduty_runbooks-0.3.0.tar.gz |
|---|---|
| Size | 9.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aaba583fae72b9c0fd630b382282fb918f084662f592f6bf2add38010fa8e967
|
|
BLAKE2b-256 checksum How to use checksums |
3a8f9562d1a3ede5e7a7f0f89ce6827a061e6567b00b078cd3add462c94e75fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / guardduty_runbooks-0.3.0-py3-none-any.whl
| Download URL | guardduty_runbooks-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5fc9b6269c900b2b52c8f246ebdde387ce98fe3e62f77d8c1d7c6bb57975e5e0
|
|
BLAKE2b-256 checksum How to use checksums |
06dff2168a3949feb242df60aaebaf8ac4b1487bf824e989ea6964909e1680f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for guardduty-runbooks 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.