mirror of
https://github.com/floci-io/floci.git
synced 2026-12-04 10:38:00 -05:00
CloudWatch's OTel enrichment reads resource tags through ObservabilityAdmin's resource tags for telemetry feature, which has to be running before StartOTelEnrichment enables tag enrichment. Add the ObservabilityAdmin service with StartTelemetryEnrichment, StopTelemetryEnrichment and GetTelemetryEnrichmentStatus, one feature per account and Region. Starting the feature has Resource Explorer create a LOCAL index when the Region has none and a managed view that includes tags, as the CloudWatch user guide describes. GetManagedView and ListManagedViews now answer the views Floci's services create. A status read before the first start is the modeled ResourceNotFoundException, and a stop of a stopped or never-started feature changes nothing. The passed-roles table now reads ObservabilityAdmin. A vendored source, written from the CloudWatch user guide and the Observability Admin API reference, gives a dataset integration's role to CloudWatch Logs, whose trust policy it names, and gives where a telemetry pipeline's YAML configuration names its roles: its source's and its Secrets Manager extension's, each going to the service its source type's role trusts, and to CloudWatch Logs as well with a lookup processor or a conditional route. Part of #7030.
162 lines
7.8 KiB
JSON
162 lines
7.8 KiB
JSON
{
|
|
"_source": {
|
|
"pages": [
|
|
"https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_CreateDatasetIntegration.html",
|
|
"https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_UpdateDatasetIntegration.html",
|
|
"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/omni-cross-service-confused-deputy-prevention.html",
|
|
"https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_CreateTelemetryPipeline.html",
|
|
"https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_UpdateTelemetryPipeline.html",
|
|
"https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_TelemetryPipelineConfiguration.html",
|
|
"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-service-logs-from-cwl.html",
|
|
"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ingestion-custom-data-sources.html",
|
|
"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/pipeline-extensions.html",
|
|
"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/pipeline-iam-reference.html",
|
|
"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/transformation-processors.html",
|
|
"https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/pipeline-sinks.html"
|
|
],
|
|
"fetcher": "tools/aws/fetch_observabilityadmin_roles.py",
|
|
"retrieved": "2026-12-03",
|
|
"note": "Each member's description on its API reference page, copied as it stands, with the section of the confused deputy page on its role and the service that role's trust policy names; the members carrying a pipeline configuration, the format it is in, the parameters of its sections that name a role, the source types of the IAM page's use cases with the services their source roles' trust policies name, and the service a lookup processor or conditional routing also passes those roles to."
|
|
},
|
|
"members": [
|
|
{
|
|
"operation": "CreateDatasetIntegration",
|
|
"member": "RoleArn",
|
|
"description": "The Amazon Resource Name (ARN) of the IAM role that grants Amazon CloudWatch permission to access the resources needed for the dataset integration.",
|
|
"rolePage": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/omni-cross-service-confused-deputy-prevention.html",
|
|
"section": "Dataset integration execution role",
|
|
"roleText": "Dataset integration reads your CloudWatch Logs data through a role that CloudWatch Logs assumes on your behalf. Because the calling service is CloudWatch Logs rather than CloudWatch Omni, this role's trust policy uses both aws:SourceAccount and aws:SourceArn to restrict the assumption to dataset integrations in your own account.",
|
|
"trustedBy": [
|
|
"logs.amazonaws.com"
|
|
]
|
|
},
|
|
{
|
|
"operation": "UpdateDatasetIntegration",
|
|
"member": "RoleArn",
|
|
"description": "The Amazon Resource Name (ARN) of the IAM role to associate with the dataset integration.",
|
|
"rolePage": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/omni-cross-service-confused-deputy-prevention.html",
|
|
"section": "Dataset integration execution role",
|
|
"roleText": "Dataset integration reads your CloudWatch Logs data through a role that CloudWatch Logs assumes on your behalf. Because the calling service is CloudWatch Logs rather than CloudWatch Omni, this role's trust policy uses both aws:SourceAccount and aws:SourceArn to restrict the assumption to dataset integrations in your own account.",
|
|
"trustedBy": [
|
|
"logs.amazonaws.com"
|
|
]
|
|
}
|
|
],
|
|
"pipelines": [
|
|
{
|
|
"operation": "CreateTelemetryPipeline",
|
|
"member": "Configuration",
|
|
"page": "https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_CreateTelemetryPipeline.html",
|
|
"description": "The configuration that defines how the telemetry pipeline processes data, including sources, processors, and destinations. For more information about pipeline components, see the Amazon CloudWatch User Guide"
|
|
},
|
|
{
|
|
"operation": "UpdateTelemetryPipeline",
|
|
"member": "Configuration",
|
|
"page": "https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_UpdateTelemetryPipeline.html",
|
|
"description": "The new configuration for the telemetry pipeline, including updated sources, processors, and destinations."
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "TelemetryPipelineConfiguration",
|
|
"member": "Body",
|
|
"page": "https://docs.aws.amazon.com/cloudwatch/latest/observabilityadmin/API_TelemetryPipelineConfiguration.html",
|
|
"description": "The pipeline configuration body that defines the data processing rules and transformations.",
|
|
"format": "The configuration is specified in YAML format and must include a valid pipeline definition with required source and sink components."
|
|
},
|
|
"roleParameters": [
|
|
{
|
|
"page": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/aws-service-logs-from-cwl.html",
|
|
"under": "source",
|
|
"parameter": "aws.sts_role_arn",
|
|
"description": "The ARN of the IAM role to assume for CloudWatch Logs interception."
|
|
},
|
|
{
|
|
"page": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/ingestion-custom-data-sources.html",
|
|
"under": "source",
|
|
"parameter": "aws.sts_role_arn",
|
|
"description": "The ARN of the IAM role to assume for accessing S3 and SQS resources."
|
|
},
|
|
{
|
|
"page": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/pipeline-extensions.html",
|
|
"under": "extension",
|
|
"parameter": "aws.secrets.<secret-name>.sts_role_arn",
|
|
"description": "The ARN of the IAM role to assume for accessing the AWS Secrets Manager secret."
|
|
}
|
|
],
|
|
"sources": [
|
|
{
|
|
"useCase": "Third-party integrations (API Pull)",
|
|
"sourceTypes": [
|
|
"microsoft_office365",
|
|
"okta_sso",
|
|
"palo_alto_ngfw"
|
|
],
|
|
"andSoOn": true,
|
|
"section": "Third-party sources (API Pull)",
|
|
"trustedBy": [
|
|
"telemetry-pipelines.observabilityadmin.amazonaws.com"
|
|
]
|
|
},
|
|
{
|
|
"useCase": "Third-party integrations (S3 delivery)",
|
|
"sourceTypes": [
|
|
"s3"
|
|
],
|
|
"section": "Third-party sources (S3 delivery)",
|
|
"trustedBy": [
|
|
"telemetry-pipelines.observabilityadmin.amazonaws.com"
|
|
]
|
|
},
|
|
{
|
|
"useCase": "Custom data from S3",
|
|
"sourceTypes": [
|
|
"s3"
|
|
],
|
|
"section": "Custom data from S3",
|
|
"identicalTo": "Third-party sources (S3 delivery)",
|
|
"trustedBy": [
|
|
"telemetry-pipelines.observabilityadmin.amazonaws.com"
|
|
]
|
|
},
|
|
{
|
|
"useCase": "Custom and Syslog data from CloudWatch Logs",
|
|
"sourceTypes": [
|
|
"cloudwatch_logs"
|
|
],
|
|
"section": "Custom and Syslog data from CloudWatch Logs",
|
|
"trustedBy": [
|
|
"logs.amazonaws.com"
|
|
]
|
|
},
|
|
{
|
|
"useCase": "Vended AWS service logs",
|
|
"sourceTypes": [
|
|
"cloudwatch_logs"
|
|
],
|
|
"section": "Vended AWS service logs",
|
|
"identicalTo": "Custom and Syslog data from CloudWatch Logs",
|
|
"trustedBy": [
|
|
"logs.amazonaws.com"
|
|
]
|
|
},
|
|
{
|
|
"useCase": "CloudWatch Metrics (OTel)",
|
|
"sourceTypes": [
|
|
"cloudwatch_metrics"
|
|
]
|
|
}
|
|
],
|
|
"also": {
|
|
"page": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/pipeline-iam-reference.html",
|
|
"text": "For third-party pipelines that use a lookup processor or conditional routing, also allow logs.amazonaws.com in iam:PassedToService .",
|
|
"passedToService": [
|
|
"logs.amazonaws.com"
|
|
],
|
|
"processor": "lookup",
|
|
"processorPage": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/transformation-processors.html",
|
|
"routeKey": "when",
|
|
"routePage": "https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/pipeline-sinks.html",
|
|
"routeText": "Define a when expression on each conditional route"
|
|
}
|
|
}
|