@@ -4,7 +4,7 @@ This is a collection of scripts that act as wrappers around the Rusty Hog binari
44They provide additional functionality that the New Relic security team uses to monitor
55and perform wider scans.
66
7- ## GHE Secret Monitor
7+ ## ghe_secret_monitor.py
88
99This is a Python script, re-written based on Douglas Day's work, that performs a scan
1010of the last 24 hours of commits for an entire GitHub Enterprise instance. It outputs
@@ -28,13 +28,12 @@ sudo systemctl enable ghe_secret_monitor
2828You can then perform a one-time execution of secret_scanner with the command
2929` sudo service ghe_secret_monitor start ` and examine the results in /var/log/messages
3030
31- ## JIRA Secret Scanner
31+ ## jira_secret_monitor.py
3232
33- This is a Python script, also re-written based on Douglas Day's work, that performs a
34- scan of any Google Docs that were linked in JIRA over the last 24 hours. Essentially
35- it runs a JQL query for all tickets modified in the last 24 hours, collects all GDrive
36- links from the text and comments of each JIRA ticket, and runs ankamali_hog against each
37- document. It then collects the results and outputs them to New Relic Insights. You can use
33+ This is a Python script, also re-written based on Douglas Day's work, that performs 2 scans:
34+ 1 ) It scans all JIRA tickets modified in the last 24 hours for secrets using gottingen_hog.
35+ 2 ) Within those JIRA tickets it looks for GDrive links and scans those docs for secrets using anakmali_hog.
36+ It then collects the results and outputs them to New Relic Insights. You can use
3837the same installation method as above, substituting jira_secret_scanner for secret_scanner
3938in each step.
4039
@@ -89,6 +88,8 @@ INSIGHTS_INSERT_KEY - the New Relic Insights Insert API key for results
8988INSIGHTS_ACCT_ID - the New Relic Insights account number for results
9089DUROC_HOG_PATH - the path to the duroc hog binary (relative or absolute)
9190
91+ You will also need to install the third party python library htmllistparse
92+
9293## s3weblisting_secret_monitor.py
9394
9495This is a python script meant to perform a Rusty Hog scan for all binaries on a web server that uses the generic
@@ -100,4 +101,6 @@ You will need to supply 4 environment variables to it:
100101DOWNLOAD_CONFIG_PATH - the path to the JSON config file, e.g. scripts/s3weblisting_secret_monitor.json
101102INSIGHTS_INSERT_KEY - the New Relic Insights Insert API key for results
102103INSIGHTS_ACCT_ID - the New Relic Insights account number for results
103- DUROC_HOG_PATH - the path to the duroc hog binary (relative or absolute)
104+ DUROC_HOG_PATH - the path to the duroc hog binary (relative or absolute)
105+
106+ You will also need to install the third party python library htmllistparse
0 commit comments