CertStream REST API engine
pip3 install -r requirements.txtgit clone https://github.com/AssuranceMaladieSec/CertStreamMonitor.gitpip3 install -r CertStreamMonitor/requirements.txtscanhost.py occasionallyCERTSTREAM_ENGINE_URL=http://localhost:5017/engines/certstream
ASSET_FQDN=domain.net
# Start scan
curl "${CERTSTREAM_ENGINE_URL}"/startscan -XPOST -H 'Accept: application/json' -H 'Content-type: application/json' -d "{\"scan_id\": 1, \"options\": {\"since\": \"9999\"}, \"assets\": [{\"datatype\": \"domain\", \"criticity\": \"medium\", \"id\": 1, \"value\": \"$ASSET_FQDN\"}], \"engine_id\": 9}"
# Scan status
curl "${CERTSTREAM_ENGINE_URL}"/status/1
# Get findings (works only once and delete the report)
curl "${CERTSTREAM_ENGINE_URL}"/getfindings/1
Engine: CERTSTREAM
Options: {"since": "999999"}
Scopes: E-Reputation
Engine: CERTSTREAM
Options: {"since": "3600"}
Scopes: E-Reputation
Content type
-
Digest
Size
57.9 MB
Last updated
about 5 years ago
docker pull patrowl/engine-certstream