@propulsionworks/cloudformation 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/builder.ts +5 -5
- package/out/exports/resources.generated/aws-accessanalyzer-analyzer.d.ts +11 -4
- package/out/exports/resources.generated/aws-aiops-investigationgroup.d.ts +133 -0
- package/out/exports/resources.generated/aws-arczonalshift-zonalautoshiftconfiguration.d.ts +7 -7
- package/out/exports/resources.generated/aws-b2bi-partnership.d.ts +108 -0
- package/out/exports/resources.generated/aws-b2bi-transformer.d.ts +35 -0
- package/out/exports/resources.generated/aws-batch-computeenvironment.d.ts +14 -0
- package/out/exports/resources.generated/aws-bedrock-guardrail.d.ts +37 -18
- package/out/exports/resources.generated/aws-cassandra-table.d.ts +29 -0
- package/out/exports/resources.generated/aws-cloudformation-guardhook.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-hookversion.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-moduleversion.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-resourceversion.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-stack.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudformation-stackset.d.ts +4 -4
- package/out/exports/resources.generated/aws-cloudformation-waitcondition.d.ts +1 -1
- package/out/exports/resources.generated/aws-cloudfront-distribution.d.ts +14 -5
- package/out/exports/resources.generated/aws-cloudfront-vpcorigin.d.ts +1 -1
- package/out/exports/resources.generated/aws-connectcampaignsv2-campaign.d.ts +10 -0
- package/out/exports/resources.generated/aws-datazone-connection.d.ts +1 -1
- package/out/exports/resources.generated/aws-datazone-projectprofile.d.ts +6 -0
- package/out/exports/resources.generated/aws-deadline-fleet.d.ts +0 -1
- package/out/exports/resources.generated/aws-dsql-cluster.d.ts +5 -0
- package/out/exports/resources.generated/aws-ec2-networkinterfacepermission.d.ts +2 -2
- package/out/exports/resources.generated/aws-ec2-trafficmirrorfilterrule.d.ts +3 -2
- package/out/exports/resources.generated/aws-ecs-service.d.ts +2 -2
- package/out/exports/resources.generated/aws-ecs-taskdefinition.d.ts +3 -3
- package/out/exports/resources.generated/aws-elasticloadbalancingv2-listener.d.ts +2 -0
- package/out/exports/resources.generated/aws-emrserverless-application.d.ts +19 -0
- package/out/exports/resources.generated/aws-fsx-s3accesspointattachment.d.ts +140 -0
- package/out/exports/resources.generated/aws-gamelift-containerfleet.d.ts +8 -0
- package/out/exports/resources.generated/aws-gamelift-fleet.d.ts +1 -1
- package/out/exports/resources.generated/aws-inspectorv2-filter.d.ts +1 -0
- package/out/exports/resources.generated/aws-kendra-datasource.d.ts +15 -0
- package/out/exports/resources.generated/aws-lambda-eventsourcemapping.d.ts +22 -0
- package/out/exports/resources.generated/aws-lex-bot.d.ts +34 -0
- package/out/exports/resources.generated/aws-logs-transformer.d.ts +36 -0
- package/out/exports/resources.generated/aws-mediatailor-playbackconfiguration.d.ts +9 -0
- package/out/exports/resources.generated/aws-mpa-approvalteam.d.ts +25 -2
- package/out/exports/resources.generated/aws-mpa-identitysource.d.ts +16 -2
- package/out/exports/resources.generated/aws-neptune-dbinstance.d.ts +0 -4
- package/out/exports/resources.generated/aws-networkmanager-vpcattachment.d.ts +12 -0
- package/out/exports/resources.generated/aws-rolesanywhere-trustanchor.d.ts +1 -1
- package/out/exports/resources.generated/aws-route53resolver-resolverendpoint.d.ts +4 -1
- package/out/exports/resources.generated/aws-route53resolver-resolverrule.d.ts +8 -1
- package/out/exports/resources.generated/aws-s3-bucket.d.ts +2 -0
- package/out/exports/resources.generated/aws-s3tables-namespace.d.ts +27 -0
- package/out/exports/resources.generated/aws-securityhub-aggregatorv2.d.ts +7 -7
- package/out/exports/resources.generated/aws-securityhub-automationrulev2.d.ts +123 -70
- package/out/exports/resources.generated/aws-securityhub-hubv2.d.ts +5 -1
- package/out/exports/resources.generated/aws-synthetics-canary.d.ts +1 -1
- package/out/exports/resources.generated/aws-workspacesinstances-volume.d.ts +89 -0
- package/out/exports/resources.generated/aws-workspacesinstances-volumeassociation.d.ts +36 -0
- package/out/exports/resources.generated/aws-workspacesinstances-workspaceinstance.d.ts +311 -0
- package/out/lib/builder.d.ts +3 -3
- package/out/lib/builder.d.ts.map +1 -1
- package/out/lib/builder.js +2 -2
- package/out/lib/builder.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Creates a V2 automation rule. This API is in private preview and subject to change.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html}
|
|
5
5
|
*/
|
|
6
6
|
export type SecurityHubAutomationRuleV2 = ResourceDefinitionWithAttributes<"AWS::SecurityHub::AutomationRuleV2", SecurityHubAutomationRuleV2Props, SecurityHubAutomationRuleV2Attribs>;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Creates a V2 automation rule. This API is in private preview and subject to change.
|
|
9
9
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html}
|
|
10
10
|
*/
|
|
11
11
|
export type SecurityHubAutomationRuleV2Props = {
|
|
12
12
|
/**
|
|
13
|
-
* A list of actions to be performed when the rule criteria is met
|
|
13
|
+
* A list of actions to be performed when the rule criteria is met.
|
|
14
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-actions}
|
|
15
15
|
*/
|
|
16
16
|
Actions: AutomationRulesActionV2[];
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* The filtering type and configuration of the automation rule.
|
|
19
19
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-criteria}
|
|
20
20
|
*/
|
|
21
21
|
Criteria: Criteria;
|
|
22
22
|
/**
|
|
23
|
-
* A description of the automation rule
|
|
23
|
+
* A description of the V2 automation rule.
|
|
24
24
|
* @minLength 1
|
|
25
25
|
* @maxLength 256
|
|
26
26
|
* @pattern .*\S.*
|
|
@@ -28,7 +28,7 @@ export type SecurityHubAutomationRuleV2Props = {
|
|
|
28
28
|
*/
|
|
29
29
|
Description: string;
|
|
30
30
|
/**
|
|
31
|
-
* The name of the automation rule
|
|
31
|
+
* The name of the V2 automation rule.
|
|
32
32
|
* @minLength 1
|
|
33
33
|
* @maxLength 256
|
|
34
34
|
* @pattern .*\S.*
|
|
@@ -36,19 +36,19 @@ export type SecurityHubAutomationRuleV2Props = {
|
|
|
36
36
|
*/
|
|
37
37
|
RuleName: string;
|
|
38
38
|
/**
|
|
39
|
-
* The value for the rule priority
|
|
39
|
+
* The value for the rule priority.
|
|
40
40
|
* @min 1
|
|
41
41
|
* @max 1000
|
|
42
42
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-ruleorder}
|
|
43
43
|
*/
|
|
44
44
|
RuleOrder: number;
|
|
45
45
|
/**
|
|
46
|
-
* The status of the automation rule
|
|
46
|
+
* The status of the V2 automation rule.
|
|
47
47
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-rulestatus}
|
|
48
48
|
*/
|
|
49
49
|
RuleStatus?: "ENABLED" | "DISABLED" | undefined;
|
|
50
50
|
/**
|
|
51
|
-
* A key-value
|
|
51
|
+
* A list of key-value pairs associated with the V2 automation rule.
|
|
52
52
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-tags}
|
|
53
53
|
*/
|
|
54
54
|
Tags?: Record<string, string> | undefined;
|
|
@@ -58,24 +58,24 @@ export type SecurityHubAutomationRuleV2Props = {
|
|
|
58
58
|
*/
|
|
59
59
|
export type SecurityHubAutomationRuleV2Attribs = {
|
|
60
60
|
/**
|
|
61
|
-
* The timestamp
|
|
61
|
+
* The timestamp when the V2 automation rule was created.
|
|
62
62
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-createdat}
|
|
63
63
|
*/
|
|
64
64
|
CreatedAt: string;
|
|
65
65
|
/**
|
|
66
|
-
* The ARN of the automation rule
|
|
66
|
+
* The ARN of the V2 automation rule.
|
|
67
67
|
* @pattern ^arn:aws\S*:securityhub:[a-z0-9-]+:[0-9]{12}:automation-rulev2/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
|
|
68
68
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-rulearn}
|
|
69
69
|
*/
|
|
70
70
|
RuleArn: string;
|
|
71
71
|
/**
|
|
72
|
-
* The ID of the automation rule
|
|
72
|
+
* The ID of the V2 automation rule.
|
|
73
73
|
* @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
|
|
74
74
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-ruleid}
|
|
75
75
|
*/
|
|
76
76
|
RuleId: string;
|
|
77
77
|
/**
|
|
78
|
-
* The timestamp
|
|
78
|
+
* The timestamp when the V2 automation rule was updated.
|
|
79
79
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-updatedat}
|
|
80
80
|
*/
|
|
81
81
|
UpdatedAt: string;
|
|
@@ -86,174 +86,198 @@ export type SecurityHubAutomationRuleV2Attribs = {
|
|
|
86
86
|
*/
|
|
87
87
|
export type AllowedOperators = "AND" | "OR";
|
|
88
88
|
/**
|
|
89
|
-
* Allows you to configure automated responses
|
|
89
|
+
* Allows you to configure automated responses.
|
|
90
90
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html}
|
|
91
91
|
*/
|
|
92
92
|
export type AutomationRulesActionV2 = {
|
|
93
93
|
/**
|
|
94
|
-
* The settings for integrating automation rule actions with external systems or service
|
|
94
|
+
* The settings for integrating automation rule actions with external systems or service.
|
|
95
95
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html#cfn-securityhub-automationrulev2-automationrulesactionv2-externalintegrationconfiguration}
|
|
96
96
|
*/
|
|
97
97
|
ExternalIntegrationConfiguration?: ExternalIntegrationConfiguration | undefined;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Specifies that the automation rule action is an update to a finding field.
|
|
100
100
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html#cfn-securityhub-automationrulev2-automationrulesactionv2-findingfieldsupdate}
|
|
101
101
|
*/
|
|
102
102
|
FindingFieldsUpdate?: AutomationRulesFindingFieldsUpdateV2 | undefined;
|
|
103
103
|
/**
|
|
104
|
-
*
|
|
104
|
+
* Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
|
|
105
105
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html#cfn-securityhub-automationrulev2-automationrulesactionv2-type}
|
|
106
106
|
*/
|
|
107
107
|
Type: "FINDING_FIELDS_UPDATE" | "EXTERNAL_INTEGRATION";
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
110
|
-
*
|
|
110
|
+
* Allows you to define the structure for modifying specific fields in security findings.
|
|
111
111
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html}
|
|
112
112
|
*/
|
|
113
113
|
export type AutomationRulesFindingFieldsUpdateV2 = {
|
|
114
114
|
/**
|
|
115
|
-
* Notes or contextual information for findings that are modified by the automation rule
|
|
115
|
+
* Notes or contextual information for findings that are modified by the automation rule.
|
|
116
116
|
* @pattern .*\S.*
|
|
117
117
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html#cfn-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2-comment}
|
|
118
118
|
*/
|
|
119
119
|
Comment?: string | undefined;
|
|
120
120
|
/**
|
|
121
|
-
* The severity level to be assigned to findings that match the automation rule criteria
|
|
121
|
+
* The severity level to be assigned to findings that match the automation rule criteria.
|
|
122
122
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html#cfn-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2-severityid}
|
|
123
123
|
*/
|
|
124
124
|
SeverityId?: number | undefined;
|
|
125
125
|
/**
|
|
126
|
-
* The status to be applied to findings that match automation rule criteria
|
|
126
|
+
* The status to be applied to findings that match automation rule criteria.
|
|
127
127
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html#cfn-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2-statusid}
|
|
128
128
|
*/
|
|
129
129
|
StatusId?: number | undefined;
|
|
130
130
|
};
|
|
131
131
|
/**
|
|
132
|
-
* Boolean filter for querying findings
|
|
132
|
+
* Boolean filter for querying findings.
|
|
133
133
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-booleanfilter.html}
|
|
134
134
|
*/
|
|
135
135
|
export type BooleanFilter = {
|
|
136
136
|
/**
|
|
137
|
-
* The value of the boolean
|
|
137
|
+
* The value of the boolean.
|
|
138
138
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-booleanfilter.html#cfn-securityhub-automationrulev2-booleanfilter-value}
|
|
139
139
|
*/
|
|
140
140
|
Value: boolean;
|
|
141
141
|
};
|
|
142
142
|
/**
|
|
143
|
-
* Enables the creation of filtering criteria for security findings
|
|
143
|
+
* Enables the creation of filtering criteria for security findings.
|
|
144
144
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html}
|
|
145
145
|
*/
|
|
146
146
|
export type CompositeFilter = {
|
|
147
147
|
/**
|
|
148
|
-
* Enables filtering based on boolean field values
|
|
148
|
+
* Enables filtering based on boolean field values.
|
|
149
149
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-booleanfilters}
|
|
150
150
|
*/
|
|
151
151
|
BooleanFilters?: OcsfBooleanFilter[] | undefined;
|
|
152
152
|
/**
|
|
153
|
-
* Enables filtering based on date and timestamp fields
|
|
153
|
+
* Enables filtering based on date and timestamp fields.
|
|
154
154
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-datefilters}
|
|
155
155
|
*/
|
|
156
156
|
DateFilters?: OcsfDateFilter[] | undefined;
|
|
157
157
|
/**
|
|
158
|
-
* Enables filtering
|
|
158
|
+
* Enables the creation of filtering criteria for security findings.
|
|
159
159
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-mapfilters}
|
|
160
160
|
*/
|
|
161
161
|
MapFilters?: OcsfMapFilter[] | undefined;
|
|
162
162
|
/**
|
|
163
|
-
* Enables filtering based on numerical field values
|
|
163
|
+
* Enables filtering based on numerical field values.
|
|
164
164
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-numberfilters}
|
|
165
165
|
*/
|
|
166
166
|
NumberFilters?: OcsfNumberFilter[] | undefined;
|
|
167
167
|
/**
|
|
168
|
-
* The logical operator used to combine multiple conditions
|
|
168
|
+
* The logical operator used to combine multiple filter conditions.
|
|
169
169
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-operator}
|
|
170
170
|
*/
|
|
171
171
|
Operator?: AllowedOperators | undefined;
|
|
172
172
|
/**
|
|
173
|
-
* Enables filtering based on string field values
|
|
173
|
+
* Enables filtering based on string field values.
|
|
174
174
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-stringfilters}
|
|
175
175
|
*/
|
|
176
176
|
StringFilters?: OcsfStringFilter[] | undefined;
|
|
177
177
|
};
|
|
178
178
|
/**
|
|
179
|
-
*
|
|
179
|
+
* The filtering type and configuration of the automation rule.
|
|
180
180
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-criteria.html}
|
|
181
181
|
*/
|
|
182
182
|
export type Criteria = {
|
|
183
183
|
/**
|
|
184
|
-
* The filtering conditions that align with OCSF standards
|
|
184
|
+
* The filtering conditions that align with OCSF standards.
|
|
185
185
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-criteria.html#cfn-securityhub-automationrulev2-criteria-ocsffindingcriteria}
|
|
186
186
|
*/
|
|
187
187
|
OcsfFindingCriteria?: OcsfFindingFilters | undefined;
|
|
188
188
|
};
|
|
189
189
|
/**
|
|
190
|
-
* A date filter for querying findings
|
|
190
|
+
* A date filter for querying findings.
|
|
191
191
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html}
|
|
192
192
|
*/
|
|
193
193
|
export type DateFilter = {
|
|
194
194
|
/**
|
|
195
|
-
* A date range for the date filter
|
|
195
|
+
* A date range for the date filter.
|
|
196
196
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html#cfn-securityhub-automationrulev2-datefilter-daterange}
|
|
197
197
|
*/
|
|
198
198
|
DateRange?: DateRange | undefined;
|
|
199
199
|
/**
|
|
200
|
-
*
|
|
200
|
+
* A timestamp that provides the end date for the date filter.
|
|
201
|
+
*
|
|
202
|
+
* For more information about the validation and formatting of timestamp fields in AWS Security Hub , see [Timestamps](https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps) .
|
|
201
203
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html#cfn-securityhub-automationrulev2-datefilter-end}
|
|
202
204
|
*/
|
|
203
205
|
End?: string | undefined;
|
|
204
206
|
/**
|
|
205
|
-
*
|
|
207
|
+
* A timestamp that provides the start date for the date filter.
|
|
208
|
+
*
|
|
209
|
+
* For more information about the validation and formatting of timestamp fields in AWS Security Hub , see [Timestamps](https://docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps) .
|
|
206
210
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html#cfn-securityhub-automationrulev2-datefilter-start}
|
|
207
211
|
*/
|
|
208
212
|
Start?: string | undefined;
|
|
209
213
|
};
|
|
210
214
|
/**
|
|
211
|
-
* A date range for the date filter
|
|
215
|
+
* A date range for the date filter.
|
|
212
216
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-daterange.html}
|
|
213
217
|
*/
|
|
214
218
|
export type DateRange = {
|
|
215
219
|
/**
|
|
216
|
-
* A date range unit for the date filter
|
|
220
|
+
* A date range unit for the date filter.
|
|
217
221
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-daterange.html#cfn-securityhub-automationrulev2-daterange-unit}
|
|
218
222
|
*/
|
|
219
223
|
Unit: "DAYS";
|
|
220
224
|
/**
|
|
221
|
-
* A date range value for the date filter
|
|
225
|
+
* A date range value for the date filter.
|
|
222
226
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-daterange.html#cfn-securityhub-automationrulev2-daterange-value}
|
|
223
227
|
*/
|
|
224
228
|
Value: number;
|
|
225
229
|
};
|
|
226
230
|
/**
|
|
227
|
-
* The settings for integrating automation rule actions with external systems or service
|
|
231
|
+
* The settings for integrating automation rule actions with external systems or service.
|
|
228
232
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-externalintegrationconfiguration.html}
|
|
229
233
|
*/
|
|
230
234
|
export type ExternalIntegrationConfiguration = {
|
|
231
235
|
/**
|
|
232
|
-
* The ARN of the connector that establishes the integration
|
|
236
|
+
* The ARN of the connector that establishes the integration.
|
|
233
237
|
* @pattern .*\S.*
|
|
234
238
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-externalintegrationconfiguration.html#cfn-securityhub-automationrulev2-externalintegrationconfiguration-connectorarn}
|
|
235
239
|
*/
|
|
236
240
|
ConnectorArn?: string | undefined;
|
|
237
241
|
};
|
|
238
242
|
/**
|
|
239
|
-
* A map filter for filtering findings
|
|
243
|
+
* A map filter for filtering AWS Security Hub findings. Each map filter provides the field to check for, the value to check for, and the comparison operator.
|
|
240
244
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html}
|
|
241
245
|
*/
|
|
242
246
|
export type MapFilter = {
|
|
243
247
|
/**
|
|
244
|
-
* The condition to apply to the key value when filtering findings with a map filter
|
|
248
|
+
* The condition to apply to the key value when filtering Security Hub findings with a map filter.
|
|
249
|
+
*
|
|
250
|
+
* To search for values that have the filter value, use one of the following comparison operators:
|
|
251
|
+
*
|
|
252
|
+
* - To search for values that include the filter value, use `CONTAINS` . For example, for the `ResourceTags` field, the filter `Department CONTAINS Security` matches findings that include the value `Security` for the `Department` tag. In the same example, a finding with a value of `Security team` for the `Department` tag is a match.
|
|
253
|
+
* - To search for values that exactly match the filter value, use `EQUALS` . For example, for the `ResourceTags` field, the filter `Department EQUALS Security` matches findings that have the value `Security` for the `Department` tag.
|
|
254
|
+
*
|
|
255
|
+
* `CONTAINS` and `EQUALS` filters on the same field are joined by `OR` . A finding matches if it matches any one of those filters. For example, the filters `Department CONTAINS Security OR Department CONTAINS Finance` match a finding that includes either `Security` , `Finance` , or both values.
|
|
256
|
+
*
|
|
257
|
+
* To search for values that don't have the filter value, use one of the following comparison operators:
|
|
258
|
+
*
|
|
259
|
+
* - To search for values that exclude the filter value, use `NOT_CONTAINS` . For example, for the `ResourceTags` field, the filter `Department NOT_CONTAINS Finance` matches findings that exclude the value `Finance` for the `Department` tag.
|
|
260
|
+
* - To search for values other than the filter value, use `NOT_EQUALS` . For example, for the `ResourceTags` field, the filter `Department NOT_EQUALS Finance` matches findings that don’t have the value `Finance` for the `Department` tag.
|
|
261
|
+
*
|
|
262
|
+
* `NOT_CONTAINS` and `NOT_EQUALS` filters on the same field are joined by `AND` . A finding matches only if it matches all of those filters. For example, the filters `Department NOT_CONTAINS Security AND Department NOT_CONTAINS Finance` match a finding that excludes both the `Security` and `Finance` values.
|
|
263
|
+
*
|
|
264
|
+
* `CONTAINS` filters can only be used with other `CONTAINS` filters. `NOT_CONTAINS` filters can only be used with other `NOT_CONTAINS` filters.
|
|
265
|
+
*
|
|
266
|
+
* You can’t have both a `CONTAINS` filter and a `NOT_CONTAINS` filter on the same field. Similarly, you can’t have both an `EQUALS` filter and a `NOT_EQUALS` filter on the same field. Combining filters in this way returns an error.
|
|
267
|
+
*
|
|
268
|
+
* `CONTAINS` and `NOT_CONTAINS` operators can be used only with automation rules. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the *AWS Security Hub User Guide* .
|
|
245
269
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html#cfn-securityhub-automationrulev2-mapfilter-comparison}
|
|
246
270
|
*/
|
|
247
271
|
Comparison: "EQUALS" | "NOT_EQUALS";
|
|
248
272
|
/**
|
|
249
|
-
* The key of the map filter
|
|
273
|
+
* The key of the map filter. For example, for `ResourceTags` , `Key` identifies the name of the tag. For `UserDefinedFields` , `Key` is the name of the field.
|
|
250
274
|
* @minLength 1
|
|
251
275
|
* @maxLength 4096
|
|
252
276
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html#cfn-securityhub-automationrulev2-mapfilter-key}
|
|
253
277
|
*/
|
|
254
278
|
Key: string;
|
|
255
279
|
/**
|
|
256
|
-
* The value for the key in the map filter
|
|
280
|
+
* The value for the key in the map filter. Filter values are case sensitive. For example, one of the values for a tag called `Department` might be `Security` . If you provide `security` as the filter value, then there's no match.
|
|
257
281
|
* @minLength 1
|
|
258
282
|
* @maxLength 4096
|
|
259
283
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html#cfn-securityhub-automationrulev2-mapfilter-value}
|
|
@@ -261,102 +285,102 @@ export type MapFilter = {
|
|
|
261
285
|
Value: string;
|
|
262
286
|
};
|
|
263
287
|
/**
|
|
264
|
-
* A number filter for querying findings
|
|
288
|
+
* A number filter for querying findings.
|
|
265
289
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html}
|
|
266
290
|
*/
|
|
267
291
|
export type NumberFilter = {
|
|
268
292
|
/**
|
|
269
|
-
* The equal-to condition to be applied to a single field when querying for findings
|
|
293
|
+
* The equal-to condition to be applied to a single field when querying for findings.
|
|
270
294
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html#cfn-securityhub-automationrulev2-numberfilter-eq}
|
|
271
295
|
*/
|
|
272
296
|
Eq?: number | undefined;
|
|
273
297
|
/**
|
|
274
|
-
* The greater-than-equal condition to be applied to a single field when querying for findings
|
|
298
|
+
* The greater-than-equal condition to be applied to a single field when querying for findings.
|
|
275
299
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html#cfn-securityhub-automationrulev2-numberfilter-gte}
|
|
276
300
|
*/
|
|
277
301
|
Gte?: number | undefined;
|
|
278
302
|
/**
|
|
279
|
-
* The less-than-equal condition to be applied to a single field when querying for findings
|
|
303
|
+
* The less-than-equal condition to be applied to a single field when querying for findings.
|
|
280
304
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html#cfn-securityhub-automationrulev2-numberfilter-lte}
|
|
281
305
|
*/
|
|
282
306
|
Lte?: number | undefined;
|
|
283
307
|
};
|
|
284
308
|
/**
|
|
285
|
-
* Enables filtering of security findings based on boolean field values in OCSF
|
|
309
|
+
* Enables filtering of security findings based on boolean field values in OCSF.
|
|
286
310
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfbooleanfilter.html}
|
|
287
311
|
*/
|
|
288
312
|
export type OcsfBooleanFilter = {
|
|
289
313
|
/**
|
|
290
|
-
* The name of the field
|
|
314
|
+
* The name of the field.
|
|
291
315
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfbooleanfilter.html#cfn-securityhub-automationrulev2-ocsfbooleanfilter-fieldname}
|
|
292
316
|
*/
|
|
293
317
|
FieldName: "compliance.assessments.meets_criteria" | "vulnerabilities.is_exploit_available" | "vulnerabilities.is_fix_available";
|
|
294
318
|
/**
|
|
295
|
-
*
|
|
319
|
+
* Enables filtering of security findings based on boolean field values in OCSF.
|
|
296
320
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfbooleanfilter.html#cfn-securityhub-automationrulev2-ocsfbooleanfilter-filter}
|
|
297
321
|
*/
|
|
298
322
|
Filter: BooleanFilter;
|
|
299
323
|
};
|
|
300
324
|
/**
|
|
301
|
-
* Enables filtering of security findings based on date and timestamp fields in OCSF
|
|
325
|
+
* Enables filtering of security findings based on date and timestamp fields in OCSF.
|
|
302
326
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfdatefilter.html}
|
|
303
327
|
*/
|
|
304
328
|
export type OcsfDateFilter = {
|
|
305
329
|
/**
|
|
306
|
-
* The name of the field
|
|
330
|
+
* The name of the field.
|
|
307
331
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfdatefilter.html#cfn-securityhub-automationrulev2-ocsfdatefilter-fieldname}
|
|
308
332
|
*/
|
|
309
333
|
FieldName: "finding_info.created_time_dt" | "finding_info.first_seen_time_dt" | "finding_info.last_seen_time_dt" | "finding_info.modified_time_dt";
|
|
310
334
|
/**
|
|
311
|
-
*
|
|
335
|
+
* Enables filtering of security findings based on date and timestamp fields in OCSF.
|
|
312
336
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfdatefilter.html#cfn-securityhub-automationrulev2-ocsfdatefilter-filter}
|
|
313
337
|
*/
|
|
314
338
|
Filter: DateFilter;
|
|
315
339
|
};
|
|
316
340
|
/**
|
|
317
|
-
*
|
|
341
|
+
* Specifies the filtering criteria for security findings using OCSF.
|
|
318
342
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html}
|
|
319
343
|
*/
|
|
320
344
|
export type OcsfFindingFilters = {
|
|
321
345
|
/**
|
|
322
|
-
* Enables the creation of complex filtering conditions by combining filter
|
|
346
|
+
* Enables the creation of complex filtering conditions by combining filter criteria.
|
|
323
347
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html#cfn-securityhub-automationrulev2-ocsffindingfilters-compositefilters}
|
|
324
348
|
*/
|
|
325
349
|
CompositeFilters?: CompositeFilter[] | undefined;
|
|
326
350
|
/**
|
|
327
|
-
* The logical
|
|
351
|
+
* The logical operators used to combine the filtering on multiple `CompositeFilters` .
|
|
328
352
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html#cfn-securityhub-automationrulev2-ocsffindingfilters-compositeoperator}
|
|
329
353
|
*/
|
|
330
354
|
CompositeOperator?: AllowedOperators | undefined;
|
|
331
355
|
};
|
|
332
356
|
/**
|
|
333
|
-
* Enables filtering of security findings based on map field values in OCSF
|
|
357
|
+
* Enables filtering of security findings based on map field values in OCSF.
|
|
334
358
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfmapfilter.html}
|
|
335
359
|
*/
|
|
336
360
|
export type OcsfMapFilter = {
|
|
337
361
|
/**
|
|
338
|
-
* The name of the field
|
|
362
|
+
* The name of the field.
|
|
339
363
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfmapfilter.html#cfn-securityhub-automationrulev2-ocsfmapfilter-fieldname}
|
|
340
364
|
*/
|
|
341
365
|
FieldName: "resources.tags";
|
|
342
366
|
/**
|
|
343
|
-
*
|
|
367
|
+
* Enables filtering of security findings based on map field values in OCSF.
|
|
344
368
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfmapfilter.html#cfn-securityhub-automationrulev2-ocsfmapfilter-filter}
|
|
345
369
|
*/
|
|
346
370
|
Filter: MapFilter;
|
|
347
371
|
};
|
|
348
372
|
/**
|
|
349
|
-
* Enables filtering of security findings based on numerical field values in OCSF
|
|
373
|
+
* Enables filtering of security findings based on numerical field values in OCSF.
|
|
350
374
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfnumberfilter.html}
|
|
351
375
|
*/
|
|
352
376
|
export type OcsfNumberFilter = {
|
|
353
377
|
/**
|
|
354
|
-
* The name of the field
|
|
378
|
+
* The name of the field.
|
|
355
379
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfnumberfilter.html#cfn-securityhub-automationrulev2-ocsfnumberfilter-fieldname}
|
|
356
380
|
*/
|
|
357
381
|
FieldName: "activity_id" | "compliance.status_id" | "confidence_score" | "severity_id" | "status_id" | "finding_info.related_events_count";
|
|
358
382
|
/**
|
|
359
|
-
*
|
|
383
|
+
* Enables filtering of security findings based on numerical field values in OCSF.
|
|
360
384
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfnumberfilter.html#cfn-securityhub-automationrulev2-ocsfnumberfilter-filter}
|
|
361
385
|
*/
|
|
362
386
|
Filter: NumberFilter;
|
|
@@ -367,33 +391,62 @@ export type OcsfNumberFilter = {
|
|
|
367
391
|
*/
|
|
368
392
|
export type OcsfStringField = "metadata.uid" | "activity_name" | "cloud.account.name" | "cloud.account.uid" | "cloud.provider" | "cloud.region" | "compliance.assessments.category" | "compliance.assessments.name" | "compliance.control" | "compliance.status" | "compliance.standards" | "finding_info.desc" | "finding_info.src_url" | "finding_info.title" | "finding_info.types" | "finding_info.uid" | "finding_info.related_events.uid" | "finding_info.related_events.product.uid" | "finding_info.related_events.title" | "metadata.product.feature.uid" | "metadata.product.name" | "metadata.product.uid" | "metadata.product.vendor_name" | "remediation.desc" | "remediation.references" | "resources.cloud_partition" | "resources.name" | "resources.region" | "resources.type" | "resources.uid" | "severity" | "status" | "comment" | "vulnerabilities.fix_coverage" | "class_name";
|
|
369
393
|
/**
|
|
370
|
-
* Enables filtering of security findings based on string field values in OCSF
|
|
394
|
+
* Enables filtering of security findings based on string field values in OCSF.
|
|
371
395
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfilter.html}
|
|
372
396
|
*/
|
|
373
397
|
export type OcsfStringFilter = {
|
|
374
398
|
/**
|
|
375
|
-
* The name of the field
|
|
399
|
+
* The name of the field.
|
|
376
400
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfilter.html#cfn-securityhub-automationrulev2-ocsfstringfilter-fieldname}
|
|
377
401
|
*/
|
|
378
402
|
FieldName: OcsfStringField;
|
|
379
403
|
/**
|
|
380
|
-
*
|
|
404
|
+
* Enables filtering of security findings based on string field values in OCSF.
|
|
381
405
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfilter.html#cfn-securityhub-automationrulev2-ocsfstringfilter-filter}
|
|
382
406
|
*/
|
|
383
407
|
Filter: StringFilter;
|
|
384
408
|
};
|
|
385
409
|
/**
|
|
386
|
-
* A string filter for filtering findings
|
|
410
|
+
* A string filter for filtering AWS Security Hub findings.
|
|
387
411
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-stringfilter.html}
|
|
388
412
|
*/
|
|
389
413
|
export type StringFilter = {
|
|
390
414
|
/**
|
|
391
|
-
* The condition to apply to a string value when filtering findings
|
|
415
|
+
* The condition to apply to a string value when filtering Security Hub findings.
|
|
416
|
+
*
|
|
417
|
+
* To search for values that have the filter value, use one of the following comparison operators:
|
|
418
|
+
*
|
|
419
|
+
* - To search for values that include the filter value, use `CONTAINS` . For example, the filter `Title CONTAINS CloudFront` matches findings that have a `Title` that includes the string CloudFront.
|
|
420
|
+
* - To search for values that exactly match the filter value, use `EQUALS` . For example, the filter `AwsAccountId EQUALS 123456789012` only matches findings that have an account ID of `123456789012` .
|
|
421
|
+
* - To search for values that start with the filter value, use `PREFIX` . For example, the filter `ResourceRegion PREFIX us` matches findings that have a `ResourceRegion` that starts with `us` . A `ResourceRegion` that starts with a different value, such as `af` , `ap` , or `ca` , doesn't match.
|
|
422
|
+
*
|
|
423
|
+
* `CONTAINS` , `EQUALS` , and `PREFIX` filters on the same field are joined by `OR` . A finding matches if it matches any one of those filters. For example, the filters `Title CONTAINS CloudFront OR Title CONTAINS CloudWatch` match a finding that includes either `CloudFront` , `CloudWatch` , or both strings in the title.
|
|
424
|
+
*
|
|
425
|
+
* To search for values that don’t have the filter value, use one of the following comparison operators:
|
|
426
|
+
*
|
|
427
|
+
* - To search for values that exclude the filter value, use `NOT_CONTAINS` . For example, the filter `Title NOT_CONTAINS CloudFront` matches findings that have a `Title` that excludes the string CloudFront.
|
|
428
|
+
* - To search for values other than the filter value, use `NOT_EQUALS` . For example, the filter `AwsAccountId NOT_EQUALS 123456789012` only matches findings that have an account ID other than `123456789012` .
|
|
429
|
+
* - To search for values that don't start with the filter value, use `PREFIX_NOT_EQUALS` . For example, the filter `ResourceRegion PREFIX_NOT_EQUALS us` matches findings with a `ResourceRegion` that starts with a value other than `us` .
|
|
430
|
+
*
|
|
431
|
+
* `NOT_CONTAINS` , `NOT_EQUALS` , and `PREFIX_NOT_EQUALS` filters on the same field are joined by `AND` . A finding matches only if it matches all of those filters. For example, the filters `Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch` match a finding that excludes both `CloudFront` and `CloudWatch` in the title.
|
|
432
|
+
*
|
|
433
|
+
* You can’t have both a `CONTAINS` filter and a `NOT_CONTAINS` filter on the same field. Similarly, you can't provide both an `EQUALS` filter and a `NOT_EQUALS` or `PREFIX_NOT_EQUALS` filter on the same field. Combining filters in this way returns an error. `CONTAINS` filters can only be used with other `CONTAINS` filters. `NOT_CONTAINS` filters can only be used with other `NOT_CONTAINS` filters.
|
|
434
|
+
*
|
|
435
|
+
* You can combine `PREFIX` filters with `NOT_EQUALS` or `PREFIX_NOT_EQUALS` filters for the same field. Security Hub first processes the `PREFIX` filters, and then the `NOT_EQUALS` or `PREFIX_NOT_EQUALS` filters.
|
|
436
|
+
*
|
|
437
|
+
* For example, for the following filters, Security Hub first identifies findings that have resource types that start with either `AwsIam` or `AwsEc2` . It then excludes findings that have a resource type of `AwsIamPolicy` and findings that have a resource type of `AwsEc2NetworkInterface` .
|
|
438
|
+
*
|
|
439
|
+
* - `ResourceType PREFIX AwsIam`
|
|
440
|
+
* - `ResourceType PREFIX AwsEc2`
|
|
441
|
+
* - `ResourceType NOT_EQUALS AwsIamPolicy`
|
|
442
|
+
* - `ResourceType NOT_EQUALS AwsEc2NetworkInterface`
|
|
443
|
+
*
|
|
444
|
+
* `CONTAINS` and `NOT_CONTAINS` operators can be used only with automation rules V1. `CONTAINS_WORD` operator is only supported in `GetFindingsV2` , `GetFindingStatisticsV2` , `GetResourcesV2` , and `GetResourceStatisticsV2` APIs. For more information, see [Automation rules](https://docs.aws.amazon.com/securityhub/latest/userguide/automation-rules.html) in the *AWS Security Hub User Guide* .
|
|
392
445
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-stringfilter.html#cfn-securityhub-automationrulev2-stringfilter-comparison}
|
|
393
446
|
*/
|
|
394
447
|
Comparison: "EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS";
|
|
395
448
|
/**
|
|
396
|
-
* The string filter value
|
|
449
|
+
* The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is `Security Hub` . If you provide `security hub` as the filter value, there's no match.
|
|
397
450
|
* @minLength 1
|
|
398
451
|
* @maxLength 4096
|
|
399
452
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-stringfilter.html#cfn-securityhub-automationrulev2-stringfilter-value}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
2
|
/**
|
|
3
|
+
* Returns details about the service resource in your account. This API is in private preview and subject to change.
|
|
3
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html}
|
|
4
5
|
*/
|
|
5
6
|
export type SecurityHubHubV2 = ResourceDefinitionWithAttributes<"AWS::SecurityHub::HubV2", SecurityHubHubV2Props, SecurityHubHubV2Attribs>;
|
|
6
7
|
/**
|
|
8
|
+
* Returns details about the service resource in your account. This API is in private preview and subject to change.
|
|
7
9
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html}
|
|
8
10
|
*/
|
|
9
11
|
export type SecurityHubHubV2Props = {
|
|
10
12
|
/**
|
|
13
|
+
* The tags to add to the hub V2 resource when you enable Security Hub.
|
|
11
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html#cfn-securityhub-hubv2-tags}
|
|
12
15
|
*/
|
|
13
16
|
Tags?: Record<string, string> | undefined;
|
|
@@ -17,12 +20,13 @@ export type SecurityHubHubV2Props = {
|
|
|
17
20
|
*/
|
|
18
21
|
export type SecurityHubHubV2Attribs = {
|
|
19
22
|
/**
|
|
20
|
-
* The
|
|
23
|
+
* The ARN of the service resource.
|
|
21
24
|
* @pattern arn:aws(?:-[a-z]+)*:securityhub:[a-z0-9-]+:\d{12}:hubv2/[^/](.{0,1022}[^/:])?$
|
|
22
25
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html#cfn-securityhub-hubv2-hubv2arn}
|
|
23
26
|
*/
|
|
24
27
|
HubV2Arn: string;
|
|
25
28
|
/**
|
|
29
|
+
* The date and time when the service was enabled in the account.
|
|
26
30
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html#cfn-securityhub-hubv2-subscribedat}
|
|
27
31
|
*/
|
|
28
32
|
SubscribedAt: string;
|
|
@@ -278,7 +278,7 @@ export type RunConfig = {
|
|
|
278
278
|
*/
|
|
279
279
|
EnvironmentVariables?: Record<string, string> | undefined;
|
|
280
280
|
/**
|
|
281
|
-
*
|
|
281
|
+
* Specifies the amount of ephemeral storage (in MB) to allocate for the canary run during execution. This temporary storage is used for storing canary run artifacts (which are uploaded to an Amazon S3 bucket at the end of the run), and any canary browser operations. This temporary storage is cleared after the run is completed. Default storage value is 1024 MB.
|
|
282
282
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html#cfn-synthetics-canary-runconfig-ephemeralstorage}
|
|
283
283
|
*/
|
|
284
284
|
EphemeralStorage?: number | undefined;
|