Skip to content

Commit

Permalink
fix: modify yaml file for metric
Browse files Browse the repository at this point in the history
Signed-off-by: jcj <[email protected]>
  • Loading branch information
ggildong committed Sep 2, 2024
1 parent 4ebecbf commit 9a28afa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
metric_id: metric-prowler-compliance
name: Compliance Count
metric_type: GAUGE
resource_type: inventory.CloudService:Prowler.Compliance
resource_type: inventory.CloudService
query_options:
fields:
compliance_count:
Expand Down
3 changes: 1 addition & 2 deletions src/plugin/metrics/Prowler/Compliance/fail_check_count.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
metric_id: metric-prowler-fail-check
name: Fail check Count
metric_type: GAUGE
resource_type: inventory.CloudService:Prowler.Compliance
resource_type: inventory.CloudService
query_options:
fields:
value:
Expand All @@ -11,7 +11,6 @@ query_options:
group_by:
- key: data.status
name: Status
default: true
- key: data.severity
name: Severity
- key: data.service
Expand Down
4 changes: 2 additions & 2 deletions src/plugin/metrics/Prowler/Compliance/namespace.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
namespace_id: ns-prowler-compliance
name: Prowler/Compliance
name: Compliance
category: ASSET
resource_type: inventory.CloudService:Prowler.Compliance
resource_type: inventory.CloudService
group: Prowler
icon: 'https://spaceone-custom-assets.s3.ap-northeast-2.amazonaws.com/console-assets/icons/prowler.svg'
version: '1.0'

0 comments on commit 9a28afa

Please sign in to comment.