Skip to content

[injector] feat(shodan): added feat auto-create-assets (#156)#183

Merged
ncarenton merged 5 commits intomainfrom
feat/156-shodan-added-the-auto-create-assets
Mar 4, 2026
Merged

[injector] feat(shodan): added feat auto-create-assets (#156)#183
ncarenton merged 5 commits intomainfrom
feat/156-shodan-added-the-auto-create-assets

Conversation

@Megafredo
Copy link
Member

Proposed changes

  • Added the auto_create_assets functionality
    • Implementation of the structured output of the asset type
  • Fixed a mapping issue when creating tables in the output message
    • Refactoring of the output message generator, removal of unnecessary modes

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality
  • For bug fix -> I implemented a test that covers the bug

Further comments

@Megafredo Megafredo self-assigned this Feb 27, 2026
@Megafredo Megafredo linked an issue Feb 27, 2026 that may be closed by this pull request
5 tasks
@Megafredo Megafredo added filigran team use to identify PR from the Filigran team feature use for describing a new feature to develop labels Feb 27, 2026
@Megafredo Megafredo changed the title [injector] feat(shodan): added feat auto-create-assets [injector] feat(shodan): added feat auto-create-assets (#156) Feb 27, 2026
Copy link
Member

@mariot mariot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some few comments about dicts. Everything else is perfect!

for item in results:
result = item.get("result", {})

raw_api_url = item.get("url")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
raw_api_url = item.get("url")
raw_api_url = item.get("url", "")

@savacano28
Copy link
Contributor

savacano28 commented Feb 27, 2026

Tests Shodan-OAEV:

  • Domain Discovery: manual, auto creation yes/no: OK
  • CVE enumeration: OK
  • Cloud Provider disvoery domain: assets, auto creaton yes/no: OK
  • Critical Ports: OK
  • Custom Query:
  • Ip enumeration: OK

@ncarenton ncarenton merged commit 4073e87 into main Mar 4, 2026
15 checks passed
@ncarenton ncarenton deleted the feat/156-shodan-added-the-auto-create-assets branch March 4, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature use for describing a new feature to develop filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Shodan] Added the Auto-create assets feature

4 participants