Fetch recent certificate transparency log entries.
(self, count: int = 100)
| 32 | self.last_checked = None |
| 33 | |
| 34 | def get_logs(self, count: int = 100): |
| 35 | """Fetch recent certificate transparency log entries.""" |
| 36 | url = f"{BASE_URL}/?q={self.domain}&output=json&limit={count}" |
| 37 | response = requests.get(url) |
| 38 | return response.json() |
| 39 | |
| 40 | def check_one_log(self, log: object): |
| 41 | """Fetch and inspect a single certificate log entry.""" |