-
Notifications
You must be signed in to change notification settings - Fork 392
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
[datadog_cloud_configuration_rule] Implemented resource to manage cloud_configuration rules #1677
Conversation
385408d
to
f81020b
Compare
f81020b
to
0c3a4a6
Compare
770cac2
to
8ca0cbf
Compare
8ca0cbf
to
4f08fb3
Compare
4bfc195
to
3d8dbf5
Compare
3d8dbf5
to
256b83c
Compare
Optional: true, | ||
Description: "Related resource types to be checked by the rule. Defaults to empty list.", | ||
MinItems: 0, | ||
MaxItems: 9, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we decided to go with max 9 in the end? I thought it was 5 last time I followed the conversation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code in the backend limits to 10 resource types (main resource type + related resource types): https://github.com/DataDog/logs-backend/blob/prod/domains/cloud-security-platform/apps/security-monitoring-api/src/main/java/com/dd/logs/api/rule_engine/validators/compliance/CloudConfigurationRuleValidator.java#L209
Co-authored-by: Jonathan Machado <jonathan.machado@outlook.com>
Implemented new resource
datadog_cloud_configuration_rule
to manage security monitoring rules of typecloud_configuration
.Jira card: https://datadoghq.atlassian.net/browse/SEC-6093