Skip to content

Commit

Permalink
Merge pull request #23 from ggildong/master
Browse files Browse the repository at this point in the history
fix: add yaml file for metric
  • Loading branch information
ggildong authored Sep 2, 2024
2 parents ded9c08 + 8439a55 commit 4ebecbf
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/plugin/metrics/Prowler/Compliance/fail_check_count.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
metric_id: metric-prowler-fail-check
name: Fail check Count
metric_type: GAUGE
resource_type: inventory.CloudService:Prowler.Compliance
query_options:
fields:
value:
key: data.stats.checks.fail
operator: sum
group_by:
- key: data.status
name: Status
default: true
- key: data.severity
name: Severity
- key: data.service
name: Service
unit: Count
namespace_id: ns-prowler-compliance
version: '1.0'

0 comments on commit 4ebecbf

Please sign in to comment.