Skip to content

Commit 79d7385

Browse files
author
awstools
committed
feat(client-wafv2): AWS WAF now supports CLOUDWATCH_TELEMETRY_RULE_MANAGED as a LogScope option, enabling automated logging configuration through Amazon CloudWatch Logs for telemetry data collection and analysis.
1 parent 265e5da commit 79d7385

File tree

6 files changed

+30
-11
lines changed

6 files changed

+30
-11
lines changed

clients/client-wafv2/src/commands/DeleteLoggingConfigurationCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface DeleteLoggingConfigurationCommandOutput extends DeleteLoggingCo
3939
* const input = { // DeleteLoggingConfigurationRequest
4040
* ResourceArn: "STRING_VALUE", // required
4141
* LogType: "WAF_LOGS",
42-
* LogScope: "CUSTOMER" || "SECURITY_LAKE",
42+
* LogScope: "CUSTOMER" || "SECURITY_LAKE" || "CLOUDWATCH_TELEMETRY_RULE_MANAGED",
4343
* };
4444
* const command = new DeleteLoggingConfigurationCommand(input);
4545
* const response = await client.send(command);

clients/client-wafv2/src/commands/GetLoggingConfigurationCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
3939
* const input = { // GetLoggingConfigurationRequest
4040
* ResourceArn: "STRING_VALUE", // required
4141
* LogType: "WAF_LOGS",
42-
* LogScope: "CUSTOMER" || "SECURITY_LAKE",
42+
* LogScope: "CUSTOMER" || "SECURITY_LAKE" || "CLOUDWATCH_TELEMETRY_RULE_MANAGED",
4343
* };
4444
* const command = new GetLoggingConfigurationCommand(input);
4545
* const response = await client.send(command);
@@ -136,7 +136,7 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
136136
* // DefaultBehavior: "KEEP" || "DROP", // required
137137
* // },
138138
* // LogType: "WAF_LOGS",
139-
* // LogScope: "CUSTOMER" || "SECURITY_LAKE",
139+
* // LogScope: "CUSTOMER" || "SECURITY_LAKE" || "CLOUDWATCH_TELEMETRY_RULE_MANAGED",
140140
* // },
141141
* // };
142142
*

clients/client-wafv2/src/commands/ListLoggingConfigurationsCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
4040
* Scope: "CLOUDFRONT" || "REGIONAL", // required
4141
* NextMarker: "STRING_VALUE",
4242
* Limit: Number("int"),
43-
* LogScope: "CUSTOMER" || "SECURITY_LAKE",
43+
* LogScope: "CUSTOMER" || "SECURITY_LAKE" || "CLOUDWATCH_TELEMETRY_RULE_MANAGED",
4444
* };
4545
* const command = new ListLoggingConfigurationsCommand(input);
4646
* const response = await client.send(command);
@@ -138,7 +138,7 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
138138
* // DefaultBehavior: "KEEP" || "DROP", // required
139139
* // },
140140
* // LogType: "WAF_LOGS",
141-
* // LogScope: "CUSTOMER" || "SECURITY_LAKE",
141+
* // LogScope: "CUSTOMER" || "SECURITY_LAKE" || "CLOUDWATCH_TELEMETRY_RULE_MANAGED",
142142
* // },
143143
* // ],
144144
* // NextMarker: "STRING_VALUE",

clients/client-wafv2/src/commands/PutLoggingConfigurationCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
172172
* DefaultBehavior: "KEEP" || "DROP", // required
173173
* },
174174
* LogType: "WAF_LOGS",
175-
* LogScope: "CUSTOMER" || "SECURITY_LAKE",
175+
* LogScope: "CUSTOMER" || "SECURITY_LAKE" || "CLOUDWATCH_TELEMETRY_RULE_MANAGED",
176176
* },
177177
* };
178178
* const command = new PutLoggingConfigurationCommand(input);
@@ -270,7 +270,7 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
270270
* // DefaultBehavior: "KEEP" || "DROP", // required
271271
* // },
272272
* // LogType: "WAF_LOGS",
273-
* // LogScope: "CUSTOMER" || "SECURITY_LAKE",
273+
* // LogScope: "CUSTOMER" || "SECURITY_LAKE" || "CLOUDWATCH_TELEMETRY_RULE_MANAGED",
274274
* // },
275275
* // };
276276
*

