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

sync: master to stage #266

Merged
merged 4 commits into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/workflows/automerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,3 @@ jobs:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_METHOD: merge
MERGE_FILTER_AUTHOR: github-actions[bot]
MERGE_FORKS: false
MERGE_REQUIRED_APPROVALS: 1
UPDATE_METHOD: rebase
13 changes: 1 addition & 12 deletions resources/prometheus/prometheus-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -780,18 +780,7 @@ for the cluster autoscaler. Limits can be adjusted by modifying the cluster auto
sop_url: "https://gitlab.cee.redhat.com/stackrox/acs-cloud-service/runbooks/-/blob/master/sops/dp-043-selinux-violation.md"
- alert: ClusterAuditNetworkPolicyViolations
expr: |
network_policy_denials_sample_count > 0
for: 10m
labels:
severity: info
annotations:
summary: "Network Policy Violations occuring on cluster."
description: |
A cluster node logged Network Policy ACL denial(s) for 10 minutes.
sop_url: "https://gitlab.cee.redhat.com/stackrox/acs-cloud-service/runbooks/-/blob/master/sops/dp-044-network-policy-violation.md"
- alert: ClusterAuditNetworkPolicyViolations
expr: |
network_policy_denials_sample_count >= 15
network_policy_denials_sample_count >= 25
for: 1m
labels:
severity: info
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tests:
- interval: 1m
input_series:
- series: network_policy_denials_sample_count{namespace="rhacs-cloudwatch"}
values: "15x1"
values: "25x1"
alert_rule_test:
- eval_time: 70s
alertname: ClusterAuditNetworkPolicyViolations
Expand All @@ -19,25 +19,7 @@ tests:
exp_annotations:
summary: "Network Policy Violations occuring on cluster."
description: |
A cluster node logged at least 15 Network Policy ACL denial(s) per minute.
sop_url: "https://gitlab.cee.redhat.com/stackrox/acs-cloud-service/runbooks/-/blob/master/sops/dp-044-network-policy-violation.md"

- interval: 1m
input_series:
- series: network_policy_denials_sample_count{namespace="rhacs-cloudwatch"}
values: "1x10"
alert_rule_test:
- eval_time: 610s
alertname: ClusterAuditNetworkPolicyViolations
exp_alerts:
- exp_labels:
alertname: ClusterAuditNetworkPolicyViolations
namespace: rhacs-cloudwatch
severity: info
exp_annotations:
summary: "Network Policy Violations occuring on cluster."
description: |
A cluster node logged Network Policy ACL denial(s) for 10 minutes.
A cluster node logged at least 25 Network Policy ACL denial(s) per minute.
sop_url: "https://gitlab.cee.redhat.com/stackrox/acs-cloud-service/runbooks/-/blob/master/sops/dp-044-network-policy-violation.md"

- interval: 1m
Expand All @@ -52,7 +34,7 @@ tests:
- interval: 1m
input_series:
- series: network_policy_denials_sample_count{namespace="rhacs-cloudwatch"}
values: "14x1"
values: "24x1"
alert_rule_test:
- eval_time: 70s
alertname: ClusterAuditNetworkPolicyViolations
Expand Down
Loading