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

Writing new rules and logging data #446

Open
lfc314 opened this issue Jun 18, 2020 · 1 comment
Open

Writing new rules and logging data #446

lfc314 opened this issue Jun 18, 2020 · 1 comment
Assignees

Comments

@lfc314
Copy link

lfc314 commented Jun 18, 2020

❔ Question

When writing a new rule (for example EBS), what's the best way to log and check data from the specific services or volumes

🔦 Context

When checking EBS volume data, how would you be able to check if encryption is true/false?

💻 Code Sample

Example: In your rule UnderutilizedAmazonEBSVolumesRule, the EBS volume data is assigned as infoFromTa.

Do you have any documentation on how this data looks? Thank you.

image

@santhoshigorle
Copy link
Collaborator

@lfc314 in your volume data you will have field encrypted. using that field you will able to do the validation
"encrypted": "false"

@varadh10 varadh10 self-assigned this Jan 20, 2024
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