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

get active assets #518

Open
nyrahul opened this issue Aug 3, 2022 · 0 comments
Open

get active assets #518

nyrahul opened this issue Aug 3, 2022 · 0 comments
Assignees

Comments

@nyrahul
Copy link
Contributor

nyrahul commented Aug 3, 2022

Gathering active asset information is important. A security team needs to know what all assets were active during a given time frame. This is also needed for compliance aspect.

Assets = Deployments, Pods, Categorized by Namespaces

Aim is to implement: karmor discover --assets
Output: The list of all the assests.

Another form: karmor discover --assets --since 1month
Output: List of assets active in past 1 month.

Another form: karmor discover --assets --from seconds --to seconds ... --from or --to could be used individually. If --from or --to is used, then --since cannot be used.
Output: List of assets active between the time frame.
Example usage:

karmor discover --assets --from `date -ud "1 June 2022" +%s` --to `date -ud "1 July 2022" +%s`
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

No branches or pull requests

3 participants