SourceLogsConfiguration
¶
Source code in docs_src/capo_observabilityadmin/types/source_logs_configuration.py
centralize_with_data_protection
instance-attribute
¶
centralize_with_data_protection: NotRequired[CentralizeWithDataProtection]
Specifies whether this centralization rule centralizes log events with data protection applied. If you don't specify this setting, or you set it to DISABLED, the rule centralizes the original log events, including any sensitive data that a data protection policy on the source log group masks.
When you set this to ENABLED, the rule centralizes the same masked data that anyone in the source account without the logs:Unmask permission sees. The rule doesn't copy the original values to the destination, so you can't unmask them in the destination account. The rule centralizes log events from source log groups that don't have a data protection policy without changes.
The setting applies only to log events that the rule centralizes after you enable it. It doesn't change log events that the rule already centralized.
data_source_selection_criteria
instance-attribute
¶
data_source_selection_criteria: NotRequired[DataSourceFilterString]
The selection criteria that specifies which data sources to centralize. The selection criteria uses the same filter expression format as LogGroupSelectionCriteria, but operates on DataSourceName and DataSourceType operands. When both LogGroupSelectionCriteria and DataSourceSelectionCriteria are specified, a log event must match both criteria to be centralized.
encrypted_log_group_strategy
instance-attribute
¶
encrypted_log_group_strategy: EncryptedLogGroupStrategy
A strategy determining whether to centralize source log groups that are encrypted with customer managed KMS keys (CMK). ALLOW will consider CMK encrypted source log groups for centralization while SKIP will skip CMK encrypted source log groups from centralization.
log_group_selection_criteria
instance-attribute
¶
log_group_selection_criteria: LogsFilterString
The selection criteria that specifies which source log groups to centralize. The selection criteria uses the same format as OAM link filters.