@propulsionworks/cloudformation 0.1.12 → 0.1.14
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/out/exports/resources.generated/aws-accessanalyzer-analyzer.d.ts +46 -1
- package/out/exports/resources.generated/aws-aiops-investigationgroup.d.ts +133 -0
- package/out/exports/resources.generated/aws-amplify-app.d.ts +30 -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-cleanrooms-collaboration.d.ts +3 -3
- 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-connect-evaluationform.d.ts +20 -2
- package/out/exports/resources.generated/aws-connectcampaignsv2-campaign.d.ts +10 -0
- package/out/exports/resources.generated/aws-customerprofiles-segmentdefinition.d.ts +30 -0
- package/out/exports/resources.generated/aws-datazone-connection.d.ts +1 -1
- package/out/exports/resources.generated/aws-datazone-projectprofile.d.ts +107 -0
- package/out/exports/resources.generated/aws-deadline-fleet.d.ts +2 -2
- 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-trafficmirrorfilter.d.ts +7 -1
- package/out/exports/resources.generated/aws-ec2-trafficmirrorfilterrule.d.ts +3 -2
- package/out/exports/resources.generated/aws-ecr-repositorycreationtemplate.d.ts +1 -1
- package/out/exports/resources.generated/aws-ecs-service.d.ts +62 -4
- 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 +57 -0
- package/out/exports/resources.generated/aws-kendra-datasource.d.ts +128 -1
- package/out/exports/resources.generated/aws-kms-key.d.ts +9 -2
- package/out/exports/resources.generated/aws-lambda-eventsourcemapping.d.ts +16 -1
- 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 +75 -0
- package/out/exports/resources.generated/aws-mpa-approvalteam.d.ts +25 -0
- package/out/exports/resources.generated/aws-mpa-identitysource.d.ts +16 -0
- package/out/exports/resources.generated/aws-neptune-dbinstance.d.ts +0 -4
- package/out/exports/resources.generated/aws-networkfirewall-rulegroup.d.ts +1 -1
- package/out/exports/resources.generated/aws-networkfirewall-tlsinspectionconfiguration.d.ts +1 -1
- package/out/exports/resources.generated/aws-networkmanager-vpcattachment.d.ts +12 -0
- package/out/exports/resources.generated/aws-opsworkscm-server.d.ts +1 -0
- package/out/exports/resources.generated/aws-organizations-policy.d.ts +1 -1
- 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-rum-appmonitor.d.ts +1 -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-sagemaker-model.d.ts +2 -0
- package/out/exports/resources.generated/aws-sagemaker-modelpackage.d.ts +2 -0
- package/out/exports/resources.generated/aws-securityhub-aggregatorv2.d.ts +44 -0
- package/out/exports/resources.generated/aws-securityhub-automationrule.d.ts +1 -1
- package/out/exports/resources.generated/aws-securityhub-automationrulev2.d.ts +456 -0
- package/out/exports/resources.generated/aws-securityhub-hubv2.d.ts +34 -0
- package/out/exports/resources.generated/aws-securityhub-insight.d.ts +1 -1
- package/out/exports/resources.generated/aws-synthetics-canary.d.ts +5 -0
- package/out/exports/resources.generated/aws-wafv2-rulegroup.d.ts +9 -1
- package/out/exports/resources.generated/aws-wafv2-webacl.d.ts +73 -9
- 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/package.json +1 -1
|
@@ -0,0 +1,456 @@
|
|
|
1
|
+
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a V2 automation rule. This API is in private preview and subject to change.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html}
|
|
5
|
+
*/
|
|
6
|
+
export type SecurityHubAutomationRuleV2 = ResourceDefinitionWithAttributes<"AWS::SecurityHub::AutomationRuleV2", SecurityHubAutomationRuleV2Props, SecurityHubAutomationRuleV2Attribs>;
|
|
7
|
+
/**
|
|
8
|
+
* Creates a V2 automation rule. This API is in private preview and subject to change.
|
|
9
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html}
|
|
10
|
+
*/
|
|
11
|
+
export type SecurityHubAutomationRuleV2Props = {
|
|
12
|
+
/**
|
|
13
|
+
* A list of actions to be performed when the rule criteria is met.
|
|
14
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-actions}
|
|
15
|
+
*/
|
|
16
|
+
Actions: AutomationRulesActionV2[];
|
|
17
|
+
/**
|
|
18
|
+
* The filtering type and configuration of the automation rule.
|
|
19
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-criteria}
|
|
20
|
+
*/
|
|
21
|
+
Criteria: Criteria;
|
|
22
|
+
/**
|
|
23
|
+
* A description of the V2 automation rule.
|
|
24
|
+
* @minLength 1
|
|
25
|
+
* @maxLength 256
|
|
26
|
+
* @pattern .*\S.*
|
|
27
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-description}
|
|
28
|
+
*/
|
|
29
|
+
Description: string;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the V2 automation rule.
|
|
32
|
+
* @minLength 1
|
|
33
|
+
* @maxLength 256
|
|
34
|
+
* @pattern .*\S.*
|
|
35
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-rulename}
|
|
36
|
+
*/
|
|
37
|
+
RuleName: string;
|
|
38
|
+
/**
|
|
39
|
+
* The value for the rule priority.
|
|
40
|
+
* @min 1
|
|
41
|
+
* @max 1000
|
|
42
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-ruleorder}
|
|
43
|
+
*/
|
|
44
|
+
RuleOrder: number;
|
|
45
|
+
/**
|
|
46
|
+
* The status of the V2 automation rule.
|
|
47
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-rulestatus}
|
|
48
|
+
*/
|
|
49
|
+
RuleStatus?: "ENABLED" | "DISABLED" | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* A list of key-value pairs associated with the V2 automation rule.
|
|
52
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-tags}
|
|
53
|
+
*/
|
|
54
|
+
Tags?: Record<string, string> | undefined;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#aws-resource-securityhub-automationrulev2-return-values}
|
|
58
|
+
*/
|
|
59
|
+
export type SecurityHubAutomationRuleV2Attribs = {
|
|
60
|
+
/**
|
|
61
|
+
* The timestamp when the V2 automation rule was created.
|
|
62
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-createdat}
|
|
63
|
+
*/
|
|
64
|
+
CreatedAt: string;
|
|
65
|
+
/**
|
|
66
|
+
* The ARN of the V2 automation rule.
|
|
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
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-rulearn}
|
|
69
|
+
*/
|
|
70
|
+
RuleArn: string;
|
|
71
|
+
/**
|
|
72
|
+
* The ID of the V2 automation rule.
|
|
73
|
+
* @pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
|
|
74
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-ruleid}
|
|
75
|
+
*/
|
|
76
|
+
RuleId: string;
|
|
77
|
+
/**
|
|
78
|
+
* The timestamp when the V2 automation rule was updated.
|
|
79
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html#cfn-securityhub-automationrulev2-updatedat}
|
|
80
|
+
*/
|
|
81
|
+
UpdatedAt: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* The logical operator used to combine multiple conditions
|
|
85
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-allowedoperators.html}
|
|
86
|
+
*/
|
|
87
|
+
export type AllowedOperators = "AND" | "OR";
|
|
88
|
+
/**
|
|
89
|
+
* Allows you to configure automated responses.
|
|
90
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html}
|
|
91
|
+
*/
|
|
92
|
+
export type AutomationRulesActionV2 = {
|
|
93
|
+
/**
|
|
94
|
+
* The settings for integrating automation rule actions with external systems or service.
|
|
95
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html#cfn-securityhub-automationrulev2-automationrulesactionv2-externalintegrationconfiguration}
|
|
96
|
+
*/
|
|
97
|
+
ExternalIntegrationConfiguration?: ExternalIntegrationConfiguration | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Specifies that the automation rule action is an update to a finding field.
|
|
100
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html#cfn-securityhub-automationrulev2-automationrulesactionv2-findingfieldsupdate}
|
|
101
|
+
*/
|
|
102
|
+
FindingFieldsUpdate?: AutomationRulesFindingFieldsUpdateV2 | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
|
|
105
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html#cfn-securityhub-automationrulev2-automationrulesactionv2-type}
|
|
106
|
+
*/
|
|
107
|
+
Type: "FINDING_FIELDS_UPDATE" | "EXTERNAL_INTEGRATION";
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Allows you to define the structure for modifying specific fields in security findings.
|
|
111
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html}
|
|
112
|
+
*/
|
|
113
|
+
export type AutomationRulesFindingFieldsUpdateV2 = {
|
|
114
|
+
/**
|
|
115
|
+
* Notes or contextual information for findings that are modified by the automation rule.
|
|
116
|
+
* @pattern .*\S.*
|
|
117
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html#cfn-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2-comment}
|
|
118
|
+
*/
|
|
119
|
+
Comment?: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* The severity level to be assigned to findings that match the automation rule criteria.
|
|
122
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html#cfn-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2-severityid}
|
|
123
|
+
*/
|
|
124
|
+
SeverityId?: number | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* The status to be applied to findings that match automation rule criteria.
|
|
127
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html#cfn-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2-statusid}
|
|
128
|
+
*/
|
|
129
|
+
StatusId?: number | undefined;
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Boolean filter for querying findings.
|
|
133
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-booleanfilter.html}
|
|
134
|
+
*/
|
|
135
|
+
export type BooleanFilter = {
|
|
136
|
+
/**
|
|
137
|
+
* The value of the boolean.
|
|
138
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-booleanfilter.html#cfn-securityhub-automationrulev2-booleanfilter-value}
|
|
139
|
+
*/
|
|
140
|
+
Value: boolean;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Enables the creation of filtering criteria for security findings.
|
|
144
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html}
|
|
145
|
+
*/
|
|
146
|
+
export type CompositeFilter = {
|
|
147
|
+
/**
|
|
148
|
+
* Enables filtering based on boolean field values.
|
|
149
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-booleanfilters}
|
|
150
|
+
*/
|
|
151
|
+
BooleanFilters?: OcsfBooleanFilter[] | undefined;
|
|
152
|
+
/**
|
|
153
|
+
* Enables filtering based on date and timestamp fields.
|
|
154
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-datefilters}
|
|
155
|
+
*/
|
|
156
|
+
DateFilters?: OcsfDateFilter[] | undefined;
|
|
157
|
+
/**
|
|
158
|
+
* Enables the creation of filtering criteria for security findings.
|
|
159
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-mapfilters}
|
|
160
|
+
*/
|
|
161
|
+
MapFilters?: OcsfMapFilter[] | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* Enables filtering based on numerical field values.
|
|
164
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-numberfilters}
|
|
165
|
+
*/
|
|
166
|
+
NumberFilters?: OcsfNumberFilter[] | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* The logical operator used to combine multiple filter conditions.
|
|
169
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-operator}
|
|
170
|
+
*/
|
|
171
|
+
Operator?: AllowedOperators | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* Enables filtering based on string field values.
|
|
174
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-stringfilters}
|
|
175
|
+
*/
|
|
176
|
+
StringFilters?: OcsfStringFilter[] | undefined;
|
|
177
|
+
};
|
|
178
|
+
/**
|
|
179
|
+
* The filtering type and configuration of the automation rule.
|
|
180
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-criteria.html}
|
|
181
|
+
*/
|
|
182
|
+
export type Criteria = {
|
|
183
|
+
/**
|
|
184
|
+
* The filtering conditions that align with OCSF standards.
|
|
185
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-criteria.html#cfn-securityhub-automationrulev2-criteria-ocsffindingcriteria}
|
|
186
|
+
*/
|
|
187
|
+
OcsfFindingCriteria?: OcsfFindingFilters | undefined;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* A date filter for querying findings.
|
|
191
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html}
|
|
192
|
+
*/
|
|
193
|
+
export type DateFilter = {
|
|
194
|
+
/**
|
|
195
|
+
* A date range for the date filter.
|
|
196
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html#cfn-securityhub-automationrulev2-datefilter-daterange}
|
|
197
|
+
*/
|
|
198
|
+
DateRange?: DateRange | undefined;
|
|
199
|
+
/**
|
|
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) .
|
|
203
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html#cfn-securityhub-automationrulev2-datefilter-end}
|
|
204
|
+
*/
|
|
205
|
+
End?: string | undefined;
|
|
206
|
+
/**
|
|
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) .
|
|
210
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html#cfn-securityhub-automationrulev2-datefilter-start}
|
|
211
|
+
*/
|
|
212
|
+
Start?: string | undefined;
|
|
213
|
+
};
|
|
214
|
+
/**
|
|
215
|
+
* A date range for the date filter.
|
|
216
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-daterange.html}
|
|
217
|
+
*/
|
|
218
|
+
export type DateRange = {
|
|
219
|
+
/**
|
|
220
|
+
* A date range unit for the date filter.
|
|
221
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-daterange.html#cfn-securityhub-automationrulev2-daterange-unit}
|
|
222
|
+
*/
|
|
223
|
+
Unit: "DAYS";
|
|
224
|
+
/**
|
|
225
|
+
* A date range value for the date filter.
|
|
226
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-daterange.html#cfn-securityhub-automationrulev2-daterange-value}
|
|
227
|
+
*/
|
|
228
|
+
Value: number;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* The settings for integrating automation rule actions with external systems or service.
|
|
232
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-externalintegrationconfiguration.html}
|
|
233
|
+
*/
|
|
234
|
+
export type ExternalIntegrationConfiguration = {
|
|
235
|
+
/**
|
|
236
|
+
* The ARN of the connector that establishes the integration.
|
|
237
|
+
* @pattern .*\S.*
|
|
238
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-externalintegrationconfiguration.html#cfn-securityhub-automationrulev2-externalintegrationconfiguration-connectorarn}
|
|
239
|
+
*/
|
|
240
|
+
ConnectorArn?: string | undefined;
|
|
241
|
+
};
|
|
242
|
+
/**
|
|
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.
|
|
244
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html}
|
|
245
|
+
*/
|
|
246
|
+
export type MapFilter = {
|
|
247
|
+
/**
|
|
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* .
|
|
269
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html#cfn-securityhub-automationrulev2-mapfilter-comparison}
|
|
270
|
+
*/
|
|
271
|
+
Comparison: "EQUALS" | "NOT_EQUALS";
|
|
272
|
+
/**
|
|
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.
|
|
274
|
+
* @minLength 1
|
|
275
|
+
* @maxLength 4096
|
|
276
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html#cfn-securityhub-automationrulev2-mapfilter-key}
|
|
277
|
+
*/
|
|
278
|
+
Key: string;
|
|
279
|
+
/**
|
|
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.
|
|
281
|
+
* @minLength 1
|
|
282
|
+
* @maxLength 4096
|
|
283
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html#cfn-securityhub-automationrulev2-mapfilter-value}
|
|
284
|
+
*/
|
|
285
|
+
Value: string;
|
|
286
|
+
};
|
|
287
|
+
/**
|
|
288
|
+
* A number filter for querying findings.
|
|
289
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html}
|
|
290
|
+
*/
|
|
291
|
+
export type NumberFilter = {
|
|
292
|
+
/**
|
|
293
|
+
* The equal-to condition to be applied to a single field when querying for findings.
|
|
294
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html#cfn-securityhub-automationrulev2-numberfilter-eq}
|
|
295
|
+
*/
|
|
296
|
+
Eq?: number | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* The greater-than-equal condition to be applied to a single field when querying for findings.
|
|
299
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html#cfn-securityhub-automationrulev2-numberfilter-gte}
|
|
300
|
+
*/
|
|
301
|
+
Gte?: number | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* The less-than-equal condition to be applied to a single field when querying for findings.
|
|
304
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html#cfn-securityhub-automationrulev2-numberfilter-lte}
|
|
305
|
+
*/
|
|
306
|
+
Lte?: number | undefined;
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* Enables filtering of security findings based on boolean field values in OCSF.
|
|
310
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfbooleanfilter.html}
|
|
311
|
+
*/
|
|
312
|
+
export type OcsfBooleanFilter = {
|
|
313
|
+
/**
|
|
314
|
+
* The name of the field.
|
|
315
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfbooleanfilter.html#cfn-securityhub-automationrulev2-ocsfbooleanfilter-fieldname}
|
|
316
|
+
*/
|
|
317
|
+
FieldName: "compliance.assessments.meets_criteria" | "vulnerabilities.is_exploit_available" | "vulnerabilities.is_fix_available";
|
|
318
|
+
/**
|
|
319
|
+
* Enables filtering of security findings based on boolean field values in OCSF.
|
|
320
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfbooleanfilter.html#cfn-securityhub-automationrulev2-ocsfbooleanfilter-filter}
|
|
321
|
+
*/
|
|
322
|
+
Filter: BooleanFilter;
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* Enables filtering of security findings based on date and timestamp fields in OCSF.
|
|
326
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfdatefilter.html}
|
|
327
|
+
*/
|
|
328
|
+
export type OcsfDateFilter = {
|
|
329
|
+
/**
|
|
330
|
+
* The name of the field.
|
|
331
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfdatefilter.html#cfn-securityhub-automationrulev2-ocsfdatefilter-fieldname}
|
|
332
|
+
*/
|
|
333
|
+
FieldName: "finding_info.created_time_dt" | "finding_info.first_seen_time_dt" | "finding_info.last_seen_time_dt" | "finding_info.modified_time_dt";
|
|
334
|
+
/**
|
|
335
|
+
* Enables filtering of security findings based on date and timestamp fields in OCSF.
|
|
336
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfdatefilter.html#cfn-securityhub-automationrulev2-ocsfdatefilter-filter}
|
|
337
|
+
*/
|
|
338
|
+
Filter: DateFilter;
|
|
339
|
+
};
|
|
340
|
+
/**
|
|
341
|
+
* Specifies the filtering criteria for security findings using OCSF.
|
|
342
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html}
|
|
343
|
+
*/
|
|
344
|
+
export type OcsfFindingFilters = {
|
|
345
|
+
/**
|
|
346
|
+
* Enables the creation of complex filtering conditions by combining filter criteria.
|
|
347
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html#cfn-securityhub-automationrulev2-ocsffindingfilters-compositefilters}
|
|
348
|
+
*/
|
|
349
|
+
CompositeFilters?: CompositeFilter[] | undefined;
|
|
350
|
+
/**
|
|
351
|
+
* The logical operators used to combine the filtering on multiple `CompositeFilters` .
|
|
352
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html#cfn-securityhub-automationrulev2-ocsffindingfilters-compositeoperator}
|
|
353
|
+
*/
|
|
354
|
+
CompositeOperator?: AllowedOperators | undefined;
|
|
355
|
+
};
|
|
356
|
+
/**
|
|
357
|
+
* Enables filtering of security findings based on map field values in OCSF.
|
|
358
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfmapfilter.html}
|
|
359
|
+
*/
|
|
360
|
+
export type OcsfMapFilter = {
|
|
361
|
+
/**
|
|
362
|
+
* The name of the field.
|
|
363
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfmapfilter.html#cfn-securityhub-automationrulev2-ocsfmapfilter-fieldname}
|
|
364
|
+
*/
|
|
365
|
+
FieldName: "resources.tags";
|
|
366
|
+
/**
|
|
367
|
+
* Enables filtering of security findings based on map field values in OCSF.
|
|
368
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfmapfilter.html#cfn-securityhub-automationrulev2-ocsfmapfilter-filter}
|
|
369
|
+
*/
|
|
370
|
+
Filter: MapFilter;
|
|
371
|
+
};
|
|
372
|
+
/**
|
|
373
|
+
* Enables filtering of security findings based on numerical field values in OCSF.
|
|
374
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfnumberfilter.html}
|
|
375
|
+
*/
|
|
376
|
+
export type OcsfNumberFilter = {
|
|
377
|
+
/**
|
|
378
|
+
* The name of the field.
|
|
379
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfnumberfilter.html#cfn-securityhub-automationrulev2-ocsfnumberfilter-fieldname}
|
|
380
|
+
*/
|
|
381
|
+
FieldName: "activity_id" | "compliance.status_id" | "confidence_score" | "severity_id" | "status_id" | "finding_info.related_events_count";
|
|
382
|
+
/**
|
|
383
|
+
* Enables filtering of security findings based on numerical field values in OCSF.
|
|
384
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfnumberfilter.html#cfn-securityhub-automationrulev2-ocsfnumberfilter-filter}
|
|
385
|
+
*/
|
|
386
|
+
Filter: NumberFilter;
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* The name of the field
|
|
390
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfield.html}
|
|
391
|
+
*/
|
|
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";
|
|
393
|
+
/**
|
|
394
|
+
* Enables filtering of security findings based on string field values in OCSF.
|
|
395
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfilter.html}
|
|
396
|
+
*/
|
|
397
|
+
export type OcsfStringFilter = {
|
|
398
|
+
/**
|
|
399
|
+
* The name of the field.
|
|
400
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfilter.html#cfn-securityhub-automationrulev2-ocsfstringfilter-fieldname}
|
|
401
|
+
*/
|
|
402
|
+
FieldName: OcsfStringField;
|
|
403
|
+
/**
|
|
404
|
+
* Enables filtering of security findings based on string field values in OCSF.
|
|
405
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfilter.html#cfn-securityhub-automationrulev2-ocsfstringfilter-filter}
|
|
406
|
+
*/
|
|
407
|
+
Filter: StringFilter;
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* A string filter for filtering AWS Security Hub findings.
|
|
411
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-stringfilter.html}
|
|
412
|
+
*/
|
|
413
|
+
export type StringFilter = {
|
|
414
|
+
/**
|
|
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* .
|
|
445
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-stringfilter.html#cfn-securityhub-automationrulev2-stringfilter-comparison}
|
|
446
|
+
*/
|
|
447
|
+
Comparison: "EQUALS" | "PREFIX" | "NOT_EQUALS" | "PREFIX_NOT_EQUALS" | "CONTAINS";
|
|
448
|
+
/**
|
|
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.
|
|
450
|
+
* @minLength 1
|
|
451
|
+
* @maxLength 4096
|
|
452
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-stringfilter.html#cfn-securityhub-automationrulev2-stringfilter-value}
|
|
453
|
+
*/
|
|
454
|
+
Value: string;
|
|
455
|
+
};
|
|
456
|
+
//# sourceMappingURL=aws-securityhub-automationrulev2.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { ResourceDefinitionWithAttributes } from "../main.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Returns details about the service resource in your account. This API is in private preview and subject to change.
|
|
4
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html}
|
|
5
|
+
*/
|
|
6
|
+
export type SecurityHubHubV2 = ResourceDefinitionWithAttributes<"AWS::SecurityHub::HubV2", SecurityHubHubV2Props, SecurityHubHubV2Attribs>;
|
|
7
|
+
/**
|
|
8
|
+
* Returns details about the service resource in your account. This API is in private preview and subject to change.
|
|
9
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html}
|
|
10
|
+
*/
|
|
11
|
+
export type SecurityHubHubV2Props = {
|
|
12
|
+
/**
|
|
13
|
+
* The tags to add to the hub V2 resource when you enable Security Hub.
|
|
14
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html#cfn-securityhub-hubv2-tags}
|
|
15
|
+
*/
|
|
16
|
+
Tags?: Record<string, string> | undefined;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html#aws-resource-securityhub-hubv2-return-values}
|
|
20
|
+
*/
|
|
21
|
+
export type SecurityHubHubV2Attribs = {
|
|
22
|
+
/**
|
|
23
|
+
* The ARN of the service resource.
|
|
24
|
+
* @pattern arn:aws(?:-[a-z]+)*:securityhub:[a-z0-9-]+:\d{12}:hubv2/[^/](.{0,1022}[^/:])?$
|
|
25
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html#cfn-securityhub-hubv2-hubv2arn}
|
|
26
|
+
*/
|
|
27
|
+
HubV2Arn: string;
|
|
28
|
+
/**
|
|
29
|
+
* The date and time when the service was enabled in the account.
|
|
30
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hubv2.html#cfn-securityhub-hubv2-subscribedat}
|
|
31
|
+
*/
|
|
32
|
+
SubscribedAt: string;
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=aws-securityhub-hubv2.d.ts.map
|
|
@@ -807,7 +807,7 @@ export type StringFilter = {
|
|
|
807
807
|
* - `ResourceType NOT_EQUALS AwsIamPolicy`
|
|
808
808
|
* - `ResourceType NOT_EQUALS AwsEc2NetworkInterface`
|
|
809
809
|
*
|
|
810
|
-
* `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* .
|
|
810
|
+
* `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* .
|
|
811
811
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-insight-stringfilter.html#cfn-securityhub-insight-stringfilter-comparison}
|
|
812
812
|
*/
|
|
813
813
|
Comparison: StringFilterComparison;
|
|
@@ -277,6 +277,11 @@ export type RunConfig = {
|
|
|
277
277
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html#cfn-synthetics-canary-runconfig-environmentvariables}
|
|
278
278
|
*/
|
|
279
279
|
EnvironmentVariables?: Record<string, string> | undefined;
|
|
280
|
+
/**
|
|
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
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html#cfn-synthetics-canary-runconfig-ephemeralstorage}
|
|
283
|
+
*/
|
|
284
|
+
EphemeralStorage?: number | undefined;
|
|
280
285
|
/**
|
|
281
286
|
* The maximum amount of memory that the canary can use while running. This value must be a multiple of 64. The range is 960 to 3008.
|
|
282
287
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-synthetics-canary-runconfig.html#cfn-synthetics-canary-runconfig-memoryinmb}
|
|
@@ -122,14 +122,19 @@ export type AndStatement = {
|
|
|
122
122
|
Statements: Statement[];
|
|
123
123
|
};
|
|
124
124
|
/**
|
|
125
|
+
* A rule statement that inspects web traffic based on the Autonomous System Number (ASN) associated with the request's IP address.
|
|
126
|
+
*
|
|
127
|
+
* For additional details, see [ASN match rule statement](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-asn-match.html) in the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) .
|
|
125
128
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-asnmatchstatement.html}
|
|
126
129
|
*/
|
|
127
130
|
export type AsnMatchStatement = {
|
|
128
131
|
/**
|
|
132
|
+
* Contains one or more Autonomous System Numbers (ASNs). ASNs are unique identifiers assigned to large internet networks managed by organizations such as internet service providers, enterprises, universities, or government agencies.
|
|
129
133
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-asnmatchstatement.html#cfn-wafv2-rulegroup-asnmatchstatement-asnlist}
|
|
130
134
|
*/
|
|
131
135
|
AsnList?: number[] | undefined;
|
|
132
136
|
/**
|
|
137
|
+
* The configuration for inspecting IP addresses to match against an ASN in an HTTP header that you specify, instead of using the IP address that's reported by the web request origin. Commonly, this is the X-Forwarded-For (XFF) header, but you can specify any header name.
|
|
133
138
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-asnmatchstatement.html#cfn-wafv2-rulegroup-asnmatchstatement-forwardedipconfig}
|
|
134
139
|
*/
|
|
135
140
|
ForwardedIPConfig?: ForwardedIPConfiguration | undefined;
|
|
@@ -1111,7 +1116,7 @@ export type RateBasedStatement = {
|
|
|
1111
1116
|
*/
|
|
1112
1117
|
export type RateBasedStatementCustomKey = {
|
|
1113
1118
|
/**
|
|
1114
|
-
*
|
|
1119
|
+
* Use an Autonomous System Number (ASN) derived from the request's originating or forwarded IP address as an aggregate key. Each distinct ASN contributes to the aggregation instance.
|
|
1115
1120
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-ratebasedstatementcustomkey.html#cfn-wafv2-rulegroup-ratebasedstatementcustomkey-asn}
|
|
1116
1121
|
*/
|
|
1117
1122
|
ASN?: Record<string, unknown> | undefined;
|
|
@@ -1546,6 +1551,9 @@ export type Statement = {
|
|
|
1546
1551
|
*/
|
|
1547
1552
|
AndStatement?: AndStatement | undefined;
|
|
1548
1553
|
/**
|
|
1554
|
+
* A rule statement that inspects web traffic based on the Autonomous System Number (ASN) associated with the request's IP address.
|
|
1555
|
+
*
|
|
1556
|
+
* For additional details, see [ASN match rule statement](https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-statement-type-asn-match.html) in the [AWS WAF Developer Guide](https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html) .
|
|
1549
1557
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wafv2-rulegroup-statement.html#cfn-wafv2-rulegroup-statement-asnmatchstatement}
|
|
1550
1558
|
*/
|
|
1551
1559
|
AsnMatchStatement?: AsnMatchStatement | undefined;
|