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

Create ASM sync scan CRASM 2315 #818

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from
Open

Create ASM sync scan CRASM 2315 #818

wants to merge 20 commits into from

Conversation

DJensen94
Copy link
Contributor

🗣 Description

Create scan to enumerate and find new assets and mark existing assets as current or not current.
Scan should only be able to run in the DMZ or in a local testing environment

💭 Motivation and context

This will make asset tracking more robust. And give the end user more visibility into what assets we are tracking and which have been identified

🧪 Testing

Tested locally

add service and domain links to vuln tables
Merge develop into current branch
update mdl models and VS cidr save
mark cidr org relationship to current if updating
delete unnecessary columns in cidr model
Create ASM sync scan & clean up models
Update scan to not run in in LZ
Update scan so it only runs in DMZ or locally
make threading more efficient and remove f strings and run precommit checks/linter
Update Logging to use lazy loading
remove else statement after continue
Check newly found ips against cidr blocks and only add if there is a link
Don't set root_domain as non current if they haven't been seen
Update logging levels to include .info level
Run linter
Make Thread count a environmental variable
Comment out unused update
Remove dangerous default value
@DJensen94 DJensen94 marked this pull request as ready for review March 18, 2025 19:23
Fix logging issue and environment var import
Don't set user provided roots to not current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant