Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update string filters in the criteria block of aws_securityhub_automation_rule to allow different Max Item sizes #39616

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
249 commits
Select commit Hold shift + click to select a range
c5f3447
Update stringFilterSchemaFramework to use maxSize parameter and set d…
Surajpedd Oct 6, 2024
21e523c
Add changelog
Surajpedd Oct 7, 2024
abe4367
Merge branch 'main' into HEAD
ewbankkit Oct 8, 2024
2da6ddd
Tweak CHANGELOG entry.
ewbankkit Oct 8, 2024
57f9822
r/aws_securityhub_automation_rule: Tweak 'stringFilterSchemaFramework'.
ewbankkit Oct 8, 2024
1e0a3ae
r/aws_securityhub_automation_rule: Tweak 'dateFilterSchemaFramework'.
ewbankkit Oct 8, 2024
38340be
r/aws_securityhub_automation_rule: Tweak 'numberFilterSchemaFramework'.
ewbankkit Oct 8, 2024
e090701
r/aws_securityhub_automation_rule: Tweak 'mapFilterSchemaFramework'.
ewbankkit Oct 8, 2024
ca7efc1
go get github.com/aws/aws-sdk-go-v2.
ewbankkit Oct 8, 2024
df1bca6
go get github.com/aws/aws-sdk-go-v2/config.
ewbankkit Oct 8, 2024
67f8895
go get github.com/aws/aws-sdk-go-v2/feature/s3/manager.
ewbankkit Oct 8, 2024
908d426
go get github.com/aws/aws-sdk-go-v2/service/accessanalyzer.
ewbankkit Oct 8, 2024
3e0efb7
go get github.com/aws/aws-sdk-go-v2/service/account.
ewbankkit Oct 8, 2024
d91d9a8
go get github.com/aws/aws-sdk-go-v2/service/acm.
ewbankkit Oct 8, 2024
c7b0ea7
go get github.com/aws/aws-sdk-go-v2/service/acmpca.
ewbankkit Oct 8, 2024
48a6ce0
go get github.com/aws/aws-sdk-go-v2/service/amp.
ewbankkit Oct 8, 2024
3a085b9
go get github.com/aws/aws-sdk-go-v2/service/amplify.
ewbankkit Oct 8, 2024
d1d8b00
go get github.com/aws/aws-sdk-go-v2/service/apigateway.
ewbankkit Oct 8, 2024
2280c1c
go get github.com/aws/aws-sdk-go-v2/service/apigatewayv2.
ewbankkit Oct 8, 2024
28035cf
go get github.com/aws/aws-sdk-go-v2/service/appconfig.
ewbankkit Oct 8, 2024
a5399d0
go get github.com/aws/aws-sdk-go-v2/service/appfabric.
ewbankkit Oct 8, 2024
d22a8cb
go get github.com/aws/aws-sdk-go-v2/service/appflow.
ewbankkit Oct 8, 2024
a3aa265
go get github.com/aws/aws-sdk-go-v2/service/appintegrations.
ewbankkit Oct 8, 2024
624bdad
go get github.com/aws/aws-sdk-go-v2/service/applicationautoscaling.
ewbankkit Oct 8, 2024
070d070
go get github.com/aws/aws-sdk-go-v2/service/applicationinsights.
ewbankkit Oct 8, 2024
04bfe19
go get github.com/aws/aws-sdk-go-v2/service/applicationsignals.
ewbankkit Oct 8, 2024
b66c2a4
go get github.com/aws/aws-sdk-go-v2/service/appmesh.
ewbankkit Oct 8, 2024
05e7f47
go get github.com/aws/aws-sdk-go-v2/service/apprunner.
ewbankkit Oct 8, 2024
901ec61
go get github.com/aws/aws-sdk-go-v2/service/appstream.
ewbankkit Oct 8, 2024
962e180
go get github.com/aws/aws-sdk-go-v2/service/appsync.
ewbankkit Oct 8, 2024
616e169
go get github.com/aws/aws-sdk-go-v2/service/athena.
ewbankkit Oct 8, 2024
1b1faf9
go get github.com/aws/aws-sdk-go-v2/service/auditmanager.
ewbankkit Oct 8, 2024
5c61d53
go get github.com/aws/aws-sdk-go-v2/service/autoscaling.
ewbankkit Oct 8, 2024
8a9ca72
go get github.com/aws/aws-sdk-go-v2/service/autoscalingplans.
ewbankkit Oct 8, 2024
3ccdc8a
go get github.com/aws/aws-sdk-go-v2/service/backup.
ewbankkit Oct 8, 2024
9dfd3f1
go get github.com/aws/aws-sdk-go-v2/service/batch.
ewbankkit Oct 8, 2024
d9eef33
go get github.com/aws/aws-sdk-go-v2/service/bcmdataexports.
ewbankkit Oct 8, 2024
19b6c39
go get github.com/aws/aws-sdk-go-v2/service/bedrock.
ewbankkit Oct 8, 2024
7d6f93c
go get github.com/aws/aws-sdk-go-v2/service/bedrockagent.
ewbankkit Oct 8, 2024
7e09b54
go get github.com/aws/aws-sdk-go-v2/service/budgets.
ewbankkit Oct 8, 2024
f617a72
go get github.com/aws/aws-sdk-go-v2/service/chatbot.
ewbankkit Oct 8, 2024
1043d64
go get github.com/aws/aws-sdk-go-v2/service/chime.
ewbankkit Oct 8, 2024
273ee11
go get github.com/aws/aws-sdk-go-v2/service/chimesdkmediapipelines.
ewbankkit Oct 8, 2024
2412f45
go get github.com/aws/aws-sdk-go-v2/service/chimesdkvoice.
ewbankkit Oct 8, 2024
b3e3599
go get github.com/aws/aws-sdk-go-v2/service/cleanrooms.
ewbankkit Oct 8, 2024
982f121
go get github.com/aws/aws-sdk-go-v2/service/cloud9.
ewbankkit Oct 8, 2024
7bef6a5
go get github.com/aws/aws-sdk-go-v2/service/cloudcontrol.
ewbankkit Oct 8, 2024
82acb5a
go get github.com/aws/aws-sdk-go-v2/service/cloudformation.
ewbankkit Oct 8, 2024
7721658
go get github.com/aws/aws-sdk-go-v2/service/cloudfront.
ewbankkit Oct 8, 2024
eba82a8
go get github.com/aws/aws-sdk-go-v2/service/cloudfrontkeyvaluestore.
ewbankkit Oct 8, 2024
d9df09a
go get github.com/aws/aws-sdk-go-v2/service/cloudhsmv2.
ewbankkit Oct 8, 2024
1d09b2c
go get github.com/aws/aws-sdk-go-v2/service/cloudsearch.
ewbankkit Oct 8, 2024
7b4143a
go get github.com/aws/aws-sdk-go-v2/service/cloudtrail.
ewbankkit Oct 8, 2024
8be6c55
go get github.com/aws/aws-sdk-go-v2/service/cloudwatch.
ewbankkit Oct 8, 2024
ca21d58
go get github.com/aws/aws-sdk-go-v2/service/cloudwatchlogs.
ewbankkit Oct 8, 2024
75cd06c
go get github.com/aws/aws-sdk-go-v2/service/codeartifact.
ewbankkit Oct 8, 2024
124001a
go get github.com/aws/aws-sdk-go-v2/service/codebuild.
ewbankkit Oct 8, 2024
f6d348c
go get github.com/aws/aws-sdk-go-v2/service/codecatalyst.
ewbankkit Oct 8, 2024
4d5c3c2
go get github.com/aws/aws-sdk-go-v2/service/codecommit.
ewbankkit Oct 8, 2024
a472edf
go get github.com/aws/aws-sdk-go-v2/service/codeconnections.
ewbankkit Oct 8, 2024
2ca325b
go get github.com/aws/aws-sdk-go-v2/service/codedeploy.
ewbankkit Oct 8, 2024
6dc018a
go get github.com/aws/aws-sdk-go-v2/service/codeguruprofiler.
ewbankkit Oct 8, 2024
c724106
go get github.com/aws/aws-sdk-go-v2/service/codegurureviewer.
ewbankkit Oct 8, 2024
68b389c
go get github.com/aws/aws-sdk-go-v2/service/codepipeline.
ewbankkit Oct 8, 2024
34b4a8c
go get github.com/aws/aws-sdk-go-v2/service/codestarconnections.
ewbankkit Oct 8, 2024
f92cbc8
go get github.com/aws/aws-sdk-go-v2/service/codestarnotifications.
ewbankkit Oct 8, 2024
263a463
go get github.com/aws/aws-sdk-go-v2/service/cognitoidentity.
ewbankkit Oct 8, 2024
ebe58c5
go get github.com/aws/aws-sdk-go-v2/service/cognitoidentityprovider.
ewbankkit Oct 8, 2024
6cbd29b
go get github.com/aws/aws-sdk-go-v2/service/comprehend.
ewbankkit Oct 8, 2024
26ac59f
go get github.com/aws/aws-sdk-go-v2/service/computeoptimizer.
ewbankkit Oct 8, 2024
c6e1e58
go get github.com/aws/aws-sdk-go-v2/service/configservice.
ewbankkit Oct 8, 2024
7eebea6
go get github.com/aws/aws-sdk-go-v2/service/connect.
ewbankkit Oct 8, 2024
a39d9ca
go get github.com/aws/aws-sdk-go-v2/service/connectcases.
ewbankkit Oct 8, 2024
971f9d5
go get github.com/aws/aws-sdk-go-v2/service/controltower.
ewbankkit Oct 8, 2024
675e9cb
go get github.com/aws/aws-sdk-go-v2/service/costandusagereportservice.
ewbankkit Oct 8, 2024
b5c46e0
go get github.com/aws/aws-sdk-go-v2/service/costexplorer.
ewbankkit Oct 8, 2024
cde6009
go get github.com/aws/aws-sdk-go-v2/service/costoptimizationhub.
ewbankkit Oct 8, 2024
0397d49
go get github.com/aws/aws-sdk-go-v2/service/customerprofiles.
ewbankkit Oct 8, 2024
5e91efc
go get github.com/aws/aws-sdk-go-v2/service/databasemigrationservice.
ewbankkit Oct 8, 2024
d5f390f
go get github.com/aws/aws-sdk-go-v2/service/databrew.
ewbankkit Oct 8, 2024
2fe0dd8
go get github.com/aws/aws-sdk-go-v2/service/dataexchange.
ewbankkit Oct 8, 2024
a30edd0
go get github.com/aws/aws-sdk-go-v2/service/datapipeline.
ewbankkit Oct 8, 2024
004bf34
go get github.com/aws/aws-sdk-go-v2/service/datasync.
ewbankkit Oct 8, 2024
22332e8
go get github.com/aws/aws-sdk-go-v2/service/datazone.
ewbankkit Oct 8, 2024
ba6df85
go get github.com/aws/aws-sdk-go-v2/service/dax.
ewbankkit Oct 8, 2024
dd84792
go get github.com/aws/aws-sdk-go-v2/service/detective.
ewbankkit Oct 8, 2024
458e024
go get github.com/aws/aws-sdk-go-v2/service/devicefarm.
ewbankkit Oct 8, 2024
3698be0
go get github.com/aws/aws-sdk-go-v2/service/devopsguru.
ewbankkit Oct 8, 2024
f28550f
go get github.com/aws/aws-sdk-go-v2/service/directconnect.
ewbankkit Oct 8, 2024
afa7001
go get github.com/aws/aws-sdk-go-v2/service/directoryservice.
ewbankkit Oct 8, 2024
74e7bac
go get github.com/aws/aws-sdk-go-v2/service/dlm.
ewbankkit Oct 8, 2024
018757b
go get github.com/aws/aws-sdk-go-v2/service/docdb.
ewbankkit Oct 8, 2024
d276a34
go get github.com/aws/aws-sdk-go-v2/service/docdbelastic.
ewbankkit Oct 8, 2024
7c38e22
go get github.com/aws/aws-sdk-go-v2/service/drs.
ewbankkit Oct 8, 2024
05faf30
go get github.com/aws/aws-sdk-go-v2/service/dynamodb.
ewbankkit Oct 8, 2024
92dafe2
go get github.com/aws/aws-sdk-go-v2/service/ec2.
ewbankkit Oct 8, 2024
bd46d2a
go get github.com/aws/aws-sdk-go-v2/service/ecr.
ewbankkit Oct 8, 2024
f970cdb
go get github.com/aws/aws-sdk-go-v2/service/ecrpublic.
ewbankkit Oct 8, 2024
b1fbaf0
go get github.com/aws/aws-sdk-go-v2/service/ecs.
ewbankkit Oct 8, 2024
59a6a47
go get github.com/aws/aws-sdk-go-v2/service/efs.
ewbankkit Oct 8, 2024
76ebc8d
go get github.com/aws/aws-sdk-go-v2/service/eks.
ewbankkit Oct 8, 2024
de22a0a
go get github.com/aws/aws-sdk-go-v2/service/elasticache.
ewbankkit Oct 8, 2024
35cc671
go get github.com/aws/aws-sdk-go-v2/service/elasticbeanstalk.
ewbankkit Oct 8, 2024
471fa71
go get github.com/aws/aws-sdk-go-v2/service/elasticloadbalancing.
ewbankkit Oct 8, 2024
f222196
go get github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2.
ewbankkit Oct 8, 2024
41f7b7c
go get github.com/aws/aws-sdk-go-v2/service/elasticsearchservice.
ewbankkit Oct 8, 2024
69a3942
go get github.com/aws/aws-sdk-go-v2/service/elastictranscoder.
ewbankkit Oct 8, 2024
a03825d
go get github.com/aws/aws-sdk-go-v2/service/emr.
ewbankkit Oct 8, 2024
ba13200
go get github.com/aws/aws-sdk-go-v2/service/emrcontainers.
ewbankkit Oct 8, 2024
e1dc069
go get github.com/aws/aws-sdk-go-v2/service/emrserverless.
ewbankkit Oct 8, 2024
0dcc481
go get github.com/aws/aws-sdk-go-v2/service/eventbridge.
ewbankkit Oct 8, 2024
07f1dfe
go get github.com/aws/aws-sdk-go-v2/service/evidently.
ewbankkit Oct 8, 2024
71da2e7
go get github.com/aws/aws-sdk-go-v2/service/finspace.
ewbankkit Oct 8, 2024
604ba7d
go get github.com/aws/aws-sdk-go-v2/service/firehose.
ewbankkit Oct 8, 2024
fb72ada
go get github.com/aws/aws-sdk-go-v2/service/fis.
ewbankkit Oct 8, 2024
792c038
go get github.com/aws/aws-sdk-go-v2/service/fms.
ewbankkit Oct 8, 2024
7d854f6
go get github.com/aws/aws-sdk-go-v2/service/fsx.
ewbankkit Oct 8, 2024
83cc541
go get github.com/aws/aws-sdk-go-v2/service/gamelift.
ewbankkit Oct 8, 2024
54fec12
go get github.com/aws/aws-sdk-go-v2/service/glacier.
ewbankkit Oct 8, 2024
a2864e8
go get github.com/aws/aws-sdk-go-v2/service/globalaccelerator.
ewbankkit Oct 8, 2024
1a06e09
go get github.com/aws/aws-sdk-go-v2/service/glue.
ewbankkit Oct 8, 2024
22f3c8c
go get github.com/aws/aws-sdk-go-v2/service/grafana.
ewbankkit Oct 8, 2024
a2bdace
go get github.com/aws/aws-sdk-go-v2/service/greengrass.
ewbankkit Oct 8, 2024
913cc76
go get github.com/aws/aws-sdk-go-v2/service/groundstation.
ewbankkit Oct 8, 2024
448a7fa
go get github.com/aws/aws-sdk-go-v2/service/guardduty.
ewbankkit Oct 8, 2024
958f807
go get github.com/aws/aws-sdk-go-v2/service/healthlake.
ewbankkit Oct 8, 2024
8f27f33
go get github.com/aws/aws-sdk-go-v2/service/iam.
ewbankkit Oct 8, 2024
71780c9
go get github.com/aws/aws-sdk-go-v2/service/identitystore.
ewbankkit Oct 8, 2024
d0fbd14
go get github.com/aws/aws-sdk-go-v2/service/inspector.
ewbankkit Oct 8, 2024
f876c28
go get github.com/aws/aws-sdk-go-v2/service/inspector2.
ewbankkit Oct 8, 2024
6b83992
go get github.com/aws/aws-sdk-go-v2/service/internetmonitor.
ewbankkit Oct 8, 2024
4f66cac
go get github.com/aws/aws-sdk-go-v2/service/iot.
ewbankkit Oct 8, 2024
76e70ce
go get github.com/aws/aws-sdk-go-v2/service/iotanalytics.
ewbankkit Oct 8, 2024
818748b
go get github.com/aws/aws-sdk-go-v2/service/iotevents.
ewbankkit Oct 8, 2024
e1a054b
go get github.com/aws/aws-sdk-go-v2/service/ivs.
ewbankkit Oct 8, 2024
87bb3b3
go get github.com/aws/aws-sdk-go-v2/service/ivschat.
ewbankkit Oct 8, 2024
a96c186
go get github.com/aws/aws-sdk-go-v2/service/kafka.
ewbankkit Oct 8, 2024
220d90c
go get github.com/aws/aws-sdk-go-v2/service/kafkaconnect.
ewbankkit Oct 8, 2024
c70159f
go get github.com/aws/aws-sdk-go-v2/service/kendra.
ewbankkit Oct 8, 2024
62a2d2b
go get github.com/aws/aws-sdk-go-v2/service/keyspaces.
ewbankkit Oct 8, 2024
27f78e5
go get github.com/aws/aws-sdk-go-v2/service/kinesis.
ewbankkit Oct 8, 2024
2e42fb4
go get github.com/aws/aws-sdk-go-v2/service/kinesisanalytics.
ewbankkit Oct 8, 2024
513636c
go get github.com/aws/aws-sdk-go-v2/service/kinesisanalyticsv2.
ewbankkit Oct 8, 2024
92439c5
go get github.com/aws/aws-sdk-go-v2/service/kinesisvideo.
ewbankkit Oct 8, 2024
a2c3b93
go get github.com/aws/aws-sdk-go-v2/service/kms.
ewbankkit Oct 8, 2024
99baee9
go get github.com/aws/aws-sdk-go-v2/service/lakeformation.
ewbankkit Oct 8, 2024
92688a9
go get github.com/aws/aws-sdk-go-v2/service/lambda.
ewbankkit Oct 8, 2024
7599579
go get github.com/aws/aws-sdk-go-v2/service/launchwizard.
ewbankkit Oct 8, 2024
6819293
go get github.com/aws/aws-sdk-go-v2/service/lexmodelbuildingservice.
ewbankkit Oct 8, 2024
810cf4e
go get github.com/aws/aws-sdk-go-v2/service/lexmodelsv2.
ewbankkit Oct 8, 2024
1f88a39
go get github.com/aws/aws-sdk-go-v2/service/licensemanager.
ewbankkit Oct 8, 2024
f7d1e41
go get github.com/aws/aws-sdk-go-v2/service/lightsail.
ewbankkit Oct 8, 2024
5c7d3e4
go get github.com/aws/aws-sdk-go-v2/service/location.
ewbankkit Oct 8, 2024
f2e89a0
go get github.com/aws/aws-sdk-go-v2/service/lookoutmetrics.
ewbankkit Oct 8, 2024
d3abfb8
go get github.com/aws/aws-sdk-go-v2/service/m2.
ewbankkit Oct 8, 2024
0d62407
go get github.com/aws/aws-sdk-go-v2/service/macie2.
ewbankkit Oct 8, 2024
e04e3e8
go get github.com/aws/aws-sdk-go-v2/service/mediaconnect.
ewbankkit Oct 8, 2024
6ad94eb
go get github.com/aws/aws-sdk-go-v2/service/mediaconvert.
ewbankkit Oct 8, 2024
7b6da2b
go get github.com/aws/aws-sdk-go-v2/service/medialive.
ewbankkit Oct 8, 2024
85c74c5
go get github.com/aws/aws-sdk-go-v2/service/mediapackage.
ewbankkit Oct 8, 2024
a96276a
go get github.com/aws/aws-sdk-go-v2/service/mediapackagev2.
ewbankkit Oct 8, 2024
e73ed97
go get github.com/aws/aws-sdk-go-v2/service/mediastore.
ewbankkit Oct 8, 2024
c69d183
go get github.com/aws/aws-sdk-go-v2/service/memorydb.
ewbankkit Oct 8, 2024
e5b3dbb
go get github.com/aws/aws-sdk-go-v2/service/mq.
ewbankkit Oct 8, 2024
5fbb223
go get github.com/aws/aws-sdk-go-v2/service/mwaa.
ewbankkit Oct 8, 2024
d13031b
go get github.com/aws/aws-sdk-go-v2/service/neptune.
ewbankkit Oct 8, 2024
8212b51
go get github.com/aws/aws-sdk-go-v2/service/neptunegraph.
ewbankkit Oct 8, 2024
2a20835
go get github.com/aws/aws-sdk-go-v2/service/networkfirewall.
ewbankkit Oct 8, 2024
09b89fd
go get github.com/aws/aws-sdk-go-v2/service/networkmanager.
ewbankkit Oct 8, 2024
f416501
go get github.com/aws/aws-sdk-go-v2/service/networkmonitor.
ewbankkit Oct 8, 2024
55f1ca7
go get github.com/aws/aws-sdk-go-v2/service/oam.
ewbankkit Oct 8, 2024
4d1134c
go get github.com/aws/aws-sdk-go-v2/service/opensearch.
ewbankkit Oct 8, 2024
a440354
go get github.com/aws/aws-sdk-go-v2/service/opensearchserverless.
ewbankkit Oct 8, 2024
a631004
go get github.com/aws/aws-sdk-go-v2/service/opsworks.
ewbankkit Oct 8, 2024
b428006
go get github.com/aws/aws-sdk-go-v2/service/organizations.
ewbankkit Oct 8, 2024
65da98d
go get github.com/aws/aws-sdk-go-v2/service/osis.
ewbankkit Oct 8, 2024
2229fa2
go get github.com/aws/aws-sdk-go-v2/service/outposts.
ewbankkit Oct 8, 2024
cf29b02
go get github.com/aws/aws-sdk-go-v2/service/paymentcryptography.
ewbankkit Oct 8, 2024
b53bb9a
go get github.com/aws/aws-sdk-go-v2/service/pcaconnectorad.
ewbankkit Oct 8, 2024
43e30c1
go get github.com/aws/aws-sdk-go-v2/service/pcs.
ewbankkit Oct 8, 2024
e60bd33
go get github.com/aws/aws-sdk-go-v2/service/pinpoint.
ewbankkit Oct 8, 2024
da2367d
go get github.com/aws/aws-sdk-go-v2/service/pinpointsmsvoicev2.
ewbankkit Oct 8, 2024
ee172f1
go get github.com/aws/aws-sdk-go-v2/service/pipes.
ewbankkit Oct 8, 2024
aef16e9
go get github.com/aws/aws-sdk-go-v2/service/polly.
ewbankkit Oct 8, 2024
307466b
go get github.com/aws/aws-sdk-go-v2/service/pricing.
ewbankkit Oct 8, 2024
577c490
go get github.com/aws/aws-sdk-go-v2/service/qbusiness.
ewbankkit Oct 8, 2024
0e730b3
go get github.com/aws/aws-sdk-go-v2/service/qldb.
ewbankkit Oct 8, 2024
ae78045
go get github.com/aws/aws-sdk-go-v2/service/quicksight.
ewbankkit Oct 8, 2024
f053169
go get github.com/aws/aws-sdk-go-v2/service/ram.
ewbankkit Oct 8, 2024
87e620f
go get github.com/aws/aws-sdk-go-v2/service/rbin.
ewbankkit Oct 8, 2024
1d597e8
go get github.com/aws/aws-sdk-go-v2/service/rds.
ewbankkit Oct 8, 2024
3eb7c69
go get github.com/aws/aws-sdk-go-v2/service/redshift.
ewbankkit Oct 8, 2024
6cd1d58
go get github.com/aws/aws-sdk-go-v2/service/redshiftdata.
ewbankkit Oct 8, 2024
8e18ca0
go get github.com/aws/aws-sdk-go-v2/service/redshiftserverless.
ewbankkit Oct 8, 2024
72218c8
go get github.com/aws/aws-sdk-go-v2/service/rekognition.
ewbankkit Oct 8, 2024
75f8475
go get github.com/aws/aws-sdk-go-v2/service/resiliencehub.
ewbankkit Oct 8, 2024
74145e5
go get github.com/aws/aws-sdk-go-v2/service/resourceexplorer2.
ewbankkit Oct 8, 2024
b42a9cc
go get github.com/aws/aws-sdk-go-v2/service/resourcegroups.
ewbankkit Oct 8, 2024
5bbabe5
go get github.com/aws/aws-sdk-go-v2/service/resourcegroupstaggingapi.
ewbankkit Oct 8, 2024
b1dc44a
go get github.com/aws/aws-sdk-go-v2/service/rolesanywhere.
ewbankkit Oct 8, 2024
2fa4292
go get github.com/aws/aws-sdk-go-v2/service/route53.
ewbankkit Oct 8, 2024
f242364
go get github.com/aws/aws-sdk-go-v2/service/route53domains.
ewbankkit Oct 8, 2024
5ca1804
go get github.com/aws/aws-sdk-go-v2/service/route53profiles.
ewbankkit Oct 8, 2024
116293a
go get github.com/aws/aws-sdk-go-v2/service/route53recoverycontrolcon…
ewbankkit Oct 8, 2024
9a4f630
go get github.com/aws/aws-sdk-go-v2/service/route53recoveryreadiness.
ewbankkit Oct 8, 2024
9d4053d
go get github.com/aws/aws-sdk-go-v2/service/route53resolver.
ewbankkit Oct 8, 2024
9330588
go get github.com/aws/aws-sdk-go-v2/service/rum.
ewbankkit Oct 8, 2024
54aa858
go get github.com/aws/aws-sdk-go-v2/service/s3control.
ewbankkit Oct 8, 2024
ddfa665
go get github.com/aws/aws-sdk-go-v2/service/s3outposts.
ewbankkit Oct 8, 2024
f8d6839
go get github.com/aws/aws-sdk-go-v2/service/sagemaker.
ewbankkit Oct 8, 2024
1cb67b9
go get github.com/aws/aws-sdk-go-v2/service/scheduler.
ewbankkit Oct 8, 2024
847d1ce
go get github.com/aws/aws-sdk-go-v2/service/schemas.
ewbankkit Oct 8, 2024
20a833d
go get github.com/aws/aws-sdk-go-v2/service/secretsmanager.
ewbankkit Oct 8, 2024
afc6d8d
go get github.com/aws/aws-sdk-go-v2/service/securityhub.
ewbankkit Oct 8, 2024
e4574b2
go get github.com/aws/aws-sdk-go-v2/service/securitylake.
ewbankkit Oct 8, 2024
c8bfc17
go get github.com/aws/aws-sdk-go-v2/service/serverlessapplicationrepo…
ewbankkit Oct 8, 2024
89bd98c
go get github.com/aws/aws-sdk-go-v2/service/servicecatalog.
ewbankkit Oct 8, 2024
91c533b
go get github.com/aws/aws-sdk-go-v2/service/servicecatalogappregistry.
ewbankkit Oct 8, 2024
73e28ff
go get github.com/aws/aws-sdk-go-v2/service/servicediscovery.
ewbankkit Oct 8, 2024
b4f6357
go get github.com/aws/aws-sdk-go-v2/service/servicequotas.
ewbankkit Oct 8, 2024
effb47c
go get github.com/aws/aws-sdk-go-v2/service/ses.
ewbankkit Oct 8, 2024
5f7cd53
go get github.com/aws/aws-sdk-go-v2/service/sesv2.
ewbankkit Oct 8, 2024
006f5a3
go get github.com/aws/aws-sdk-go-v2/service/sfn.
ewbankkit Oct 8, 2024
641b63e
go get github.com/aws/aws-sdk-go-v2/service/shield.
ewbankkit Oct 8, 2024
2870947
go get github.com/aws/aws-sdk-go-v2/service/signer.
ewbankkit Oct 8, 2024
11d9ce2
go get github.com/aws/aws-sdk-go-v2/service/sns.
ewbankkit Oct 8, 2024
3b4998e
go get github.com/aws/aws-sdk-go-v2/service/sqs.
ewbankkit Oct 8, 2024
4c5bbe1
go get github.com/aws/aws-sdk-go-v2/service/ssm.
ewbankkit Oct 8, 2024
05dd108
go get github.com/aws/aws-sdk-go-v2/service/ssmcontacts.
ewbankkit Oct 8, 2024
183eb33
go get github.com/aws/aws-sdk-go-v2/service/ssmincidents.
ewbankkit Oct 8, 2024
3904aab
go get github.com/aws/aws-sdk-go-v2/service/ssmsap.
ewbankkit Oct 8, 2024
1c32f32
go get github.com/aws/aws-sdk-go-v2/service/ssoadmin.
ewbankkit Oct 8, 2024
fa88aa8
go get github.com/aws/aws-sdk-go-v2/service/storagegateway.
ewbankkit Oct 8, 2024
1c20166
go get github.com/aws/aws-sdk-go-v2/service/swf.
ewbankkit Oct 8, 2024
86ae650
go get github.com/aws/aws-sdk-go-v2/service/synthetics.
ewbankkit Oct 8, 2024
2bb6c67
go get github.com/aws/aws-sdk-go-v2/service/timestreaminfluxdb.
ewbankkit Oct 8, 2024
acf213e
go get github.com/aws/aws-sdk-go-v2/service/timestreamwrite.
ewbankkit Oct 8, 2024
0e81fee
go get github.com/aws/aws-sdk-go-v2/service/transcribe.
ewbankkit Oct 8, 2024
5011ad3
go get github.com/aws/aws-sdk-go-v2/service/transfer.
ewbankkit Oct 8, 2024
35dab9d
go get github.com/aws/aws-sdk-go-v2/service/verifiedpermissions.
ewbankkit Oct 8, 2024
2cc864e
go get github.com/aws/aws-sdk-go-v2/service/vpclattice.
ewbankkit Oct 8, 2024
d1dadea
go get github.com/aws/aws-sdk-go-v2/service/waf.
ewbankkit Oct 8, 2024
4b4e0bf
go get github.com/aws/aws-sdk-go-v2/service/wafregional.
ewbankkit Oct 8, 2024
0c265d5
go get github.com/aws/aws-sdk-go-v2/service/wafv2.
ewbankkit Oct 8, 2024
b3299f2
go get github.com/aws/aws-sdk-go-v2/service/wellarchitected.
ewbankkit Oct 8, 2024
c04b4d3
go get github.com/aws/aws-sdk-go-v2/service/workspaces.
ewbankkit Oct 8, 2024
29ff068
go get github.com/aws/aws-sdk-go-v2/service/workspacesweb.
ewbankkit Oct 8, 2024
a9db97b
go get github.com/aws/aws-sdk-go-v2/service/xray.
ewbankkit Oct 8, 2024
a2e545e
Fix golangci-lint 'mnd'.
ewbankkit Oct 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .changelog/39616.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_securityhub_automation_rule: Fix `criteria` attributes - aws_account_id, generator_id, title, resource_id to have a maximum Item size of 100
```
17 changes: 11 additions & 6 deletions internal/service/securityhub/automation_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (r *automationRuleResource) Schema(ctx context.Context, request resource.Sc
},
NestedObject: schema.NestedBlockObject{
Blocks: map[string]schema.Block{
names.AttrAWSAccountID: stringFilterSchemaFramework(ctx),
names.AttrAWSAccountID: stringFilterSchemaFramework(ctx, 100),
"aws_account_name": stringFilterSchemaFramework(ctx),
"company_name": stringFilterSchemaFramework(ctx),
"compliance_associated_standards_id": stringFilterSchemaFramework(ctx),
Expand All @@ -209,7 +209,7 @@ func (r *automationRuleResource) Schema(ctx context.Context, request resource.Sc
"criticality": numberFilterSchemaFramework(ctx),
names.AttrDescription: stringFilterSchemaFramework(ctx),
"first_observed_at": dateFilterSchemaFramework(ctx),
"generator_id": stringFilterSchemaFramework(ctx),
"generator_id": stringFilterSchemaFramework(ctx, 100),
names.AttrID: stringFilterSchemaFramework(ctx),
"last_observed_at": dateFilterSchemaFramework(ctx),
"note_text": stringFilterSchemaFramework(ctx),
Expand All @@ -223,14 +223,14 @@ func (r *automationRuleResource) Schema(ctx context.Context, request resource.Sc
"resource_application_arn": stringFilterSchemaFramework(ctx),
"resource_application_name": stringFilterSchemaFramework(ctx),
"resource_details_other": mapFilterSchemaFramework(ctx),
names.AttrResourceID: stringFilterSchemaFramework(ctx),
names.AttrResourceID: stringFilterSchemaFramework(ctx, 100),
"resource_partition": stringFilterSchemaFramework(ctx),
"resource_region": stringFilterSchemaFramework(ctx),
names.AttrResourceTags: mapFilterSchemaFramework(ctx),
names.AttrResourceType: stringFilterSchemaFramework(ctx),
"severity_label": stringFilterSchemaFramework(ctx),
"source_url": stringFilterSchemaFramework(ctx),
"title": stringFilterSchemaFramework(ctx),
"title": stringFilterSchemaFramework(ctx, 100),
names.AttrType: stringFilterSchemaFramework(ctx),
"updated_at": dateFilterSchemaFramework(ctx),
"user_defined_fields": mapFilterSchemaFramework(ctx),
Expand Down Expand Up @@ -334,11 +334,16 @@ func numberFilterSchemaFramework(ctx context.Context) schema.SetNestedBlock {
}
}

func stringFilterSchemaFramework(ctx context.Context) schema.SetNestedBlock {
func stringFilterSchemaFramework(ctx context.Context, maxSize ...int) schema.SetNestedBlock {

defaultSize := 20
if len(maxSize) > 0 {
defaultSize = maxSize[0]
}
return schema.SetNestedBlock{
CustomType: fwtypes.NewSetNestedObjectTypeOf[stringFilterModel](ctx),
Validators: []validator.Set{
setvalidator.SizeAtMost(20),
setvalidator.SizeAtMost(defaultSize),
},
NestedObject: schema.NestedBlockObject{
Attributes: map[string]schema.Attribute{
Expand Down