Skip to content

Commit

Permalink
Separate asset discovery from scanning
Browse files Browse the repository at this point in the history
This commit removes the concept of scopes and instead replaces it with
periodic discovery of assets. These assets will be created in the
system and a ScanConfig can be configured with an ODATA $filter
expression to choose the assets to scan.

This increases user visibility into the assets available to scan by
VMClarity, it also gives the system an opportunity to estimate how many
items a ScanConfig might scan based on a particular query.

It also opens the door for additional features such as the ability to
scan a specific asset which has never been scanned before.

Assets are tracked with lastSeen timestamp which indicates when it was
last seen by discovery. When they are not found in a discovery round
they are marked as terminated. Terminated assets will not be included in
scans even if they match the $filter configured by the user for the
scan.
  • Loading branch information
Tehsmash committed Jul 3, 2023
1 parent e6c069f commit 447aa43
Show file tree
Hide file tree
Showing 29 changed files with 337 additions and 2,280 deletions.
309 changes: 0 additions & 309 deletions api/client/client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 447aa43

Please sign in to comment.