diff --git a/entity-types/infra-awsprivatelinkservice/definition.yml b/entity-types/infra-awsprivatelinkservice/definition.yml new file mode 100644 index 000000000..3d17bdc0b --- /dev/null +++ b/entity-types/infra-awsprivatelinkservice/definition.yml @@ -0,0 +1,7 @@ +domain: INFRA +type: AWSPRIVATELINKSERVICE +configuration: + entityExpirationTime: DAILY + alertable: true +goldenTags: +- aws.accountId diff --git a/entity-types/infra-awsprivatelinkservice/golden_metrics.yml b/entity-types/infra-awsprivatelinkservice/golden_metrics.yml new file mode 100644 index 000000000..d9f4d43dc --- /dev/null +++ b/entity-types/infra-awsprivatelinkservice/golden_metrics.yml @@ -0,0 +1,27 @@ +bytesProcessed: + title: Bytes Processed + unit: BYTES + queries: + aws: + select: latest(aws.privatelinkservices.BytesProcessed) + from: Metric + eventId: entity.guid + eventName: entity.name +newConnections: + title: New Connections + unit: COUNT + queries: + aws: + select: latest(aws.privatelinkservices.NewConnections) + from: Metric + eventId: entity.guid + eventName: entity.name +activeConnections: + title: Active Connections + unit: COUNT + queries: + aws: + select: latest(aws.privatelinkservices.ActiveConnections) + from: Metric + eventId: entity.guid + eventName: entity.name \ No newline at end of file diff --git a/entity-types/infra-awsprivatelinkservice/summary_metrics.yml b/entity-types/infra-awsprivatelinkservice/summary_metrics.yml new file mode 100644 index 000000000..8b3309b91 --- /dev/null +++ b/entity-types/infra-awsprivatelinkservice/summary_metrics.yml @@ -0,0 +1,22 @@ +providerAccountName: + title: AWS account + unit: STRING + tag: + key: providerAccountName +region: + title: Region + unit: STRING + tag: + key: aws.awsRegion +bytesProcessed: + goldenMetric: bytesProcessed + title: Bytes Processed + unit: BYTES +newConnections: + goldenMetric: newConnections + title: New Connections + unit: COUNT +activeConnections: + goldenMetric: activeConnections + title: Active Connections + unit: COUNT