clients/client-wafv2/src/models/models_0.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4995,6 +4995,7 @@ export class WAFAssociatedItemException extends __BaseException {
49954995
* @enum
49964996
*/
49974997
export const LogScope = {
4998+
CLOUDWATCH_TELEMETRY_RULE_MANAGED: "CLOUDWATCH_TELEMETRY_RULE_MANAGED",
49984999
CUSTOMER: "CUSTOMER",
49995000
SECURITY_LAKE: "SECURITY_LAKE",
50005001
} as const;
@@ -5040,6 +5041,9 @@ export interface DeleteLoggingConfigurationRequest {
50405041
* <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see
50415042
* <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Collecting data from Amazon Web Services services</a>
50425043
* in the <i>Amazon Security Lake user guide</i>. </p>
5044+
* <p>The log scope <code>CLOUDWATCH_TELEMETRY_RULE_MANAGED</code> indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see
5045+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html">What is Amazon CloudWatch Logs ?</a>
5046+
* in the <i>Amazon CloudWatch Logs user guide</i>. </p>
50435047
* <p>Default: <code>CUSTOMER</code>
50445048
* </p>
50455049
* @public
@@ -5779,6 +5783,9 @@ export interface GetLoggingConfigurationRequest {
57795783
* <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see
57805784
* <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Collecting data from Amazon Web Services services</a>
57815785
* in the <i>Amazon Security Lake user guide</i>. </p>
5786+
* <p>The log scope <code>CLOUDWATCH_TELEMETRY_RULE_MANAGED</code> indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see
5787+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html">What is Amazon CloudWatch Logs ?</a>
5788+
* in the <i>Amazon CloudWatch Logs user guide</i>. </p>
57825789
* <p>Default: <code>CUSTOMER</code>
57835790
* </p>
57845791
* @public
@@ -6000,6 +6007,9 @@ export interface LoggingConfiguration {
60006007
* <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see
60016008
* <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Collecting data from Amazon Web Services services</a>
60026009
* in the <i>Amazon Security Lake user guide</i>. </p>
6010+
* <p>The log scope <code>CLOUDWATCH_TELEMETRY_RULE_MANAGED</code> indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see
6011+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html">What is Amazon CloudWatch Logs ?</a>
6012+
* in the <i>Amazon CloudWatch Logs user guide</i>. </p>
60036013
* <p>Default: <code>CUSTOMER</code>
60046014
* </p>
60056015
* @public
@@ -7296,6 +7306,9 @@ export interface ListLoggingConfigurationsRequest {
72967306
* <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see
72977307
* <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html">Collecting data from Amazon Web Services services</a>
72987308
* in the <i>Amazon Security Lake user guide</i>. </p>
7309+
* <p>The log scope <code>CLOUDWATCH_TELEMETRY_RULE_MANAGED</code> indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see
7310+
* <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html">What is Amazon CloudWatch Logs ?</a>
7311+
* in the <i>Amazon CloudWatch Logs user guide</i>. </p>
72997312
* <p>Default: <code>CUSTOMER</code>
73007313
* </p>
73017314
* @public

codegen/sdk-codegen/aws-models/wafv2.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4989,7 +4989,7 @@
49894989
"LogScope": {
49904990
"target": "com.amazonaws.wafv2#LogScope",
49914991
"traits": {
4992-
"smithy.api#documentation": "<p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage. </p>\n <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n <a href=\"https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html\">Collecting data from Amazon Web Services services</a>\n in the <i>Amazon Security Lake user guide</i>. </p>\n <p>Default: <code>CUSTOMER</code>\n </p>"
4992+
"smithy.api#documentation": "<p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage. </p>\n <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n <a href=\"https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html\">Collecting data from Amazon Web Services services</a>\n in the <i>Amazon Security Lake user guide</i>. </p>\n <p>The log scope <code>CLOUDWATCH_TELEMETRY_RULE_MANAGED</code> indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see \n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html\">What is Amazon CloudWatch Logs ?</a>\n in the <i>Amazon CloudWatch Logs user guide</i>. </p>\n <p>Default: <code>CUSTOMER</code>\n </p>"
49934993
}
49944994
}
49954995
},
@@ -6386,7 +6386,7 @@
63866386
"LogScope": {
63876387
"target": "com.amazonaws.wafv2#LogScope",
63886388
"traits": {
6389-
"smithy.api#documentation": "<p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage. </p>\n <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n <a href=\"https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html\">Collecting data from Amazon Web Services services</a>\n in the <i>Amazon Security Lake user guide</i>. </p>\n <p>Default: <code>CUSTOMER</code>\n </p>"
6389+
"smithy.api#documentation": "<p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage. </p>\n <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n <a href=\"https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html\">Collecting data from Amazon Web Services services</a>\n in the <i>Amazon Security Lake user guide</i>. </p>\n <p>The log scope <code>CLOUDWATCH_TELEMETRY_RULE_MANAGED</code> indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see \n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html\">What is Amazon CloudWatch Logs ?</a>\n in the <i>Amazon CloudWatch Logs user guide</i>. </p>\n <p>Default: <code>CUSTOMER</code>\n </p>"
63906390
}
63916391
}
63926392
},
@@ -8064,7 +8064,7 @@
80648064
"LogScope": {
80658065
"target": "com.amazonaws.wafv2#LogScope",
80668066
"traits": {
8067-
"smithy.api#documentation": "<p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage. </p>\n <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n <a href=\"https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html\">Collecting data from Amazon Web Services services</a>\n in the <i>Amazon Security Lake user guide</i>. </p>\n <p>Default: <code>CUSTOMER</code>\n </p>"
8067+
"smithy.api#documentation": "<p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage. </p>\n <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n <a href=\"https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html\">Collecting data from Amazon Web Services services</a>\n in the <i>Amazon Security Lake user guide</i>. </p>\n <p>The log scope <code>CLOUDWATCH_TELEMETRY_RULE_MANAGED</code> indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see \n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html\">What is Amazon CloudWatch Logs ?</a>\n in the <i>Amazon CloudWatch Logs user guide</i>. </p>\n <p>Default: <code>CUSTOMER</code>\n </p>"
80688068
}
80698069
}
80708070
},
@@ -8643,6 +8643,12 @@
86438643
"traits": {
86448644
"smithy.api#enumValue": "SECURITY_LAKE"
86458645
}
8646+
},
8647+
"CLOUDWATCH_TELEMETRY_RULE_MANAGED": {
8648+
"target": "smithy.api#Unit",
8649+
"traits": {
8650+
"smithy.api#enumValue": "CLOUDWATCH_TELEMETRY_RULE_MANAGED"
8651+
}
86468652
}
86478653
}
86488654
},
@@ -8702,7 +8708,7 @@
87028708
"LogScope": {
87038709
"target": "com.amazonaws.wafv2#LogScope",
87048710
"traits": {
8705-
"smithy.api#documentation": "<p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage. </p>\n <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n <a href=\"https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html\">Collecting data from Amazon Web Services services</a>\n in the <i>Amazon Security Lake user guide</i>. </p>\n <p>Default: <code>CUSTOMER</code>\n </p>"
8711+
"smithy.api#documentation": "<p>The owner of the logging configuration, which must be set to <code>CUSTOMER</code> for the configurations that you manage. </p>\n <p>The log scope <code>SECURITY_LAKE</code> indicates a configuration that is managed through Amazon Security Lake. You can use Security Lake to collect log and event data from various sources for normalization, analysis, and management. For information, see \n <a href=\"https://docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html\">Collecting data from Amazon Web Services services</a>\n in the <i>Amazon Security Lake user guide</i>. </p>\n <p>The log scope <code>CLOUDWATCH_TELEMETRY_RULE_MANAGED</code> indicates a configuration that is managed through Amazon CloudWatch Logs for telemetry data collection and analysis. For information, see \n <a href=\"https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/WhatIsCloudWatchLogs.html\">What is Amazon CloudWatch Logs ?</a>\n in the <i>Amazon CloudWatch Logs user guide</i>. </p>\n <p>Default: <code>CUSTOMER</code>\n </p>"
87068712
}
87078713
}
87088714
},

0 commit comments

Comments
 (0)