diff --git a/src/plugin/metrics/Prowler/Compliance/compliance_count.yaml b/src/plugin/metrics/Prowler/Compliance/compliance_count.yaml index d3e342e..abb2aba 100644 --- a/src/plugin/metrics/Prowler/Compliance/compliance_count.yaml +++ b/src/plugin/metrics/Prowler/Compliance/compliance_count.yaml @@ -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: diff --git a/src/plugin/metrics/Prowler/Compliance/fail_check_count.yaml b/src/plugin/metrics/Prowler/Compliance/fail_check_count.yaml index 18e072d..4cbf5ff 100644 --- a/src/plugin/metrics/Prowler/Compliance/fail_check_count.yaml +++ b/src/plugin/metrics/Prowler/Compliance/fail_check_count.yaml @@ -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: @@ -11,7 +11,6 @@ query_options: group_by: - key: data.status name: Status - default: true - key: data.severity name: Severity - key: data.service diff --git a/src/plugin/metrics/Prowler/Compliance/namespace.yaml b/src/plugin/metrics/Prowler/Compliance/namespace.yaml index d014905..87b537b 100644 --- a/src/plugin/metrics/Prowler/Compliance/namespace.yaml +++ b/src/plugin/metrics/Prowler/Compliance/namespace.yaml @@ -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' \ No newline at end of file