Skip to content

metrics: update rego and metric yaml#217

Open
franzling wants to merge 5 commits into
Cybersecurity-Certification-Hub:amoe/incident-policy-check-q1from
franzling:patch-1
Open

metrics: update rego and metric yaml#217
franzling wants to merge 5 commits into
Cybersecurity-Certification-Hub:amoe/incident-policy-check-q1from
franzling:patch-1

Conversation

@franzling

Copy link
Copy Markdown
Contributor

No description provided.

@anatheka anatheka changed the title update rego and metric yaml metrics: update rego and metric yaml Jan 26, 2026
@@ -1 +1,23 @@
# TODO No newline at end of file
package cch.metrics.incident_management_policy01

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adapt name correctly.

}

compliant if {
compare(data.operator, data.target_value, document:SecurityIncident.Team)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
compare(data.operator, data.target_value, document:SecurityIncident.Team)
compare(data.operator, data.target_value, documen.securityIncident.team)

"Incident Management",
"CERT",
]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a comment.

# ====== Metadata ======
id: IncidentManagementOwnership
description: TODO (Is this a security feature or just add it as resource?)
description: This rule assesses whether a [Resource] that has the property [SecurityIncident] set to Java, also has the property [p1:Team] correctly configured.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change Resource to PolicyDocument?

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.

2 participants