Skip to content

Instantly share code, notes, and snippets.

@Fitblip
Created November 5, 2017 00:06
Show Gist options
  • Save Fitblip/824026fcecd896bdb50463112ab27189 to your computer and use it in GitHub Desktop.
Save Fitblip/824026fcecd896bdb50463112ab27189 to your computer and use it in GitHub Desktop.
Certstream Logstalgia Output v2
certstream --json | \
jq -r '.data | [ (.seen|floor|tostring), (.leaf_cert.all_domains[0]|split(".")|.[-1]), .chain[0].subject.CN, "200", "0" ] | join("|")' | \
logstalgia -g "Certificate Authorities,CODE=^200,0" --hide-response-code --hide-paddle --path-abbr-depth -1 --no-bounce -s 2 --address-abbr-depth -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment