Telepath API
- class synmods.rapid7.sonarssl.service.Rapid7SonarSslApi
Bases:
StormSvc
,CellApi
A Telepath API for the Rapid7 service.
- async getSonarByIpv4(ipv4, port=None)
Return (time, ipv4, port, sha1, sha256) tuples by IPv4.
- async getSonarByName(name)
Return (time, ipv4, port, sha1, sha256) tuples by name suffix.
- async getSonarBySha1(sha1)
Return (time, ipv4, port, sha1, sha256) tuples by IPv4.
- async getSonarCountByIpv4(ipv4, port=None)
Return the number of sonar rows for the IPv4.
- async getSonarCountByName(name)
Return the number of sonar rows for the name suffix.
- async getSonarCountBySha1(sha1)
Return the number of sonar rows for the SHA1.
- getSonarFiles(offs)
- async getSonarStats()
Return a stats dictionary of the number of certs/names/endpoint rows.
- loadSonarFile(name, sha256)
Load a sonar.ssl file by name and sha256.
- waitSonarFile(offs, timeout=None)
Wait for a file offset (from loadSonarFile) to complete.
- Returns:
The return value from the parsing routine
- Return type:
dict