Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Censys Search API #64

Open
1 task
king-alexander opened this issue Jun 23, 2023 · 3 comments
Open
1 task

Censys Search API #64

king-alexander opened this issue Jun 23, 2023 · 3 comments
Assignees
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use python Pull requests that update Python code

Comments

@king-alexander
Copy link
Collaborator

king-alexander commented Jun 23, 2023

💡 Summary

Explore the viability of using the Censys Search API for collecting certificate data.

Motivation and context

Emergency Directive 19-01 requires CISA to monitor Certificate Transparency logs and report new certificates issued to agency domains.

Implementation notes

There are two tasks involved:

  1. Fetch all certificate fingerprints associated with an agency domain.
  2. Fetch the certificate data from a certificate fingerprint.

Acceptance criteria

  • Using the API, we can discover new certificates issued to agency domains.
@king-alexander king-alexander converted this from a draft issue Jun 23, 2023
@king-alexander king-alexander self-assigned this Jun 23, 2023
@king-alexander king-alexander moved this from BACKLOG to READY in 👨‍✈️ Admiral Jun 23, 2023
@king-alexander king-alexander added the need info This issue or pull request requires further information label Jul 28, 2023
@king-alexander king-alexander moved this from READY to WIP in 👨‍✈️ Admiral Jul 28, 2023
@king-alexander king-alexander moved this from WIP to READY in 👨‍✈️ Admiral Jul 28, 2023
@king-alexander king-alexander moved this from READY to WIP in 👨‍✈️ Admiral Aug 14, 2023
@king-alexander king-alexander added improvement This issue or pull request will add or improve functionality, maintainability, or ease of use python Pull requests that update Python code labels Aug 22, 2023
@king-alexander
Copy link
Collaborator Author

On second thought, the Celery tasks were designed to make web requests, so I believe it will be easier to use the web API. In which case I will need to handle pagination myself.

@king-alexander king-alexander removed the need info This issue or pull request requires further information label Aug 31, 2023
@king-alexander
Copy link
Collaborator Author

I will also need to implement a new task to fetch certificate data from a fingerprint.

@king-alexander
Copy link
Collaborator Author

The rate limit for a community subscription is 24 requests per minute.

@king-alexander king-alexander changed the title Censys CT Search API Censys Search API Sep 7, 2023
@king-alexander king-alexander moved this from WIP to READY in 👨‍✈️ Admiral Oct 13, 2023
@king-alexander king-alexander moved this from READY to WIP in 👨‍✈️ Admiral Oct 16, 2023
@king-alexander king-alexander moved this from WIP to READY in 👨‍✈️ Admiral Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement This issue or pull request will add or improve functionality, maintainability, or ease of use python Pull requests that update Python code
Projects
None yet
Development

No branches or pull requests

1 participant