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

New Module: Clearbit (Domain --> Company Name) #1936

Open
TheTechromancer opened this issue Nov 8, 2024 · 0 comments
Open

New Module: Clearbit (Domain --> Company Name) #1936

TheTechromancer opened this issue Nov 8, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@TheTechromancer
Copy link
Collaborator

We should have a module that ingests all the domains in the scan and categorizes them into business units, similar to how Xpanse does with vulnerabilities:

Here is a short example of what this might look like:

class Clearbit(BaseModule):
    watched_events = ["DNS_NAME"]
    produced_events = ["BUSINESS_UNIT"]
    per_domain_only = True
    # api key options

    async def setup(self):
        # set up API key
    
    async def handle_event(self, event):
        _, domain = self.helpers.split_domain(event.data)
        # get company name from the clearbit API and keep a running list of domains per company name

    async def report(self):
        # at the end of the scan, emit all the business units with their domains
@TheTechromancer TheTechromancer added the enhancement New feature or request label Nov 8, 2024
@TheTechromancer TheTechromancer changed the title New Module: Domain --> Business Unit New Module: Clearbit (Domain --> Company Name) Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants