@aws-sdk/client-securityhub 3.1149.0 → 3.1151.0
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/dist-cjs/index.js +103 -58
- package/dist-es/models/enums.js +69 -48
- package/dist-es/schemas/schemas_0.js +29 -9
- package/dist-types/commands/CreateAutomationRuleV2Command.d.ts +110 -3
- package/dist-types/commands/GetAutomationRuleV2Command.d.ts +110 -3
- package/dist-types/commands/GetExportJobV2Command.d.ts +2 -2
- package/dist-types/commands/GetFindingStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetFindingsV2Command.d.ts +2 -2
- package/dist-types/commands/GetRecommendedPolicyV2Command.d.ts +2 -1
- package/dist-types/commands/GetResourcesStatisticsV2Command.d.ts +3 -3
- package/dist-types/commands/GetResourcesV2Command.d.ts +9 -2
- package/dist-types/commands/ListAutomationRulesV2Command.d.ts +1 -1
- package/dist-types/commands/StartExportJobV2Command.d.ts +2 -2
- package/dist-types/commands/UpdateAutomationRuleV2Command.d.ts +110 -3
- package/dist-types/models/enums.d.ts +117 -80
- package/dist-types/models/models_0.d.ts +17 -23
- package/dist-types/models/models_1.d.ts +23 -34
- package/dist-types/models/models_2.d.ts +116 -141
- package/dist-types/models/models_3.d.ts +337 -241
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRecommendedPolicyV2Command.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +76 -52
- package/dist-types/ts3.4/models/models_0.d.ts +5 -7
- package/dist-types/ts3.4/models/models_1.d.ts +8 -7
- package/dist-types/ts3.4/models/models_2.d.ts +32 -46
- package/dist-types/ts3.4/models/models_3.d.ts +111 -70
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +3 -3
|
@@ -1,8 +1,147 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, CloudProviderName, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, ExportDataType, ExportFailureCode, ExportStatus, FindingsExportFormat, FindingsSelectableField, FreeTrialStatusValue, GranularityField, GroupByField, GuidanceFormat, RecordState, RegionAvailabilityStatus, RemediationPriority, RemediationStatus,
|
|
3
|
-
import type { AccountFreeTrialStatus, AdminAccount, AggregatorV2, AIDetails, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2,
|
|
2
|
+
import type { AllowedOperators, AssociationStatus, AssociationType, AutoEnableStandards, CloudProviderName, ConfigurationPolicyAssociationStatus, ConnectorProviderName, ConnectorStatus, ControlFindingGenerator, ControlStatus, CspmConnectorProviderName, CspmConnectorStatus, CspmEnablementStatus, DiscoveryType, EnablementStatus, ExportDataType, ExportFailureCode, ExportStatus, FindingsExportFormat, FindingsSelectableField, FreeTrialStatusValue, GranularityField, GroupByField, GuidanceFormat, RecommendationStatus, RecommendationType, RecordState, RegionAvailabilityStatus, RemediationPriority, RemediationStatus, RemediationStringField, ResourceCategory, ResourceCriticality, ResourceGroupByField, ResourcesTrendsStringField, ResourceSubCategory, RuleStatusV2, SecurityControlProperty, SecurityControlsProvider, SecurityHubFeature, SeverityRating, SortOrder, TargetType } from "./enums";
|
|
3
|
+
import type { AccountFreeTrialStatus, AdminAccount, AggregatorV2, AIDetails, AssociationFilters, AutomationRulesActionV2, AutomationRulesMetadata, AutomationRulesMetadataV2, NoteUpdate, StringFilter } from "./models_0";
|
|
4
4
|
import type { AwsOrganizationScope } from "./models_1";
|
|
5
|
-
import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CspmConnectorSummary, CspmProviderUpdateConfiguration, ExportDestination, ExportScopes, ExportSummary, ExposureFinding, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, GroupByResult, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy,
|
|
5
|
+
import type { AwsSecurityFindingFilters, AzureUpdateConfiguration, ConfigurationOptions, ConfigurationPolicyAssociationSummary, ConfigurationPolicySummary, ConnectorSummary, CriticalitySource, CspmConnectorSummary, CspmProviderUpdateConfiguration, ExportDestination, ExportScopes, ExportSummary, ExposureFinding, FindingAggregator, FindingScopes, FindingsTrendsStringFilter, GroupByResult, Invitation, Member, OcsfBooleanFilter, OcsfDateFilter, OcsfIpFilter, OcsfMapFilter, OcsfNumberFilter, OcsfStringFilter, OrganizationConfiguration, ParameterConfiguration, Policy, RecommendationError, ResourcesDateFilter, ResourcesMapFilter, ResourcesNumberFilter, ResourcesStringFilter, Result, SortCriterion, Target } from "./models_2";
|
|
6
|
+
/**
|
|
7
|
+
* <p>Contains information about the action to take for a policy in an unused permissions finding.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface UnusedPermissionsRecommendationStep {
|
|
11
|
+
/**
|
|
12
|
+
* <p>A recommendation of whether to create or detach a policy for an unused permissions finding.</p>
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
RecommendedAction?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* <p>The contents of the existing policy identified by <code>ExistingPolicyId</code> which needs to be replaced,
|
|
18
|
+
* when the <code>RecommendedAction</code> is <code>CREATE_POLICY</code>.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
ExistingPolicy?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The ID of an existing policy to be replaced or detached.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
ExistingPolicyId?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The time at which the existing policy for the unused permissions finding was last updated.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
PolicyUpdatedAt?: Date | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The contents of the least-privileged recommended replacement for <code>ExistingPolicyId</code>,
|
|
34
|
+
* when the <code>RecommendedAction</code> is <code>CREATE_POLICY</code>.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
RecommendedPolicy?: string | undefined;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* <p>Contains information about a recommended step to remediate a Security Hub finding.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export type RecommendationStep = RecommendationStep.UnusedPermissionsMember | RecommendationStep.$UnknownMember;
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare namespace RecommendationStep {
|
|
48
|
+
/**
|
|
49
|
+
* <p>A recommended step to remediate an unused permissions finding.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
interface UnusedPermissionsMember {
|
|
53
|
+
UnusedPermissions: UnusedPermissionsRecommendationStep;
|
|
54
|
+
$unknown?: never;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
interface $UnknownMember {
|
|
60
|
+
UnusedPermissions?: never;
|
|
61
|
+
$unknown: [string, any];
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @deprecated unused in schema-serde mode.
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
interface Visitor<T> {
|
|
68
|
+
UnusedPermissions: (value: UnusedPermissionsRecommendationStep) => T;
|
|
69
|
+
_: (name: string, value: any) => T;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export interface GetRecommendedPolicyV2Response {
|
|
76
|
+
/**
|
|
77
|
+
* <p>The pagination token to use to request the next page of results.</p>
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
NextToken?: string | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* <p>The type of recommendation for the finding.</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
RecommendationType?: RecommendationType | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>The recommended steps to take to resolve the finding.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
RecommendationSteps?: RecommendationStep[] | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* <p>Detailed information for a <code>FAILED</code> retrieval status.</p>
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
Error?: RecommendationError | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>The current status of the recommended policy retrieval.</p>
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
Status?: RecommendationStatus | undefined;
|
|
101
|
+
/**
|
|
102
|
+
* <p>The ARN of the resource of the finding.</p>
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
ResourceArn?: string | undefined;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* <p>The condition to apply to the string filter.</p>
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export interface RemediationStringFilterCondition {
|
|
112
|
+
/**
|
|
113
|
+
* <p>The value the string filter is comparing against.</p>
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
Value: string | undefined;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* <p>A string filter for filtering remediation targets.</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
export interface RemediationStringFilter {
|
|
123
|
+
/**
|
|
124
|
+
* <p>The name of the filter field. Valid values are <code>Resource.Type</code>, <code>Priority</code>, <code>Status</code>, <code>Resource.Id</code>, <code>Resource.ResourceOwnerAccountId</code>, and <code>Resource.CloudProvider</code>.</p>
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
FieldName: RemediationStringField | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The string filter definition.</p>
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
Filter: RemediationStringFilterCondition | undefined;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* <p>Enables the creation of criteria for remediation targets.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export interface RemediationCompositeFilter {
|
|
139
|
+
/**
|
|
140
|
+
* <p>Enables filtering based on string field values.</p>
|
|
141
|
+
* @public
|
|
142
|
+
*/
|
|
143
|
+
StringFilters?: RemediationStringFilter[] | undefined;
|
|
144
|
+
}
|
|
6
145
|
/**
|
|
7
146
|
* <p>Contains the criteria used to filter remediation targets, such as resource type, priority,
|
|
8
147
|
* or status.</p>
|
|
@@ -567,71 +706,6 @@ export interface GetRemediationsV2Response {
|
|
|
567
706
|
*/
|
|
568
707
|
NextToken?: string | undefined;
|
|
569
708
|
}
|
|
570
|
-
/**
|
|
571
|
-
* <p>Enables the filtering of Amazon Web Services resources based on date and timestamp attributes.</p>
|
|
572
|
-
* @public
|
|
573
|
-
*/
|
|
574
|
-
export interface ResourcesDateFilter {
|
|
575
|
-
/**
|
|
576
|
-
* <p>The name of the field.</p>
|
|
577
|
-
* @public
|
|
578
|
-
*/
|
|
579
|
-
FieldName?: ResourcesDateField | undefined;
|
|
580
|
-
/**
|
|
581
|
-
* <p>A date filter for querying findings.</p>
|
|
582
|
-
* @public
|
|
583
|
-
*/
|
|
584
|
-
Filter?: DateFilter | undefined;
|
|
585
|
-
}
|
|
586
|
-
/**
|
|
587
|
-
* <p>Enables filtering of Amazon Web Services resources based on key-value map attributes.</p>
|
|
588
|
-
* @public
|
|
589
|
-
*/
|
|
590
|
-
export interface ResourcesMapFilter {
|
|
591
|
-
/**
|
|
592
|
-
* <p>The name of the field.</p>
|
|
593
|
-
* @public
|
|
594
|
-
*/
|
|
595
|
-
FieldName?: ResourcesMapField | undefined;
|
|
596
|
-
/**
|
|
597
|
-
* <p>A map filter for filtering Security Hub CSPM findings. Each map filter provides the field to check for, the
|
|
598
|
-
* value to check for, and the comparison operator.</p>
|
|
599
|
-
* @public
|
|
600
|
-
*/
|
|
601
|
-
Filter?: MapFilter | undefined;
|
|
602
|
-
}
|
|
603
|
-
/**
|
|
604
|
-
* <p>Enables filtering of Amazon Web Services resources based on numerical values.</p>
|
|
605
|
-
* @public
|
|
606
|
-
*/
|
|
607
|
-
export interface ResourcesNumberFilter {
|
|
608
|
-
/**
|
|
609
|
-
* <p>The name of the field.</p>
|
|
610
|
-
* @public
|
|
611
|
-
*/
|
|
612
|
-
FieldName?: ResourcesNumberField | undefined;
|
|
613
|
-
/**
|
|
614
|
-
* <p>A number filter for querying findings.</p>
|
|
615
|
-
* @public
|
|
616
|
-
*/
|
|
617
|
-
Filter?: NumberFilter | undefined;
|
|
618
|
-
}
|
|
619
|
-
/**
|
|
620
|
-
* <p>Enables filtering of Amazon Web Services resources based on string field values.</p>
|
|
621
|
-
* @public
|
|
622
|
-
*/
|
|
623
|
-
export interface ResourcesStringFilter {
|
|
624
|
-
/**
|
|
625
|
-
* <p>The name of the field.</p>
|
|
626
|
-
* @public
|
|
627
|
-
*/
|
|
628
|
-
FieldName?: ResourcesStringField | undefined;
|
|
629
|
-
/**
|
|
630
|
-
* <p>A string filter for filtering Security Hub CSPM findings.</p>
|
|
631
|
-
* @public
|
|
632
|
-
*/
|
|
633
|
-
Filter?: StringFilter | undefined;
|
|
634
|
-
}
|
|
635
709
|
/**
|
|
636
710
|
* <p>Defines the data boundary for a resources query. Scopes determine which organizational units or organizations to retrieve data from.</p>
|
|
637
711
|
* @public
|
|
@@ -970,6 +1044,16 @@ export interface ResourceResult {
|
|
|
970
1044
|
* @public
|
|
971
1045
|
*/
|
|
972
1046
|
ResourceInfo?: ResourceInfo | undefined;
|
|
1047
|
+
/**
|
|
1048
|
+
* <p>The criticality assigned to a resource.</p>
|
|
1049
|
+
* @public
|
|
1050
|
+
*/
|
|
1051
|
+
ResourceCriticality?: ResourceCriticality | undefined;
|
|
1052
|
+
/**
|
|
1053
|
+
* <p>The sources of criticalities determined from a resource.</p>
|
|
1054
|
+
* @public
|
|
1055
|
+
*/
|
|
1056
|
+
CriticalitySources?: CriticalitySource[] | undefined;
|
|
973
1057
|
}
|
|
974
1058
|
/**
|
|
975
1059
|
* @public
|
|
@@ -2931,39 +3015,6 @@ export interface ResourcesTrendsFilters {
|
|
|
2931
3015
|
*/
|
|
2932
3016
|
CompositeOperator?: AllowedOperators | undefined;
|
|
2933
3017
|
}
|
|
2934
|
-
/**
|
|
2935
|
-
* <p>Defines the parameters and conditions used to evaluate and filter security findings.</p>
|
|
2936
|
-
* @public
|
|
2937
|
-
*/
|
|
2938
|
-
export type Criteria = Criteria.OcsfFindingCriteriaMember | Criteria.$UnknownMember;
|
|
2939
|
-
/**
|
|
2940
|
-
* @public
|
|
2941
|
-
*/
|
|
2942
|
-
export declare namespace Criteria {
|
|
2943
|
-
/**
|
|
2944
|
-
* <p>The filtering conditions that align with OCSF standards.</p>
|
|
2945
|
-
* @public
|
|
2946
|
-
*/
|
|
2947
|
-
interface OcsfFindingCriteriaMember {
|
|
2948
|
-
OcsfFindingCriteria: OcsfFindingFilters;
|
|
2949
|
-
$unknown?: never;
|
|
2950
|
-
}
|
|
2951
|
-
/**
|
|
2952
|
-
* @public
|
|
2953
|
-
*/
|
|
2954
|
-
interface $UnknownMember {
|
|
2955
|
-
OcsfFindingCriteria?: never;
|
|
2956
|
-
$unknown: [string, any];
|
|
2957
|
-
}
|
|
2958
|
-
/**
|
|
2959
|
-
* @deprecated unused in schema-serde mode.
|
|
2960
|
-
*
|
|
2961
|
-
*/
|
|
2962
|
-
interface Visitor<T> {
|
|
2963
|
-
OcsfFindingCriteria: (value: OcsfFindingFilters) => T;
|
|
2964
|
-
_: (name: string, value: any) => T;
|
|
2965
|
-
}
|
|
2966
|
-
}
|
|
2967
3018
|
/**
|
|
2968
3019
|
* <p>The configuration for a findings export: the output format, an optional set of filters, and the fields to include.</p>
|
|
2969
3020
|
* @public
|
|
@@ -3161,51 +3212,6 @@ export interface ResourceGroupByRule {
|
|
|
3161
3212
|
*/
|
|
3162
3213
|
Filters?: ResourcesFilters | undefined;
|
|
3163
3214
|
}
|
|
3164
|
-
/**
|
|
3165
|
-
* @public
|
|
3166
|
-
*/
|
|
3167
|
-
export interface CreateAutomationRuleV2Request {
|
|
3168
|
-
/**
|
|
3169
|
-
* <p>The name of the V2 automation rule.</p>
|
|
3170
|
-
* @public
|
|
3171
|
-
*/
|
|
3172
|
-
RuleName: string | undefined;
|
|
3173
|
-
/**
|
|
3174
|
-
* <p>The status of the V2 automation rule.</p>
|
|
3175
|
-
* @public
|
|
3176
|
-
*/
|
|
3177
|
-
RuleStatus?: RuleStatusV2 | undefined;
|
|
3178
|
-
/**
|
|
3179
|
-
* <p>A description of the V2 automation rule.</p>
|
|
3180
|
-
* @public
|
|
3181
|
-
*/
|
|
3182
|
-
Description: string | undefined;
|
|
3183
|
-
/**
|
|
3184
|
-
* <p>The value for the rule priority.</p>
|
|
3185
|
-
* @public
|
|
3186
|
-
*/
|
|
3187
|
-
RuleOrder: number | undefined;
|
|
3188
|
-
/**
|
|
3189
|
-
* <p>The filtering type and configuration of the automation rule.</p>
|
|
3190
|
-
* @public
|
|
3191
|
-
*/
|
|
3192
|
-
Criteria: Criteria | undefined;
|
|
3193
|
-
/**
|
|
3194
|
-
* <p>A list of actions to be performed when the rule criteria is met.</p>
|
|
3195
|
-
* @public
|
|
3196
|
-
*/
|
|
3197
|
-
Actions: AutomationRulesActionV2[] | undefined;
|
|
3198
|
-
/**
|
|
3199
|
-
* <p>A list of key-value pairs associated with the V2 automation rule.</p>
|
|
3200
|
-
* @public
|
|
3201
|
-
*/
|
|
3202
|
-
Tags?: Record<string, string> | undefined;
|
|
3203
|
-
/**
|
|
3204
|
-
* <p>A unique identifier used to ensure idempotency.</p>
|
|
3205
|
-
* @public
|
|
3206
|
-
*/
|
|
3207
|
-
ClientToken?: string | undefined;
|
|
3208
|
-
}
|
|
3209
3215
|
/**
|
|
3210
3216
|
* <p>Specifies what data to export and how to format it. This is a union: you must specify exactly one member. Currently, the only supported member is <code>Findings</code>.</p>
|
|
3211
3217
|
* @public
|
|
@@ -3239,101 +3245,6 @@ export declare namespace ExportOutput {
|
|
|
3239
3245
|
_: (name: string, value: any) => T;
|
|
3240
3246
|
}
|
|
3241
3247
|
}
|
|
3242
|
-
/**
|
|
3243
|
-
* @public
|
|
3244
|
-
*/
|
|
3245
|
-
export interface GetAutomationRuleV2Response {
|
|
3246
|
-
/**
|
|
3247
|
-
* <p>The ARN of the V2 automation rule.</p>
|
|
3248
|
-
* @public
|
|
3249
|
-
*/
|
|
3250
|
-
RuleArn?: string | undefined;
|
|
3251
|
-
/**
|
|
3252
|
-
* <p>The ID of the V2 automation rule.</p>
|
|
3253
|
-
* @public
|
|
3254
|
-
*/
|
|
3255
|
-
RuleId?: string | undefined;
|
|
3256
|
-
/**
|
|
3257
|
-
* <p>The value for the rule priority.</p>
|
|
3258
|
-
* @public
|
|
3259
|
-
*/
|
|
3260
|
-
RuleOrder?: number | undefined;
|
|
3261
|
-
/**
|
|
3262
|
-
* <p>The name of the V2 automation rule.</p>
|
|
3263
|
-
* @public
|
|
3264
|
-
*/
|
|
3265
|
-
RuleName?: string | undefined;
|
|
3266
|
-
/**
|
|
3267
|
-
* <p>The status of the V2 automation automation rule.</p>
|
|
3268
|
-
* @public
|
|
3269
|
-
*/
|
|
3270
|
-
RuleStatus?: RuleStatusV2 | undefined;
|
|
3271
|
-
/**
|
|
3272
|
-
* <p>A description of the automation rule.</p>
|
|
3273
|
-
* @public
|
|
3274
|
-
*/
|
|
3275
|
-
Description?: string | undefined;
|
|
3276
|
-
/**
|
|
3277
|
-
* <p>The filtering type and configuration of the V2 automation rule.</p>
|
|
3278
|
-
* @public
|
|
3279
|
-
*/
|
|
3280
|
-
Criteria?: Criteria | undefined;
|
|
3281
|
-
/**
|
|
3282
|
-
* <p>A list of actions performed when the rule criteria is met.</p>
|
|
3283
|
-
* @public
|
|
3284
|
-
*/
|
|
3285
|
-
Actions?: AutomationRulesActionV2[] | undefined;
|
|
3286
|
-
/**
|
|
3287
|
-
* <p>The timestamp when the V2 automation rule was created.</p>
|
|
3288
|
-
* @public
|
|
3289
|
-
*/
|
|
3290
|
-
CreatedAt?: Date | undefined;
|
|
3291
|
-
/**
|
|
3292
|
-
* <p>The timestamp when the V2 automation rule was updated.</p>
|
|
3293
|
-
* @public
|
|
3294
|
-
*/
|
|
3295
|
-
UpdatedAt?: Date | undefined;
|
|
3296
|
-
}
|
|
3297
|
-
/**
|
|
3298
|
-
* @public
|
|
3299
|
-
*/
|
|
3300
|
-
export interface UpdateAutomationRuleV2Request {
|
|
3301
|
-
/**
|
|
3302
|
-
* <p>The ARN of the automation rule.</p>
|
|
3303
|
-
* @public
|
|
3304
|
-
*/
|
|
3305
|
-
Identifier: string | undefined;
|
|
3306
|
-
/**
|
|
3307
|
-
* <p>The status of the automation rule.</p>
|
|
3308
|
-
* @public
|
|
3309
|
-
*/
|
|
3310
|
-
RuleStatus?: RuleStatusV2 | undefined;
|
|
3311
|
-
/**
|
|
3312
|
-
* <p>Represents a value for the rule priority.</p>
|
|
3313
|
-
* @public
|
|
3314
|
-
*/
|
|
3315
|
-
RuleOrder?: number | undefined;
|
|
3316
|
-
/**
|
|
3317
|
-
* <p>A description of the automation rule.</p>
|
|
3318
|
-
* @public
|
|
3319
|
-
*/
|
|
3320
|
-
Description?: string | undefined;
|
|
3321
|
-
/**
|
|
3322
|
-
* <p>The name of the automation rule.</p>
|
|
3323
|
-
* @public
|
|
3324
|
-
*/
|
|
3325
|
-
RuleName?: string | undefined;
|
|
3326
|
-
/**
|
|
3327
|
-
* <p>The filtering type and configuration of the automation rule.</p>
|
|
3328
|
-
* @public
|
|
3329
|
-
*/
|
|
3330
|
-
Criteria?: Criteria | undefined;
|
|
3331
|
-
/**
|
|
3332
|
-
* <p>A list of actions to be performed when the rule criteria is met.</p>
|
|
3333
|
-
* @public
|
|
3334
|
-
*/
|
|
3335
|
-
Actions?: AutomationRulesActionV2[] | undefined;
|
|
3336
|
-
}
|
|
3337
3248
|
/**
|
|
3338
3249
|
* @public
|
|
3339
3250
|
*/
|
|
@@ -3486,3 +3397,188 @@ export interface StartExportJobV2Request {
|
|
|
3486
3397
|
*/
|
|
3487
3398
|
ClientToken?: string | undefined;
|
|
3488
3399
|
}
|
|
3400
|
+
/**
|
|
3401
|
+
* <p>Defines the parameters and conditions used to evaluate and filter security findings or resources.</p>
|
|
3402
|
+
* @public
|
|
3403
|
+
*/
|
|
3404
|
+
export type Criteria = Criteria.OcsfFindingCriteriaMember | Criteria.ResourceCriteriaMember | Criteria.$UnknownMember;
|
|
3405
|
+
/**
|
|
3406
|
+
* @public
|
|
3407
|
+
*/
|
|
3408
|
+
export declare namespace Criteria {
|
|
3409
|
+
/**
|
|
3410
|
+
* <p>The filtering conditions that align with OCSF standards.</p>
|
|
3411
|
+
* @public
|
|
3412
|
+
*/
|
|
3413
|
+
interface OcsfFindingCriteriaMember {
|
|
3414
|
+
OcsfFindingCriteria: OcsfFindingFilters;
|
|
3415
|
+
ResourceCriteria?: never;
|
|
3416
|
+
$unknown?: never;
|
|
3417
|
+
}
|
|
3418
|
+
/**
|
|
3419
|
+
* <p>The filtering conditions for resources.</p>
|
|
3420
|
+
* @public
|
|
3421
|
+
*/
|
|
3422
|
+
interface ResourceCriteriaMember {
|
|
3423
|
+
OcsfFindingCriteria?: never;
|
|
3424
|
+
ResourceCriteria: ResourcesFilters;
|
|
3425
|
+
$unknown?: never;
|
|
3426
|
+
}
|
|
3427
|
+
/**
|
|
3428
|
+
* @public
|
|
3429
|
+
*/
|
|
3430
|
+
interface $UnknownMember {
|
|
3431
|
+
OcsfFindingCriteria?: never;
|
|
3432
|
+
ResourceCriteria?: never;
|
|
3433
|
+
$unknown: [string, any];
|
|
3434
|
+
}
|
|
3435
|
+
/**
|
|
3436
|
+
* @deprecated unused in schema-serde mode.
|
|
3437
|
+
*
|
|
3438
|
+
*/
|
|
3439
|
+
interface Visitor<T> {
|
|
3440
|
+
OcsfFindingCriteria: (value: OcsfFindingFilters) => T;
|
|
3441
|
+
ResourceCriteria: (value: ResourcesFilters) => T;
|
|
3442
|
+
_: (name: string, value: any) => T;
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
/**
|
|
3446
|
+
* @public
|
|
3447
|
+
*/
|
|
3448
|
+
export interface CreateAutomationRuleV2Request {
|
|
3449
|
+
/**
|
|
3450
|
+
* <p>The name of the V2 automation rule.</p>
|
|
3451
|
+
* @public
|
|
3452
|
+
*/
|
|
3453
|
+
RuleName: string | undefined;
|
|
3454
|
+
/**
|
|
3455
|
+
* <p>The status of the V2 automation rule.</p>
|
|
3456
|
+
* @public
|
|
3457
|
+
*/
|
|
3458
|
+
RuleStatus?: RuleStatusV2 | undefined;
|
|
3459
|
+
/**
|
|
3460
|
+
* <p>A description of the V2 automation rule.</p>
|
|
3461
|
+
* @public
|
|
3462
|
+
*/
|
|
3463
|
+
Description: string | undefined;
|
|
3464
|
+
/**
|
|
3465
|
+
* <p>The value for the rule priority.</p>
|
|
3466
|
+
* @public
|
|
3467
|
+
*/
|
|
3468
|
+
RuleOrder: number | undefined;
|
|
3469
|
+
/**
|
|
3470
|
+
* <p>The filtering type and configuration of the automation rule.</p>
|
|
3471
|
+
* @public
|
|
3472
|
+
*/
|
|
3473
|
+
Criteria: Criteria | undefined;
|
|
3474
|
+
/**
|
|
3475
|
+
* <p>A list of actions to be performed when the rule criteria is met.</p>
|
|
3476
|
+
* @public
|
|
3477
|
+
*/
|
|
3478
|
+
Actions: AutomationRulesActionV2[] | undefined;
|
|
3479
|
+
/**
|
|
3480
|
+
* <p>A list of key-value pairs associated with the V2 automation rule.</p>
|
|
3481
|
+
* @public
|
|
3482
|
+
*/
|
|
3483
|
+
Tags?: Record<string, string> | undefined;
|
|
3484
|
+
/**
|
|
3485
|
+
* <p>A unique identifier used to ensure idempotency.</p>
|
|
3486
|
+
* @public
|
|
3487
|
+
*/
|
|
3488
|
+
ClientToken?: string | undefined;
|
|
3489
|
+
}
|
|
3490
|
+
/**
|
|
3491
|
+
* @public
|
|
3492
|
+
*/
|
|
3493
|
+
export interface GetAutomationRuleV2Response {
|
|
3494
|
+
/**
|
|
3495
|
+
* <p>The ARN of the V2 automation rule.</p>
|
|
3496
|
+
* @public
|
|
3497
|
+
*/
|
|
3498
|
+
RuleArn?: string | undefined;
|
|
3499
|
+
/**
|
|
3500
|
+
* <p>The ID of the V2 automation rule.</p>
|
|
3501
|
+
* @public
|
|
3502
|
+
*/
|
|
3503
|
+
RuleId?: string | undefined;
|
|
3504
|
+
/**
|
|
3505
|
+
* <p>The value for the rule priority.</p>
|
|
3506
|
+
* @public
|
|
3507
|
+
*/
|
|
3508
|
+
RuleOrder?: number | undefined;
|
|
3509
|
+
/**
|
|
3510
|
+
* <p>The name of the V2 automation rule.</p>
|
|
3511
|
+
* @public
|
|
3512
|
+
*/
|
|
3513
|
+
RuleName?: string | undefined;
|
|
3514
|
+
/**
|
|
3515
|
+
* <p>The status of the V2 automation automation rule.</p>
|
|
3516
|
+
* @public
|
|
3517
|
+
*/
|
|
3518
|
+
RuleStatus?: RuleStatusV2 | undefined;
|
|
3519
|
+
/**
|
|
3520
|
+
* <p>A description of the automation rule.</p>
|
|
3521
|
+
* @public
|
|
3522
|
+
*/
|
|
3523
|
+
Description?: string | undefined;
|
|
3524
|
+
/**
|
|
3525
|
+
* <p>The filtering type and configuration of the V2 automation rule.</p>
|
|
3526
|
+
* @public
|
|
3527
|
+
*/
|
|
3528
|
+
Criteria?: Criteria | undefined;
|
|
3529
|
+
/**
|
|
3530
|
+
* <p>A list of actions performed when the rule criteria is met.</p>
|
|
3531
|
+
* @public
|
|
3532
|
+
*/
|
|
3533
|
+
Actions?: AutomationRulesActionV2[] | undefined;
|
|
3534
|
+
/**
|
|
3535
|
+
* <p>The timestamp when the V2 automation rule was created.</p>
|
|
3536
|
+
* @public
|
|
3537
|
+
*/
|
|
3538
|
+
CreatedAt?: Date | undefined;
|
|
3539
|
+
/**
|
|
3540
|
+
* <p>The timestamp when the V2 automation rule was updated.</p>
|
|
3541
|
+
* @public
|
|
3542
|
+
*/
|
|
3543
|
+
UpdatedAt?: Date | undefined;
|
|
3544
|
+
}
|
|
3545
|
+
/**
|
|
3546
|
+
* @public
|
|
3547
|
+
*/
|
|
3548
|
+
export interface UpdateAutomationRuleV2Request {
|
|
3549
|
+
/**
|
|
3550
|
+
* <p>The ARN of the automation rule.</p>
|
|
3551
|
+
* @public
|
|
3552
|
+
*/
|
|
3553
|
+
Identifier: string | undefined;
|
|
3554
|
+
/**
|
|
3555
|
+
* <p>The status of the automation rule.</p>
|
|
3556
|
+
* @public
|
|
3557
|
+
*/
|
|
3558
|
+
RuleStatus?: RuleStatusV2 | undefined;
|
|
3559
|
+
/**
|
|
3560
|
+
* <p>Represents a value for the rule priority.</p>
|
|
3561
|
+
* @public
|
|
3562
|
+
*/
|
|
3563
|
+
RuleOrder?: number | undefined;
|
|
3564
|
+
/**
|
|
3565
|
+
* <p>A description of the automation rule.</p>
|
|
3566
|
+
* @public
|
|
3567
|
+
*/
|
|
3568
|
+
Description?: string | undefined;
|
|
3569
|
+
/**
|
|
3570
|
+
* <p>The name of the automation rule.</p>
|
|
3571
|
+
* @public
|
|
3572
|
+
*/
|
|
3573
|
+
RuleName?: string | undefined;
|
|
3574
|
+
/**
|
|
3575
|
+
* <p>The filtering type and configuration of the automation rule.</p>
|
|
3576
|
+
* @public
|
|
3577
|
+
*/
|
|
3578
|
+
Criteria?: Criteria | undefined;
|
|
3579
|
+
/**
|
|
3580
|
+
* <p>A list of actions to be performed when the rule criteria is met.</p>
|
|
3581
|
+
* @public
|
|
3582
|
+
*/
|
|
3583
|
+
Actions?: AutomationRulesActionV2[] | undefined;
|
|
3584
|
+
}
|
|
@@ -54,6 +54,7 @@ export declare var AutomationRulesFindingFieldsUpdateV2$: StaticStructureSchema;
|
|
|
54
54
|
export declare var AutomationRulesFindingFilters$: StaticStructureSchema;
|
|
55
55
|
export declare var AutomationRulesMetadata$: StaticStructureSchema;
|
|
56
56
|
export declare var AutomationRulesMetadataV2$: StaticStructureSchema;
|
|
57
|
+
export declare var AutomationRulesResourceFieldsUpdateV2$: StaticStructureSchema;
|
|
57
58
|
export declare var AvailabilityZone$: StaticStructureSchema;
|
|
58
59
|
export declare var AwsAmazonMqBrokerDetails$: StaticStructureSchema;
|
|
59
60
|
export declare var AwsAmazonMqBrokerEncryptionOptionsDetails$: StaticStructureSchema;
|
|
@@ -625,6 +626,7 @@ export declare var CreateMembersRequest$: StaticStructureSchema;
|
|
|
625
626
|
export declare var CreateMembersResponse$: StaticStructureSchema;
|
|
626
627
|
export declare var CreateTicketV2Request$: StaticStructureSchema;
|
|
627
628
|
export declare var CreateTicketV2Response$: StaticStructureSchema;
|
|
629
|
+
export declare var CriticalitySource$: StaticStructureSchema;
|
|
628
630
|
export declare var CspmConnectorSummary$: StaticStructureSchema;
|
|
629
631
|
export declare var CspmHealthCheck$: StaticStructureSchema;
|
|
630
632
|
export declare var CspmProviderSummary$: StaticStructureSchema;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { GetRecommendedPolicyV2Request
|
|
2
|
+
import { GetRecommendedPolicyV2Request } from "../models/models_2";
|
|
3
|
+
import { GetRecommendedPolicyV2Response } from "../models/models_3";
|
|
3
4
|
export { __MetadataBearer };
|
|
4
5
|
export interface GetRecommendedPolicyV2CommandInput extends GetRecommendedPolicyV2Request {}
|
|
5
6
|
export interface GetRecommendedPolicyV2CommandOutput
|