@aws-sdk/client-securityhub 3.348.0 → 3.352.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/README.md +40 -0
- package/dist-cjs/SecurityHub.js +10 -0
- package/dist-cjs/commands/BatchDeleteAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchGetAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/BatchUpdateAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/CreateAutomationRuleCommand.js +46 -0
- package/dist-cjs/commands/ListAutomationRulesCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +40 -1
- package/dist-cjs/models/models_1.js +1 -44
- package/dist-cjs/models/models_2.js +12 -1
- package/dist-cjs/protocols/Aws_restJson1.js +553 -3
- package/dist-es/SecurityHub.js +10 -0
- package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchGetAutomationRulesCommand.js +42 -0
- package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +42 -0
- package/dist-es/commands/CreateAutomationRuleCommand.js +42 -0
- package/dist-es/commands/ListAutomationRulesCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +39 -0
- package/dist-es/models/models_1.js +0 -43
- package/dist-es/models/models_2.js +11 -0
- package/dist-es/protocols/Aws_restJson1.js +540 -0
- package/dist-types/SecurityHub.d.ts +35 -0
- package/dist-types/SecurityHubClient.d.ts +7 -2
- package/dist-types/commands/BatchDeleteAutomationRulesCommand.d.ts +103 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +288 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +282 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +270 -0
- package/dist-types/commands/ListAutomationRulesCommand.d.ts +106 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +6010 -5729
- package/dist-types/models/models_1.d.ts +645 -439
- package/dist-types/models/models_2.d.ts +423 -108
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +85 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchDeleteAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchDisableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchEnableStandardsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchUpdateAutomationRulesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAutomationRuleCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAutomationRulesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +167 -136
- package/dist-types/ts3.4/models/models_1.d.ts +145 -123
- package/dist-types/ts3.4/models/models_2.d.ts +112 -16
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +6 -6
|
@@ -143,6 +143,66 @@ export interface Action {
|
|
|
143
143
|
DnsRequestAction?: DnsRequestAction;
|
|
144
144
|
PortProbeAction?: PortProbeAction;
|
|
145
145
|
}
|
|
146
|
+
export interface NoteUpdate {
|
|
147
|
+
Text: string | undefined;
|
|
148
|
+
UpdatedBy: string | undefined;
|
|
149
|
+
}
|
|
150
|
+
export interface RelatedFinding {
|
|
151
|
+
ProductArn: string | undefined;
|
|
152
|
+
Id: string | undefined;
|
|
153
|
+
}
|
|
154
|
+
export declare const SeverityLabel: {
|
|
155
|
+
readonly CRITICAL: "CRITICAL";
|
|
156
|
+
readonly HIGH: "HIGH";
|
|
157
|
+
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
158
|
+
readonly LOW: "LOW";
|
|
159
|
+
readonly MEDIUM: "MEDIUM";
|
|
160
|
+
};
|
|
161
|
+
export type SeverityLabel = (typeof SeverityLabel)[keyof typeof SeverityLabel];
|
|
162
|
+
export interface SeverityUpdate {
|
|
163
|
+
Normalized?: number;
|
|
164
|
+
Product?: number;
|
|
165
|
+
Label?: SeverityLabel | string;
|
|
166
|
+
}
|
|
167
|
+
export declare const VerificationState: {
|
|
168
|
+
readonly BENIGN_POSITIVE: "BENIGN_POSITIVE";
|
|
169
|
+
readonly FALSE_POSITIVE: "FALSE_POSITIVE";
|
|
170
|
+
readonly TRUE_POSITIVE: "TRUE_POSITIVE";
|
|
171
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
172
|
+
};
|
|
173
|
+
export type VerificationState =
|
|
174
|
+
(typeof VerificationState)[keyof typeof VerificationState];
|
|
175
|
+
export declare const WorkflowStatus: {
|
|
176
|
+
readonly NEW: "NEW";
|
|
177
|
+
readonly NOTIFIED: "NOTIFIED";
|
|
178
|
+
readonly RESOLVED: "RESOLVED";
|
|
179
|
+
readonly SUPPRESSED: "SUPPRESSED";
|
|
180
|
+
};
|
|
181
|
+
export type WorkflowStatus =
|
|
182
|
+
(typeof WorkflowStatus)[keyof typeof WorkflowStatus];
|
|
183
|
+
export interface WorkflowUpdate {
|
|
184
|
+
Status?: WorkflowStatus | string;
|
|
185
|
+
}
|
|
186
|
+
export interface AutomationRulesFindingFieldsUpdate {
|
|
187
|
+
Note?: NoteUpdate;
|
|
188
|
+
Severity?: SeverityUpdate;
|
|
189
|
+
VerificationState?: VerificationState | string;
|
|
190
|
+
Confidence?: number;
|
|
191
|
+
Criticality?: number;
|
|
192
|
+
Types?: string[];
|
|
193
|
+
UserDefinedFields?: Record<string, string>;
|
|
194
|
+
Workflow?: WorkflowUpdate;
|
|
195
|
+
RelatedFindings?: RelatedFinding[];
|
|
196
|
+
}
|
|
197
|
+
export declare const AutomationRulesActionType: {
|
|
198
|
+
readonly FINDING_FIELDS_UPDATE: "FINDING_FIELDS_UPDATE";
|
|
199
|
+
};
|
|
200
|
+
export type AutomationRulesActionType =
|
|
201
|
+
(typeof AutomationRulesActionType)[keyof typeof AutomationRulesActionType];
|
|
202
|
+
export interface AutomationRulesAction {
|
|
203
|
+
Type?: AutomationRulesActionType | string;
|
|
204
|
+
FindingFieldsUpdate?: AutomationRulesFindingFieldsUpdate;
|
|
205
|
+
}
|
|
146
206
|
export interface ActionTarget {
|
|
147
207
|
ActionTargetArn: string | undefined;
|
|
148
208
|
Name: string | undefined;
|
|
@@ -188,6 +248,113 @@ export declare const AutoEnableStandards: {
|
|
|
188
248
|
};
|
|
189
249
|
export type AutoEnableStandards =
|
|
190
250
|
(typeof AutoEnableStandards)[keyof typeof AutoEnableStandards];
|
|
251
|
+
export declare const StringFilterComparison: {
|
|
252
|
+
readonly EQUALS: "EQUALS";
|
|
253
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
254
|
+
readonly PREFIX: "PREFIX";
|
|
255
|
+
readonly PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS";
|
|
256
|
+
};
|
|
257
|
+
export type StringFilterComparison =
|
|
258
|
+
(typeof StringFilterComparison)[keyof typeof StringFilterComparison];
|
|
259
|
+
export interface StringFilter {
|
|
260
|
+
Value?: string;
|
|
261
|
+
Comparison?: StringFilterComparison | string;
|
|
262
|
+
}
|
|
263
|
+
export interface NumberFilter {
|
|
264
|
+
Gte?: number;
|
|
265
|
+
Lte?: number;
|
|
266
|
+
Eq?: number;
|
|
267
|
+
}
|
|
268
|
+
export declare const DateRangeUnit: {
|
|
269
|
+
readonly DAYS: "DAYS";
|
|
270
|
+
};
|
|
271
|
+
export type DateRangeUnit = (typeof DateRangeUnit)[keyof typeof DateRangeUnit];
|
|
272
|
+
export interface DateRange {
|
|
273
|
+
Value?: number;
|
|
274
|
+
Unit?: DateRangeUnit | string;
|
|
275
|
+
}
|
|
276
|
+
export interface DateFilter {
|
|
277
|
+
Start?: string;
|
|
278
|
+
End?: string;
|
|
279
|
+
DateRange?: DateRange;
|
|
280
|
+
}
|
|
281
|
+
export declare const MapFilterComparison: {
|
|
282
|
+
readonly EQUALS: "EQUALS";
|
|
283
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
284
|
+
};
|
|
285
|
+
export type MapFilterComparison =
|
|
286
|
+
(typeof MapFilterComparison)[keyof typeof MapFilterComparison];
|
|
287
|
+
export interface MapFilter {
|
|
288
|
+
Key?: string;
|
|
289
|
+
Value?: string;
|
|
290
|
+
Comparison?: MapFilterComparison | string;
|
|
291
|
+
}
|
|
292
|
+
export interface AutomationRulesFindingFilters {
|
|
293
|
+
ProductArn?: StringFilter[];
|
|
294
|
+
AwsAccountId?: StringFilter[];
|
|
295
|
+
Id?: StringFilter[];
|
|
296
|
+
GeneratorId?: StringFilter[];
|
|
297
|
+
Type?: StringFilter[];
|
|
298
|
+
FirstObservedAt?: DateFilter[];
|
|
299
|
+
LastObservedAt?: DateFilter[];
|
|
300
|
+
CreatedAt?: DateFilter[];
|
|
301
|
+
UpdatedAt?: DateFilter[];
|
|
302
|
+
Confidence?: NumberFilter[];
|
|
303
|
+
Criticality?: NumberFilter[];
|
|
304
|
+
Title?: StringFilter[];
|
|
305
|
+
Description?: StringFilter[];
|
|
306
|
+
SourceUrl?: StringFilter[];
|
|
307
|
+
ProductName?: StringFilter[];
|
|
308
|
+
CompanyName?: StringFilter[];
|
|
309
|
+
SeverityLabel?: StringFilter[];
|
|
310
|
+
ResourceType?: StringFilter[];
|
|
311
|
+
ResourceId?: StringFilter[];
|
|
312
|
+
ResourcePartition?: StringFilter[];
|
|
313
|
+
ResourceRegion?: StringFilter[];
|
|
314
|
+
ResourceTags?: MapFilter[];
|
|
315
|
+
ResourceDetailsOther?: MapFilter[];
|
|
316
|
+
ComplianceStatus?: StringFilter[];
|
|
317
|
+
ComplianceSecurityControlId?: StringFilter[];
|
|
318
|
+
ComplianceAssociatedStandardsId?: StringFilter[];
|
|
319
|
+
VerificationState?: StringFilter[];
|
|
320
|
+
WorkflowStatus?: StringFilter[];
|
|
321
|
+
RecordState?: StringFilter[];
|
|
322
|
+
RelatedFindingsProductArn?: StringFilter[];
|
|
323
|
+
RelatedFindingsId?: StringFilter[];
|
|
324
|
+
NoteText?: StringFilter[];
|
|
325
|
+
NoteUpdatedAt?: DateFilter[];
|
|
326
|
+
NoteUpdatedBy?: StringFilter[];
|
|
327
|
+
UserDefinedFields?: MapFilter[];
|
|
328
|
+
}
|
|
329
|
+
export declare const RuleStatus: {
|
|
330
|
+
readonly DISABLED: "DISABLED";
|
|
331
|
+
readonly ENABLED: "ENABLED";
|
|
332
|
+
};
|
|
333
|
+
export type RuleStatus = (typeof RuleStatus)[keyof typeof RuleStatus];
|
|
334
|
+
export interface AutomationRulesConfig {
|
|
335
|
+
RuleArn?: string;
|
|
336
|
+
RuleStatus?: RuleStatus | string;
|
|
337
|
+
RuleOrder?: number;
|
|
338
|
+
RuleName?: string;
|
|
339
|
+
Description?: string;
|
|
340
|
+
IsTerminal?: boolean;
|
|
341
|
+
Criteria?: AutomationRulesFindingFilters;
|
|
342
|
+
Actions?: AutomationRulesAction[];
|
|
343
|
+
CreatedAt?: Date;
|
|
344
|
+
UpdatedAt?: Date;
|
|
345
|
+
CreatedBy?: string;
|
|
346
|
+
}
|
|
347
|
+
export interface AutomationRulesMetadata {
|
|
348
|
+
RuleArn?: string;
|
|
349
|
+
RuleStatus?: RuleStatus | string;
|
|
350
|
+
RuleOrder?: number;
|
|
351
|
+
RuleName?: string;
|
|
352
|
+
Description?: string;
|
|
353
|
+
IsTerminal?: boolean;
|
|
354
|
+
CreatedAt?: Date;
|
|
355
|
+
UpdatedAt?: Date;
|
|
356
|
+
CreatedBy?: string;
|
|
357
|
+
}
|
|
191
358
|
export interface AvailabilityZone {
|
|
192
359
|
ZoneName?: string;
|
|
193
360
|
SubnetId?: string;
|
|
@@ -1830,139 +1997,3 @@ export interface AwsEksClusterLoggingClusterLoggingDetails {
|
|
|
1830
1997
|
export interface AwsEksClusterLoggingDetails {
|
|
1831
1998
|
ClusterLogging?: AwsEksClusterLoggingClusterLoggingDetails[];
|
|
1832
1999
|
}
|
|
1833
|
-
export interface AwsEksClusterResourcesVpcConfigDetails {
|
|
1834
|
-
SecurityGroupIds?: string[];
|
|
1835
|
-
SubnetIds?: string[];
|
|
1836
|
-
EndpointPublicAccess?: boolean;
|
|
1837
|
-
}
|
|
1838
|
-
export interface AwsEksClusterDetails {
|
|
1839
|
-
Arn?: string;
|
|
1840
|
-
CertificateAuthorityData?: string;
|
|
1841
|
-
ClusterStatus?: string;
|
|
1842
|
-
Endpoint?: string;
|
|
1843
|
-
Name?: string;
|
|
1844
|
-
ResourcesVpcConfig?: AwsEksClusterResourcesVpcConfigDetails;
|
|
1845
|
-
RoleArn?: string;
|
|
1846
|
-
Version?: string;
|
|
1847
|
-
Logging?: AwsEksClusterLoggingDetails;
|
|
1848
|
-
}
|
|
1849
|
-
export interface AwsElasticBeanstalkEnvironmentEnvironmentLink {
|
|
1850
|
-
EnvironmentName?: string;
|
|
1851
|
-
LinkName?: string;
|
|
1852
|
-
}
|
|
1853
|
-
export interface AwsElasticBeanstalkEnvironmentOptionSetting {
|
|
1854
|
-
Namespace?: string;
|
|
1855
|
-
OptionName?: string;
|
|
1856
|
-
ResourceName?: string;
|
|
1857
|
-
Value?: string;
|
|
1858
|
-
}
|
|
1859
|
-
export interface AwsElasticBeanstalkEnvironmentTier {
|
|
1860
|
-
Name?: string;
|
|
1861
|
-
Type?: string;
|
|
1862
|
-
Version?: string;
|
|
1863
|
-
}
|
|
1864
|
-
export interface AwsElasticBeanstalkEnvironmentDetails {
|
|
1865
|
-
ApplicationName?: string;
|
|
1866
|
-
Cname?: string;
|
|
1867
|
-
DateCreated?: string;
|
|
1868
|
-
DateUpdated?: string;
|
|
1869
|
-
Description?: string;
|
|
1870
|
-
EndpointUrl?: string;
|
|
1871
|
-
EnvironmentArn?: string;
|
|
1872
|
-
EnvironmentId?: string;
|
|
1873
|
-
EnvironmentLinks?: AwsElasticBeanstalkEnvironmentEnvironmentLink[];
|
|
1874
|
-
EnvironmentName?: string;
|
|
1875
|
-
OptionSettings?: AwsElasticBeanstalkEnvironmentOptionSetting[];
|
|
1876
|
-
PlatformArn?: string;
|
|
1877
|
-
SolutionStackName?: string;
|
|
1878
|
-
Status?: string;
|
|
1879
|
-
Tier?: AwsElasticBeanstalkEnvironmentTier;
|
|
1880
|
-
VersionLabel?: string;
|
|
1881
|
-
}
|
|
1882
|
-
export interface AwsElasticsearchDomainDomainEndpointOptions {
|
|
1883
|
-
EnforceHTTPS?: boolean;
|
|
1884
|
-
TLSSecurityPolicy?: string;
|
|
1885
|
-
}
|
|
1886
|
-
export interface AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails {
|
|
1887
|
-
AvailabilityZoneCount?: number;
|
|
1888
|
-
}
|
|
1889
|
-
export interface AwsElasticsearchDomainElasticsearchClusterConfigDetails {
|
|
1890
|
-
DedicatedMasterCount?: number;
|
|
1891
|
-
DedicatedMasterEnabled?: boolean;
|
|
1892
|
-
DedicatedMasterType?: string;
|
|
1893
|
-
InstanceCount?: number;
|
|
1894
|
-
InstanceType?: string;
|
|
1895
|
-
ZoneAwarenessConfig?: AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails;
|
|
1896
|
-
ZoneAwarenessEnabled?: boolean;
|
|
1897
|
-
}
|
|
1898
|
-
export interface AwsElasticsearchDomainEncryptionAtRestOptions {
|
|
1899
|
-
Enabled?: boolean;
|
|
1900
|
-
KmsKeyId?: string;
|
|
1901
|
-
}
|
|
1902
|
-
export interface AwsElasticsearchDomainLogPublishingOptionsLogConfig {
|
|
1903
|
-
CloudWatchLogsLogGroupArn?: string;
|
|
1904
|
-
Enabled?: boolean;
|
|
1905
|
-
}
|
|
1906
|
-
export interface AwsElasticsearchDomainLogPublishingOptions {
|
|
1907
|
-
IndexSlowLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig;
|
|
1908
|
-
SearchSlowLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig;
|
|
1909
|
-
AuditLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig;
|
|
1910
|
-
}
|
|
1911
|
-
export interface AwsElasticsearchDomainNodeToNodeEncryptionOptions {
|
|
1912
|
-
Enabled?: boolean;
|
|
1913
|
-
}
|
|
1914
|
-
export interface AwsElasticsearchDomainServiceSoftwareOptions {
|
|
1915
|
-
AutomatedUpdateDate?: string;
|
|
1916
|
-
Cancellable?: boolean;
|
|
1917
|
-
CurrentVersion?: string;
|
|
1918
|
-
Description?: string;
|
|
1919
|
-
NewVersion?: string;
|
|
1920
|
-
UpdateAvailable?: boolean;
|
|
1921
|
-
UpdateStatus?: string;
|
|
1922
|
-
}
|
|
1923
|
-
export interface AwsElasticsearchDomainVPCOptions {
|
|
1924
|
-
AvailabilityZones?: string[];
|
|
1925
|
-
SecurityGroupIds?: string[];
|
|
1926
|
-
SubnetIds?: string[];
|
|
1927
|
-
VPCId?: string;
|
|
1928
|
-
}
|
|
1929
|
-
export interface AwsElasticsearchDomainDetails {
|
|
1930
|
-
AccessPolicies?: string;
|
|
1931
|
-
DomainEndpointOptions?: AwsElasticsearchDomainDomainEndpointOptions;
|
|
1932
|
-
DomainId?: string;
|
|
1933
|
-
DomainName?: string;
|
|
1934
|
-
Endpoint?: string;
|
|
1935
|
-
Endpoints?: Record<string, string>;
|
|
1936
|
-
ElasticsearchVersion?: string;
|
|
1937
|
-
ElasticsearchClusterConfig?: AwsElasticsearchDomainElasticsearchClusterConfigDetails;
|
|
1938
|
-
EncryptionAtRestOptions?: AwsElasticsearchDomainEncryptionAtRestOptions;
|
|
1939
|
-
LogPublishingOptions?: AwsElasticsearchDomainLogPublishingOptions;
|
|
1940
|
-
NodeToNodeEncryptionOptions?: AwsElasticsearchDomainNodeToNodeEncryptionOptions;
|
|
1941
|
-
ServiceSoftwareOptions?: AwsElasticsearchDomainServiceSoftwareOptions;
|
|
1942
|
-
VPCOptions?: AwsElasticsearchDomainVPCOptions;
|
|
1943
|
-
}
|
|
1944
|
-
export interface AwsElbAppCookieStickinessPolicy {
|
|
1945
|
-
CookieName?: string;
|
|
1946
|
-
PolicyName?: string;
|
|
1947
|
-
}
|
|
1948
|
-
export interface AwsElbLbCookieStickinessPolicy {
|
|
1949
|
-
CookieExpirationPeriod?: number;
|
|
1950
|
-
PolicyName?: string;
|
|
1951
|
-
}
|
|
1952
|
-
export interface AwsElbLoadBalancerAccessLog {
|
|
1953
|
-
EmitInterval?: number;
|
|
1954
|
-
Enabled?: boolean;
|
|
1955
|
-
S3BucketName?: string;
|
|
1956
|
-
S3BucketPrefix?: string;
|
|
1957
|
-
}
|
|
1958
|
-
export interface AwsElbLoadBalancerAdditionalAttribute {
|
|
1959
|
-
Key?: string;
|
|
1960
|
-
Value?: string;
|
|
1961
|
-
}
|
|
1962
|
-
export interface AwsElbLoadBalancerConnectionDraining {
|
|
1963
|
-
Enabled?: boolean;
|
|
1964
|
-
Timeout?: number;
|
|
1965
|
-
}
|
|
1966
|
-
export interface AwsElbLoadBalancerConnectionSettings {
|
|
1967
|
-
IdleTimeout?: number;
|
|
1968
|
-
}
|
|
@@ -43,16 +43,152 @@ import {
|
|
|
43
43
|
AwsEcsTaskDefinitionDetails,
|
|
44
44
|
AwsEcsTaskDetails,
|
|
45
45
|
AwsEfsAccessPointDetails,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
AwsEksClusterLoggingDetails,
|
|
47
|
+
DateFilter,
|
|
48
|
+
MapFilter,
|
|
49
|
+
NumberFilter,
|
|
50
|
+
RelatedFinding,
|
|
51
|
+
SeverityLabel,
|
|
52
|
+
StringFilter,
|
|
53
|
+
VerificationState,
|
|
54
|
+
WorkflowStatus,
|
|
55
55
|
} from "./models_0";
|
|
56
|
+
export interface AwsEksClusterResourcesVpcConfigDetails {
|
|
57
|
+
SecurityGroupIds?: string[];
|
|
58
|
+
SubnetIds?: string[];
|
|
59
|
+
EndpointPublicAccess?: boolean;
|
|
60
|
+
}
|
|
61
|
+
export interface AwsEksClusterDetails {
|
|
62
|
+
Arn?: string;
|
|
63
|
+
CertificateAuthorityData?: string;
|
|
64
|
+
ClusterStatus?: string;
|
|
65
|
+
Endpoint?: string;
|
|
66
|
+
Name?: string;
|
|
67
|
+
ResourcesVpcConfig?: AwsEksClusterResourcesVpcConfigDetails;
|
|
68
|
+
RoleArn?: string;
|
|
69
|
+
Version?: string;
|
|
70
|
+
Logging?: AwsEksClusterLoggingDetails;
|
|
71
|
+
}
|
|
72
|
+
export interface AwsElasticBeanstalkEnvironmentEnvironmentLink {
|
|
73
|
+
EnvironmentName?: string;
|
|
74
|
+
LinkName?: string;
|
|
75
|
+
}
|
|
76
|
+
export interface AwsElasticBeanstalkEnvironmentOptionSetting {
|
|
77
|
+
Namespace?: string;
|
|
78
|
+
OptionName?: string;
|
|
79
|
+
ResourceName?: string;
|
|
80
|
+
Value?: string;
|
|
81
|
+
}
|
|
82
|
+
export interface AwsElasticBeanstalkEnvironmentTier {
|
|
83
|
+
Name?: string;
|
|
84
|
+
Type?: string;
|
|
85
|
+
Version?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface AwsElasticBeanstalkEnvironmentDetails {
|
|
88
|
+
ApplicationName?: string;
|
|
89
|
+
Cname?: string;
|
|
90
|
+
DateCreated?: string;
|
|
91
|
+
DateUpdated?: string;
|
|
92
|
+
Description?: string;
|
|
93
|
+
EndpointUrl?: string;
|
|
94
|
+
EnvironmentArn?: string;
|
|
95
|
+
EnvironmentId?: string;
|
|
96
|
+
EnvironmentLinks?: AwsElasticBeanstalkEnvironmentEnvironmentLink[];
|
|
97
|
+
EnvironmentName?: string;
|
|
98
|
+
OptionSettings?: AwsElasticBeanstalkEnvironmentOptionSetting[];
|
|
99
|
+
PlatformArn?: string;
|
|
100
|
+
SolutionStackName?: string;
|
|
101
|
+
Status?: string;
|
|
102
|
+
Tier?: AwsElasticBeanstalkEnvironmentTier;
|
|
103
|
+
VersionLabel?: string;
|
|
104
|
+
}
|
|
105
|
+
export interface AwsElasticsearchDomainDomainEndpointOptions {
|
|
106
|
+
EnforceHTTPS?: boolean;
|
|
107
|
+
TLSSecurityPolicy?: string;
|
|
108
|
+
}
|
|
109
|
+
export interface AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails {
|
|
110
|
+
AvailabilityZoneCount?: number;
|
|
111
|
+
}
|
|
112
|
+
export interface AwsElasticsearchDomainElasticsearchClusterConfigDetails {
|
|
113
|
+
DedicatedMasterCount?: number;
|
|
114
|
+
DedicatedMasterEnabled?: boolean;
|
|
115
|
+
DedicatedMasterType?: string;
|
|
116
|
+
InstanceCount?: number;
|
|
117
|
+
InstanceType?: string;
|
|
118
|
+
ZoneAwarenessConfig?: AwsElasticsearchDomainElasticsearchClusterConfigZoneAwarenessConfigDetails;
|
|
119
|
+
ZoneAwarenessEnabled?: boolean;
|
|
120
|
+
}
|
|
121
|
+
export interface AwsElasticsearchDomainEncryptionAtRestOptions {
|
|
122
|
+
Enabled?: boolean;
|
|
123
|
+
KmsKeyId?: string;
|
|
124
|
+
}
|
|
125
|
+
export interface AwsElasticsearchDomainLogPublishingOptionsLogConfig {
|
|
126
|
+
CloudWatchLogsLogGroupArn?: string;
|
|
127
|
+
Enabled?: boolean;
|
|
128
|
+
}
|
|
129
|
+
export interface AwsElasticsearchDomainLogPublishingOptions {
|
|
130
|
+
IndexSlowLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig;
|
|
131
|
+
SearchSlowLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig;
|
|
132
|
+
AuditLogs?: AwsElasticsearchDomainLogPublishingOptionsLogConfig;
|
|
133
|
+
}
|
|
134
|
+
export interface AwsElasticsearchDomainNodeToNodeEncryptionOptions {
|
|
135
|
+
Enabled?: boolean;
|
|
136
|
+
}
|
|
137
|
+
export interface AwsElasticsearchDomainServiceSoftwareOptions {
|
|
138
|
+
AutomatedUpdateDate?: string;
|
|
139
|
+
Cancellable?: boolean;
|
|
140
|
+
CurrentVersion?: string;
|
|
141
|
+
Description?: string;
|
|
142
|
+
NewVersion?: string;
|
|
143
|
+
UpdateAvailable?: boolean;
|
|
144
|
+
UpdateStatus?: string;
|
|
145
|
+
}
|
|
146
|
+
export interface AwsElasticsearchDomainVPCOptions {
|
|
147
|
+
AvailabilityZones?: string[];
|
|
148
|
+
SecurityGroupIds?: string[];
|
|
149
|
+
SubnetIds?: string[];
|
|
150
|
+
VPCId?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface AwsElasticsearchDomainDetails {
|
|
153
|
+
AccessPolicies?: string;
|
|
154
|
+
DomainEndpointOptions?: AwsElasticsearchDomainDomainEndpointOptions;
|
|
155
|
+
DomainId?: string;
|
|
156
|
+
DomainName?: string;
|
|
157
|
+
Endpoint?: string;
|
|
158
|
+
Endpoints?: Record<string, string>;
|
|
159
|
+
ElasticsearchVersion?: string;
|
|
160
|
+
ElasticsearchClusterConfig?: AwsElasticsearchDomainElasticsearchClusterConfigDetails;
|
|
161
|
+
EncryptionAtRestOptions?: AwsElasticsearchDomainEncryptionAtRestOptions;
|
|
162
|
+
LogPublishingOptions?: AwsElasticsearchDomainLogPublishingOptions;
|
|
163
|
+
NodeToNodeEncryptionOptions?: AwsElasticsearchDomainNodeToNodeEncryptionOptions;
|
|
164
|
+
ServiceSoftwareOptions?: AwsElasticsearchDomainServiceSoftwareOptions;
|
|
165
|
+
VPCOptions?: AwsElasticsearchDomainVPCOptions;
|
|
166
|
+
}
|
|
167
|
+
export interface AwsElbAppCookieStickinessPolicy {
|
|
168
|
+
CookieName?: string;
|
|
169
|
+
PolicyName?: string;
|
|
170
|
+
}
|
|
171
|
+
export interface AwsElbLbCookieStickinessPolicy {
|
|
172
|
+
CookieExpirationPeriod?: number;
|
|
173
|
+
PolicyName?: string;
|
|
174
|
+
}
|
|
175
|
+
export interface AwsElbLoadBalancerAccessLog {
|
|
176
|
+
EmitInterval?: number;
|
|
177
|
+
Enabled?: boolean;
|
|
178
|
+
S3BucketName?: string;
|
|
179
|
+
S3BucketPrefix?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface AwsElbLoadBalancerAdditionalAttribute {
|
|
182
|
+
Key?: string;
|
|
183
|
+
Value?: string;
|
|
184
|
+
}
|
|
185
|
+
export interface AwsElbLoadBalancerConnectionDraining {
|
|
186
|
+
Enabled?: boolean;
|
|
187
|
+
Timeout?: number;
|
|
188
|
+
}
|
|
189
|
+
export interface AwsElbLoadBalancerConnectionSettings {
|
|
190
|
+
IdleTimeout?: number;
|
|
191
|
+
}
|
|
56
192
|
export interface AwsElbLoadBalancerCrossZoneLoadBalancing {
|
|
57
193
|
Enabled?: boolean;
|
|
58
194
|
}
|
|
@@ -1214,18 +1350,6 @@ export interface Compliance {
|
|
|
1214
1350
|
SecurityControlId?: string;
|
|
1215
1351
|
AssociatedStandards?: AssociatedStandard[];
|
|
1216
1352
|
}
|
|
1217
|
-
export interface RelatedFinding {
|
|
1218
|
-
ProductArn: string | undefined;
|
|
1219
|
-
Id: string | undefined;
|
|
1220
|
-
}
|
|
1221
|
-
export declare const SeverityLabel: {
|
|
1222
|
-
readonly CRITICAL: "CRITICAL";
|
|
1223
|
-
readonly HIGH: "HIGH";
|
|
1224
|
-
readonly INFORMATIONAL: "INFORMATIONAL";
|
|
1225
|
-
readonly LOW: "LOW";
|
|
1226
|
-
readonly MEDIUM: "MEDIUM";
|
|
1227
|
-
};
|
|
1228
|
-
export type SeverityLabel = (typeof SeverityLabel)[keyof typeof SeverityLabel];
|
|
1229
1353
|
export interface FindingProviderSeverity {
|
|
1230
1354
|
Label?: SeverityLabel | string;
|
|
1231
1355
|
Original?: string;
|
|
@@ -1851,14 +1975,6 @@ export interface Threat {
|
|
|
1851
1975
|
ItemCount?: number;
|
|
1852
1976
|
FilePaths?: FilePaths[];
|
|
1853
1977
|
}
|
|
1854
|
-
export declare const VerificationState: {
|
|
1855
|
-
readonly BENIGN_POSITIVE: "BENIGN_POSITIVE";
|
|
1856
|
-
readonly FALSE_POSITIVE: "FALSE_POSITIVE";
|
|
1857
|
-
readonly TRUE_POSITIVE: "TRUE_POSITIVE";
|
|
1858
|
-
readonly UNKNOWN: "UNKNOWN";
|
|
1859
|
-
};
|
|
1860
|
-
export type VerificationState =
|
|
1861
|
-
(typeof VerificationState)[keyof typeof VerificationState];
|
|
1862
1978
|
export interface Cvss {
|
|
1863
1979
|
Version?: string;
|
|
1864
1980
|
BaseScore?: number;
|
|
@@ -1902,14 +2018,6 @@ export interface Vulnerability {
|
|
|
1902
2018
|
ReferenceUrls?: string[];
|
|
1903
2019
|
FixAvailable?: VulnerabilityFixAvailable | string;
|
|
1904
2020
|
}
|
|
1905
|
-
export declare const WorkflowStatus: {
|
|
1906
|
-
readonly NEW: "NEW";
|
|
1907
|
-
readonly NOTIFIED: "NOTIFIED";
|
|
1908
|
-
readonly RESOLVED: "RESOLVED";
|
|
1909
|
-
readonly SUPPRESSED: "SUPPRESSED";
|
|
1910
|
-
};
|
|
1911
|
-
export type WorkflowStatus =
|
|
1912
|
-
(typeof WorkflowStatus)[keyof typeof WorkflowStatus];
|
|
1913
2021
|
export interface Workflow {
|
|
1914
2022
|
Status?: WorkflowStatus | string;
|
|
1915
2023
|
}
|
|
@@ -1964,53 +2072,12 @@ export interface AwsSecurityFinding {
|
|
|
1964
2072
|
FindingProviderFields?: FindingProviderFields;
|
|
1965
2073
|
Sample?: boolean;
|
|
1966
2074
|
}
|
|
1967
|
-
export declare const StringFilterComparison: {
|
|
1968
|
-
readonly EQUALS: "EQUALS";
|
|
1969
|
-
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
1970
|
-
readonly PREFIX: "PREFIX";
|
|
1971
|
-
readonly PREFIX_NOT_EQUALS: "PREFIX_NOT_EQUALS";
|
|
1972
|
-
};
|
|
1973
|
-
export type StringFilterComparison =
|
|
1974
|
-
(typeof StringFilterComparison)[keyof typeof StringFilterComparison];
|
|
1975
|
-
export interface StringFilter {
|
|
1976
|
-
Value?: string;
|
|
1977
|
-
Comparison?: StringFilterComparison | string;
|
|
1978
|
-
}
|
|
1979
|
-
export interface NumberFilter {
|
|
1980
|
-
Gte?: number;
|
|
1981
|
-
Lte?: number;
|
|
1982
|
-
Eq?: number;
|
|
1983
|
-
}
|
|
1984
|
-
export declare const DateRangeUnit: {
|
|
1985
|
-
readonly DAYS: "DAYS";
|
|
1986
|
-
};
|
|
1987
|
-
export type DateRangeUnit = (typeof DateRangeUnit)[keyof typeof DateRangeUnit];
|
|
1988
|
-
export interface DateRange {
|
|
1989
|
-
Value?: number;
|
|
1990
|
-
Unit?: DateRangeUnit | string;
|
|
1991
|
-
}
|
|
1992
|
-
export interface DateFilter {
|
|
1993
|
-
Start?: string;
|
|
1994
|
-
End?: string;
|
|
1995
|
-
DateRange?: DateRange;
|
|
1996
|
-
}
|
|
1997
2075
|
export interface KeywordFilter {
|
|
1998
2076
|
Value?: string;
|
|
1999
2077
|
}
|
|
2000
2078
|
export interface IpFilter {
|
|
2001
2079
|
Cidr?: string;
|
|
2002
2080
|
}
|
|
2003
|
-
export declare const MapFilterComparison: {
|
|
2004
|
-
readonly EQUALS: "EQUALS";
|
|
2005
|
-
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
2006
|
-
};
|
|
2007
|
-
export type MapFilterComparison =
|
|
2008
|
-
(typeof MapFilterComparison)[keyof typeof MapFilterComparison];
|
|
2009
|
-
export interface MapFilter {
|
|
2010
|
-
Key?: string;
|
|
2011
|
-
Value?: string;
|
|
2012
|
-
Comparison?: MapFilterComparison | string;
|
|
2013
|
-
}
|
|
2014
2081
|
export interface BooleanFilter {
|
|
2015
2082
|
Value?: boolean;
|
|
2016
2083
|
}
|
|
@@ -2113,48 +2180,3 @@ export interface AwsSecurityFindingFilters {
|
|
|
2113
2180
|
ComplianceSecurityControlId?: StringFilter[];
|
|
2114
2181
|
ComplianceAssociatedStandardsId?: StringFilter[];
|
|
2115
2182
|
}
|
|
2116
|
-
export interface AwsSecurityFindingIdentifier {
|
|
2117
|
-
Id: string | undefined;
|
|
2118
|
-
ProductArn: string | undefined;
|
|
2119
|
-
}
|
|
2120
|
-
export interface BatchDisableStandardsRequest {
|
|
2121
|
-
StandardsSubscriptionArns: string[] | undefined;
|
|
2122
|
-
}
|
|
2123
|
-
export declare const StandardsStatus: {
|
|
2124
|
-
readonly DELETING: "DELETING";
|
|
2125
|
-
readonly FAILED: "FAILED";
|
|
2126
|
-
readonly INCOMPLETE: "INCOMPLETE";
|
|
2127
|
-
readonly PENDING: "PENDING";
|
|
2128
|
-
readonly READY: "READY";
|
|
2129
|
-
};
|
|
2130
|
-
export type StandardsStatus =
|
|
2131
|
-
(typeof StandardsStatus)[keyof typeof StandardsStatus];
|
|
2132
|
-
export declare const StatusReasonCode: {
|
|
2133
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
2134
|
-
readonly NO_AVAILABLE_CONFIGURATION_RECORDER: "NO_AVAILABLE_CONFIGURATION_RECORDER";
|
|
2135
|
-
};
|
|
2136
|
-
export type StatusReasonCode =
|
|
2137
|
-
(typeof StatusReasonCode)[keyof typeof StatusReasonCode];
|
|
2138
|
-
export interface StandardsStatusReason {
|
|
2139
|
-
StatusReasonCode: StatusReasonCode | string | undefined;
|
|
2140
|
-
}
|
|
2141
|
-
export interface StandardsSubscription {
|
|
2142
|
-
StandardsSubscriptionArn: string | undefined;
|
|
2143
|
-
StandardsArn: string | undefined;
|
|
2144
|
-
StandardsInput: Record<string, string> | undefined;
|
|
2145
|
-
StandardsStatus: StandardsStatus | string | undefined;
|
|
2146
|
-
StandardsStatusReason?: StandardsStatusReason;
|
|
2147
|
-
}
|
|
2148
|
-
export interface BatchDisableStandardsResponse {
|
|
2149
|
-
StandardsSubscriptions?: StandardsSubscription[];
|
|
2150
|
-
}
|
|
2151
|
-
export interface StandardsSubscriptionRequest {
|
|
2152
|
-
StandardsArn: string | undefined;
|
|
2153
|
-
StandardsInput?: Record<string, string>;
|
|
2154
|
-
}
|
|
2155
|
-
export interface BatchEnableStandardsRequest {
|
|
2156
|
-
StandardsSubscriptionRequests: StandardsSubscriptionRequest[] | undefined;
|
|
2157
|
-
}
|
|
2158
|
-
export interface BatchEnableStandardsResponse {
|
|
2159
|
-
StandardsSubscriptions?: StandardsSubscription[];
|
|
2160
|
-
}
|