@aws-sdk/client-securityhub 3.936.0 → 3.937.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 +16 -0
- package/dist-cjs/index.js +226 -0
- package/dist-es/SecurityHub.js +4 -0
- package/dist-es/commands/GetFindingsTrendsV2Command.js +16 -0
- package/dist-es/commands/GetResourcesTrendsV2Command.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +23 -0
- package/dist-es/pagination/GetFindingsTrendsV2Paginator.js +4 -0
- package/dist-es/pagination/GetResourcesTrendsV2Paginator.js +4 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/schemas/schemas_0.js +166 -0
- package/dist-types/SecurityHub.d.ts +14 -0
- package/dist-types/SecurityHubClient.d.ts +4 -2
- package/dist-types/commands/ConnectorRegistrationsV2Command.d.ts +1 -1
- package/dist-types/commands/CreateConnectorV2Command.d.ts +1 -1
- package/dist-types/commands/CreateTicketV2Command.d.ts +1 -1
- package/dist-types/commands/DeleteConnectorV2Command.d.ts +1 -1
- package/dist-types/commands/GetConnectorV2Command.d.ts +1 -1
- package/dist-types/commands/GetFindingsTrendsV2Command.d.ts +144 -0
- package/dist-types/commands/GetResourcesTrendsV2Command.d.ts +137 -0
- package/dist-types/commands/ListConnectorsV2Command.d.ts +1 -1
- package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectorV2Command.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +47 -0
- package/dist-types/models/models_2.d.ts +184 -191
- package/dist-types/models/models_3.d.ts +326 -2
- package/dist-types/pagination/GetFindingsTrendsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/GetResourcesTrendsV2Paginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/schemas/schemas_0.d.ts +24 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +34 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetFindingsTrendsV2Command.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetResourcesTrendsV2Command.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListStandardsControlAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +29 -0
- package/dist-types/ts3.4/models/models_2.d.ts +48 -52
- package/dist-types/ts3.4/models/models_3.d.ts +92 -1
- package/dist-types/ts3.4/pagination/GetFindingsTrendsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetResourcesTrendsV2Paginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +24 -0
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetResourcesTrendsV2Response } from "../models/models_2";
|
|
4
|
+
import { GetResourcesTrendsV2Request } from "../models/models_3";
|
|
5
|
+
import {
|
|
6
|
+
SecurityHubClientResolvedConfig,
|
|
7
|
+
ServiceInputTypes,
|
|
8
|
+
ServiceOutputTypes,
|
|
9
|
+
} from "../SecurityHubClient";
|
|
10
|
+
export { __MetadataBearer };
|
|
11
|
+
export { $Command };
|
|
12
|
+
export interface GetResourcesTrendsV2CommandInput
|
|
13
|
+
extends GetResourcesTrendsV2Request {}
|
|
14
|
+
export interface GetResourcesTrendsV2CommandOutput
|
|
15
|
+
extends GetResourcesTrendsV2Response,
|
|
16
|
+
__MetadataBearer {}
|
|
17
|
+
declare const GetResourcesTrendsV2Command_base: {
|
|
18
|
+
new (
|
|
19
|
+
input: GetResourcesTrendsV2CommandInput
|
|
20
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
21
|
+
GetResourcesTrendsV2CommandInput,
|
|
22
|
+
GetResourcesTrendsV2CommandOutput,
|
|
23
|
+
SecurityHubClientResolvedConfig,
|
|
24
|
+
ServiceInputTypes,
|
|
25
|
+
ServiceOutputTypes
|
|
26
|
+
>;
|
|
27
|
+
new (
|
|
28
|
+
input: GetResourcesTrendsV2CommandInput
|
|
29
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
30
|
+
GetResourcesTrendsV2CommandInput,
|
|
31
|
+
GetResourcesTrendsV2CommandOutput,
|
|
32
|
+
SecurityHubClientResolvedConfig,
|
|
33
|
+
ServiceInputTypes,
|
|
34
|
+
ServiceOutputTypes
|
|
35
|
+
>;
|
|
36
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
37
|
+
};
|
|
38
|
+
export declare class GetResourcesTrendsV2Command extends GetResourcesTrendsV2Command_base {
|
|
39
|
+
protected static __types: {
|
|
40
|
+
api: {
|
|
41
|
+
input: GetResourcesTrendsV2Request;
|
|
42
|
+
output: GetResourcesTrendsV2Response;
|
|
43
|
+
};
|
|
44
|
+
sdk: {
|
|
45
|
+
input: GetResourcesTrendsV2CommandInput;
|
|
46
|
+
output: GetResourcesTrendsV2CommandOutput;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
ListStandardsControlAssociationsResponse,
|
|
6
|
-
} from "../models/models_2";
|
|
3
|
+
import { ListStandardsControlAssociationsRequest } from "../models/models_2";
|
|
4
|
+
import { ListStandardsControlAssociationsResponse } from "../models/models_3";
|
|
7
5
|
import {
|
|
8
6
|
SecurityHubClientResolvedConfig,
|
|
9
7
|
ServiceInputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
ListTagsForResourceRequest,
|
|
5
5
|
ListTagsForResourceResponse,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_3";
|
|
7
7
|
import {
|
|
8
8
|
SecurityHubClientResolvedConfig,
|
|
9
9
|
ServiceInputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
StartConfigurationPolicyAssociationRequest,
|
|
5
5
|
StartConfigurationPolicyAssociationResponse,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_3";
|
|
7
7
|
import {
|
|
8
8
|
SecurityHubClientResolvedConfig,
|
|
9
9
|
ServiceInputTypes,
|
|
@@ -3,7 +3,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
3
3
|
import {
|
|
4
4
|
StartConfigurationPolicyDisassociationRequest,
|
|
5
5
|
StartConfigurationPolicyDisassociationResponse,
|
|
6
|
-
} from "../models/
|
|
6
|
+
} from "../models/models_3";
|
|
7
7
|
import {
|
|
8
8
|
SecurityHubClientResolvedConfig,
|
|
9
9
|
ServiceInputTypes,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { TagResourceRequest, TagResourceResponse } from "../models/
|
|
3
|
+
import { TagResourceRequest, TagResourceResponse } from "../models/models_3";
|
|
4
4
|
import {
|
|
5
5
|
SecurityHubClientResolvedConfig,
|
|
6
6
|
ServiceInputTypes,
|
|
@@ -63,6 +63,7 @@ export * from "./GetFindingAggregatorCommand";
|
|
|
63
63
|
export * from "./GetFindingHistoryCommand";
|
|
64
64
|
export * from "./GetFindingStatisticsV2Command";
|
|
65
65
|
export * from "./GetFindingsCommand";
|
|
66
|
+
export * from "./GetFindingsTrendsV2Command";
|
|
66
67
|
export * from "./GetFindingsV2Command";
|
|
67
68
|
export * from "./GetInsightResultsCommand";
|
|
68
69
|
export * from "./GetInsightsCommand";
|
|
@@ -70,6 +71,7 @@ export * from "./GetInvitationsCountCommand";
|
|
|
70
71
|
export * from "./GetMasterAccountCommand";
|
|
71
72
|
export * from "./GetMembersCommand";
|
|
72
73
|
export * from "./GetResourcesStatisticsV2Command";
|
|
74
|
+
export * from "./GetResourcesTrendsV2Command";
|
|
73
75
|
export * from "./GetResourcesV2Command";
|
|
74
76
|
export * from "./GetSecurityControlDefinitionCommand";
|
|
75
77
|
export * from "./InviteMembersCommand";
|
|
@@ -478,6 +478,20 @@ export declare const FindingHistoryUpdateSourceType: {
|
|
|
478
478
|
};
|
|
479
479
|
export type FindingHistoryUpdateSourceType =
|
|
480
480
|
(typeof FindingHistoryUpdateSourceType)[keyof typeof FindingHistoryUpdateSourceType];
|
|
481
|
+
export declare const FindingsTrendsStringField: {
|
|
482
|
+
readonly ACCOUNT_ID: "account_id";
|
|
483
|
+
readonly COMPLIANCE_CONTROL: "finding_control_id";
|
|
484
|
+
readonly COMPLIANCE_STATUS: "finding_compliance_status";
|
|
485
|
+
readonly CVE_ID: "finding_cve_ids";
|
|
486
|
+
readonly FINDING_ACTIVITY_NAME: "finding_activity_name";
|
|
487
|
+
readonly FINDING_CLASS: "finding_class_name";
|
|
488
|
+
readonly FINDING_STATUS: "finding_status";
|
|
489
|
+
readonly FINDING_TYPE: "finding_types";
|
|
490
|
+
readonly PROVIDER_NAME: "finding_provider";
|
|
491
|
+
readonly REGION: "region";
|
|
492
|
+
};
|
|
493
|
+
export type FindingsTrendsStringField =
|
|
494
|
+
(typeof FindingsTrendsStringField)[keyof typeof FindingsTrendsStringField];
|
|
481
495
|
export declare const SortOrder: {
|
|
482
496
|
readonly ASCENDING: "asc";
|
|
483
497
|
readonly DESCENDING: "desc";
|
|
@@ -507,6 +521,13 @@ export declare const GroupByField: {
|
|
|
507
521
|
readonly VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage";
|
|
508
522
|
};
|
|
509
523
|
export type GroupByField = (typeof GroupByField)[keyof typeof GroupByField];
|
|
524
|
+
export declare const GranularityField: {
|
|
525
|
+
readonly DAILY: "Daily";
|
|
526
|
+
readonly MONTHLY: "Monthly";
|
|
527
|
+
readonly WEEKLY: "Weekly";
|
|
528
|
+
};
|
|
529
|
+
export type GranularityField =
|
|
530
|
+
(typeof GranularityField)[keyof typeof GranularityField];
|
|
510
531
|
export declare const ResourcesDateField: {
|
|
511
532
|
readonly RESOURCE_CREATION_TIME_DT: "ResourceCreationTime";
|
|
512
533
|
readonly RESOURCE_DETAIL_CAPTURE_TIME_DT: "ResourceDetailCaptureTime";
|
|
@@ -554,6 +575,14 @@ export declare const ResourceGroupByField: {
|
|
|
554
575
|
};
|
|
555
576
|
export type ResourceGroupByField =
|
|
556
577
|
(typeof ResourceGroupByField)[keyof typeof ResourceGroupByField];
|
|
578
|
+
export declare const ResourcesTrendsStringField: {
|
|
579
|
+
readonly ACCOUNT_ID: "account_id";
|
|
580
|
+
readonly REGION: "region";
|
|
581
|
+
readonly RESOURCE_CATEGORY: "resource_category";
|
|
582
|
+
readonly RESOURCE_TYPE: "resource_type";
|
|
583
|
+
};
|
|
584
|
+
export type ResourcesTrendsStringField =
|
|
585
|
+
(typeof ResourcesTrendsStringField)[keyof typeof ResourcesTrendsStringField];
|
|
557
586
|
export declare const ResourceCategory: {
|
|
558
587
|
readonly AI_ML: "AI/ML";
|
|
559
588
|
readonly CODE: "Code";
|
|
@@ -11,6 +11,8 @@ import {
|
|
|
11
11
|
ControlFindingGenerator,
|
|
12
12
|
ControlStatus,
|
|
13
13
|
FindingHistoryUpdateSourceType,
|
|
14
|
+
FindingsTrendsStringField,
|
|
15
|
+
GranularityField,
|
|
14
16
|
IntegrationType,
|
|
15
17
|
IntegrationV2Type,
|
|
16
18
|
OcsfBooleanField,
|
|
@@ -30,6 +32,7 @@ import {
|
|
|
30
32
|
ResourcesMapField,
|
|
31
33
|
ResourcesNumberField,
|
|
32
34
|
ResourcesStringField,
|
|
35
|
+
ResourcesTrendsStringField,
|
|
33
36
|
RuleStatus,
|
|
34
37
|
SecurityControlProperty,
|
|
35
38
|
SecurityHubFeature,
|
|
@@ -1680,6 +1683,10 @@ export interface FindingHistoryRecord {
|
|
|
1680
1683
|
Updates?: FindingHistoryUpdate[] | undefined;
|
|
1681
1684
|
NextToken?: string | undefined;
|
|
1682
1685
|
}
|
|
1686
|
+
export interface FindingsTrendsStringFilter {
|
|
1687
|
+
FieldName?: FindingsTrendsStringField | undefined;
|
|
1688
|
+
Filter?: StringFilter | undefined;
|
|
1689
|
+
}
|
|
1683
1690
|
export interface GetAdministratorAccountRequest {}
|
|
1684
1691
|
export interface Invitation {
|
|
1685
1692
|
AccountId?: string | undefined;
|
|
@@ -1837,6 +1844,28 @@ export interface GroupByResult {
|
|
|
1837
1844
|
export interface GetFindingStatisticsV2Response {
|
|
1838
1845
|
GroupByResults?: GroupByResult[] | undefined;
|
|
1839
1846
|
}
|
|
1847
|
+
export interface SeverityTrendsCount {
|
|
1848
|
+
Unknown: number | undefined;
|
|
1849
|
+
Informational: number | undefined;
|
|
1850
|
+
Low: number | undefined;
|
|
1851
|
+
Medium: number | undefined;
|
|
1852
|
+
High: number | undefined;
|
|
1853
|
+
Critical: number | undefined;
|
|
1854
|
+
Fatal: number | undefined;
|
|
1855
|
+
Other: number | undefined;
|
|
1856
|
+
}
|
|
1857
|
+
export interface TrendsValues {
|
|
1858
|
+
SeverityTrends: SeverityTrendsCount | undefined;
|
|
1859
|
+
}
|
|
1860
|
+
export interface TrendsMetricsResult {
|
|
1861
|
+
Timestamp: Date | undefined;
|
|
1862
|
+
TrendsValues: TrendsValues | undefined;
|
|
1863
|
+
}
|
|
1864
|
+
export interface GetFindingsTrendsV2Response {
|
|
1865
|
+
Granularity: GranularityField | undefined;
|
|
1866
|
+
TrendsMetrics: TrendsMetricsResult[] | undefined;
|
|
1867
|
+
NextToken?: string | undefined;
|
|
1868
|
+
}
|
|
1840
1869
|
export interface GetFindingsV2Response {
|
|
1841
1870
|
Findings?: __DocumentType[] | undefined;
|
|
1842
1871
|
NextToken?: string | undefined;
|
|
@@ -1914,6 +1943,25 @@ export interface ResourcesStringFilter {
|
|
|
1914
1943
|
export interface GetResourcesStatisticsV2Response {
|
|
1915
1944
|
GroupByResults: GroupByResult[] | undefined;
|
|
1916
1945
|
}
|
|
1946
|
+
export interface ResourcesTrendsStringFilter {
|
|
1947
|
+
FieldName?: ResourcesTrendsStringField | undefined;
|
|
1948
|
+
Filter?: StringFilter | undefined;
|
|
1949
|
+
}
|
|
1950
|
+
export interface ResourcesCount {
|
|
1951
|
+
AllResources: number | undefined;
|
|
1952
|
+
}
|
|
1953
|
+
export interface ResourcesTrendsValues {
|
|
1954
|
+
ResourcesCount: ResourcesCount | undefined;
|
|
1955
|
+
}
|
|
1956
|
+
export interface ResourcesTrendsMetricsResult {
|
|
1957
|
+
Timestamp: Date | undefined;
|
|
1958
|
+
TrendsValues: ResourcesTrendsValues | undefined;
|
|
1959
|
+
}
|
|
1960
|
+
export interface GetResourcesTrendsV2Response {
|
|
1961
|
+
Granularity: GranularityField | undefined;
|
|
1962
|
+
TrendsMetrics: ResourcesTrendsMetricsResult[] | undefined;
|
|
1963
|
+
NextToken?: string | undefined;
|
|
1964
|
+
}
|
|
1917
1965
|
export interface ResourceSeverityBreakdown {
|
|
1918
1966
|
Other?: number | undefined;
|
|
1919
1967
|
Fatal?: number | undefined;
|
|
@@ -2102,55 +2150,3 @@ export interface StandardsControlAssociationSummary {
|
|
|
2102
2150
|
StandardsControlTitle?: string | undefined;
|
|
2103
2151
|
StandardsControlDescription?: string | undefined;
|
|
2104
2152
|
}
|
|
2105
|
-
export interface ListStandardsControlAssociationsResponse {
|
|
2106
|
-
StandardsControlAssociationSummaries:
|
|
2107
|
-
| StandardsControlAssociationSummary[]
|
|
2108
|
-
| undefined;
|
|
2109
|
-
NextToken?: string | undefined;
|
|
2110
|
-
}
|
|
2111
|
-
export interface ListTagsForResourceRequest {
|
|
2112
|
-
ResourceArn: string | undefined;
|
|
2113
|
-
}
|
|
2114
|
-
export interface ListTagsForResourceResponse {
|
|
2115
|
-
Tags?: Record<string, string> | undefined;
|
|
2116
|
-
}
|
|
2117
|
-
export type ProviderUpdateConfiguration =
|
|
2118
|
-
| ProviderUpdateConfiguration.JiraCloudMember
|
|
2119
|
-
| ProviderUpdateConfiguration.$UnknownMember;
|
|
2120
|
-
export declare namespace ProviderUpdateConfiguration {
|
|
2121
|
-
interface JiraCloudMember {
|
|
2122
|
-
JiraCloud: JiraCloudUpdateConfiguration;
|
|
2123
|
-
$unknown?: never;
|
|
2124
|
-
}
|
|
2125
|
-
interface $UnknownMember {
|
|
2126
|
-
JiraCloud?: never;
|
|
2127
|
-
$unknown: [string, any];
|
|
2128
|
-
}
|
|
2129
|
-
interface Visitor<T> {
|
|
2130
|
-
JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
|
|
2131
|
-
_: (name: string, value: any) => T;
|
|
2132
|
-
}
|
|
2133
|
-
}
|
|
2134
|
-
export interface StartConfigurationPolicyAssociationRequest {
|
|
2135
|
-
ConfigurationPolicyIdentifier: string | undefined;
|
|
2136
|
-
Target: Target | undefined;
|
|
2137
|
-
}
|
|
2138
|
-
export interface StartConfigurationPolicyAssociationResponse {
|
|
2139
|
-
ConfigurationPolicyId?: string | undefined;
|
|
2140
|
-
TargetId?: string | undefined;
|
|
2141
|
-
TargetType?: TargetType | undefined;
|
|
2142
|
-
AssociationType?: AssociationType | undefined;
|
|
2143
|
-
UpdatedAt?: Date | undefined;
|
|
2144
|
-
AssociationStatus?: ConfigurationPolicyAssociationStatus | undefined;
|
|
2145
|
-
AssociationStatusMessage?: string | undefined;
|
|
2146
|
-
}
|
|
2147
|
-
export interface StartConfigurationPolicyDisassociationRequest {
|
|
2148
|
-
Target?: Target | undefined;
|
|
2149
|
-
ConfigurationPolicyIdentifier: string | undefined;
|
|
2150
|
-
}
|
|
2151
|
-
export interface StartConfigurationPolicyDisassociationResponse {}
|
|
2152
|
-
export interface TagResourceRequest {
|
|
2153
|
-
ResourceArn: string | undefined;
|
|
2154
|
-
Tags: Record<string, string> | undefined;
|
|
2155
|
-
}
|
|
2156
|
-
export interface TagResourceResponse {}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AllowedOperators,
|
|
3
|
+
AssociationType,
|
|
3
4
|
AutoEnableStandards,
|
|
5
|
+
ConfigurationPolicyAssociationStatus,
|
|
4
6
|
ControlFindingGenerator,
|
|
5
7
|
ControlStatus,
|
|
6
8
|
GroupByField,
|
|
@@ -8,10 +10,13 @@ import {
|
|
|
8
10
|
ResourceGroupByField,
|
|
9
11
|
RuleStatusV2,
|
|
10
12
|
SortOrder,
|
|
13
|
+
TargetType,
|
|
11
14
|
} from "./enums";
|
|
12
15
|
import { AutomationRulesActionV2, NoteUpdate } from "./models_0";
|
|
13
16
|
import {
|
|
14
17
|
AwsSecurityFindingFilters,
|
|
18
|
+
FindingsTrendsStringFilter,
|
|
19
|
+
JiraCloudUpdateConfiguration,
|
|
15
20
|
OcsfBooleanFilter,
|
|
16
21
|
OcsfDateFilter,
|
|
17
22
|
OcsfIpFilter,
|
|
@@ -21,13 +26,67 @@ import {
|
|
|
21
26
|
OrganizationConfiguration,
|
|
22
27
|
ParameterConfiguration,
|
|
23
28
|
Policy,
|
|
24
|
-
ProviderUpdateConfiguration,
|
|
25
29
|
ResourcesDateFilter,
|
|
26
30
|
ResourcesMapFilter,
|
|
27
31
|
ResourcesNumberFilter,
|
|
28
32
|
ResourcesStringFilter,
|
|
33
|
+
ResourcesTrendsStringFilter,
|
|
29
34
|
SortCriterion,
|
|
35
|
+
StandardsControlAssociationSummary,
|
|
36
|
+
Target,
|
|
30
37
|
} from "./models_2";
|
|
38
|
+
export interface ListStandardsControlAssociationsResponse {
|
|
39
|
+
StandardsControlAssociationSummaries:
|
|
40
|
+
| StandardsControlAssociationSummary[]
|
|
41
|
+
| undefined;
|
|
42
|
+
NextToken?: string | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface ListTagsForResourceRequest {
|
|
45
|
+
ResourceArn: string | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface ListTagsForResourceResponse {
|
|
48
|
+
Tags?: Record<string, string> | undefined;
|
|
49
|
+
}
|
|
50
|
+
export type ProviderUpdateConfiguration =
|
|
51
|
+
| ProviderUpdateConfiguration.JiraCloudMember
|
|
52
|
+
| ProviderUpdateConfiguration.$UnknownMember;
|
|
53
|
+
export declare namespace ProviderUpdateConfiguration {
|
|
54
|
+
interface JiraCloudMember {
|
|
55
|
+
JiraCloud: JiraCloudUpdateConfiguration;
|
|
56
|
+
$unknown?: never;
|
|
57
|
+
}
|
|
58
|
+
interface $UnknownMember {
|
|
59
|
+
JiraCloud?: never;
|
|
60
|
+
$unknown: [string, any];
|
|
61
|
+
}
|
|
62
|
+
interface Visitor<T> {
|
|
63
|
+
JiraCloud: (value: JiraCloudUpdateConfiguration) => T;
|
|
64
|
+
_: (name: string, value: any) => T;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
export interface StartConfigurationPolicyAssociationRequest {
|
|
68
|
+
ConfigurationPolicyIdentifier: string | undefined;
|
|
69
|
+
Target: Target | undefined;
|
|
70
|
+
}
|
|
71
|
+
export interface StartConfigurationPolicyAssociationResponse {
|
|
72
|
+
ConfigurationPolicyId?: string | undefined;
|
|
73
|
+
TargetId?: string | undefined;
|
|
74
|
+
TargetType?: TargetType | undefined;
|
|
75
|
+
AssociationType?: AssociationType | undefined;
|
|
76
|
+
UpdatedAt?: Date | undefined;
|
|
77
|
+
AssociationStatus?: ConfigurationPolicyAssociationStatus | undefined;
|
|
78
|
+
AssociationStatusMessage?: string | undefined;
|
|
79
|
+
}
|
|
80
|
+
export interface StartConfigurationPolicyDisassociationRequest {
|
|
81
|
+
Target?: Target | undefined;
|
|
82
|
+
ConfigurationPolicyIdentifier: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface StartConfigurationPolicyDisassociationResponse {}
|
|
85
|
+
export interface TagResourceRequest {
|
|
86
|
+
ResourceArn: string | undefined;
|
|
87
|
+
Tags: Record<string, string> | undefined;
|
|
88
|
+
}
|
|
89
|
+
export interface TagResourceResponse {}
|
|
31
90
|
export interface UntagResourceRequest {
|
|
32
91
|
ResourceArn: string | undefined;
|
|
33
92
|
TagKeys: string[] | undefined;
|
|
@@ -131,6 +190,11 @@ export interface CompositeFilter {
|
|
|
131
190
|
NestedCompositeFilters?: CompositeFilter[] | undefined;
|
|
132
191
|
Operator?: AllowedOperators | undefined;
|
|
133
192
|
}
|
|
193
|
+
export interface FindingsTrendsCompositeFilter {
|
|
194
|
+
StringFilters?: FindingsTrendsStringFilter[] | undefined;
|
|
195
|
+
NestedCompositeFilters?: FindingsTrendsCompositeFilter[] | undefined;
|
|
196
|
+
Operator?: AllowedOperators | undefined;
|
|
197
|
+
}
|
|
134
198
|
export interface ResourcesCompositeFilter {
|
|
135
199
|
StringFilters?: ResourcesStringFilter[] | undefined;
|
|
136
200
|
DateFilters?: ResourcesDateFilter[] | undefined;
|
|
@@ -139,6 +203,15 @@ export interface ResourcesCompositeFilter {
|
|
|
139
203
|
NestedCompositeFilters?: ResourcesCompositeFilter[] | undefined;
|
|
140
204
|
Operator?: AllowedOperators | undefined;
|
|
141
205
|
}
|
|
206
|
+
export interface ResourcesTrendsCompositeFilter {
|
|
207
|
+
StringFilters?: ResourcesTrendsStringFilter[] | undefined;
|
|
208
|
+
NestedCompositeFilters?: ResourcesTrendsCompositeFilter[] | undefined;
|
|
209
|
+
Operator?: AllowedOperators | undefined;
|
|
210
|
+
}
|
|
211
|
+
export interface FindingsTrendsFilters {
|
|
212
|
+
CompositeFilters?: FindingsTrendsCompositeFilter[] | undefined;
|
|
213
|
+
CompositeOperator?: AllowedOperators | undefined;
|
|
214
|
+
}
|
|
142
215
|
export interface OcsfFindingFilters {
|
|
143
216
|
CompositeFilters?: CompositeFilter[] | undefined;
|
|
144
217
|
CompositeOperator?: AllowedOperators | undefined;
|
|
@@ -147,6 +220,10 @@ export interface ResourcesFilters {
|
|
|
147
220
|
CompositeFilters?: ResourcesCompositeFilter[] | undefined;
|
|
148
221
|
CompositeOperator?: AllowedOperators | undefined;
|
|
149
222
|
}
|
|
223
|
+
export interface ResourcesTrendsFilters {
|
|
224
|
+
CompositeFilters?: ResourcesTrendsCompositeFilter[] | undefined;
|
|
225
|
+
CompositeOperator?: AllowedOperators | undefined;
|
|
226
|
+
}
|
|
150
227
|
export type Criteria =
|
|
151
228
|
| Criteria.OcsfFindingCriteriaMember
|
|
152
229
|
| Criteria.$UnknownMember;
|
|
@@ -164,12 +241,26 @@ export declare namespace Criteria {
|
|
|
164
241
|
_: (name: string, value: any) => T;
|
|
165
242
|
}
|
|
166
243
|
}
|
|
244
|
+
export interface GetFindingsTrendsV2Request {
|
|
245
|
+
Filters?: FindingsTrendsFilters | undefined;
|
|
246
|
+
StartTime: Date | undefined;
|
|
247
|
+
EndTime: Date | undefined;
|
|
248
|
+
NextToken?: string | undefined;
|
|
249
|
+
MaxResults?: number | undefined;
|
|
250
|
+
}
|
|
167
251
|
export interface GetFindingsV2Request {
|
|
168
252
|
Filters?: OcsfFindingFilters | undefined;
|
|
169
253
|
SortCriteria?: SortCriterion[] | undefined;
|
|
170
254
|
NextToken?: string | undefined;
|
|
171
255
|
MaxResults?: number | undefined;
|
|
172
256
|
}
|
|
257
|
+
export interface GetResourcesTrendsV2Request {
|
|
258
|
+
Filters?: ResourcesTrendsFilters | undefined;
|
|
259
|
+
StartTime: Date | undefined;
|
|
260
|
+
EndTime: Date | undefined;
|
|
261
|
+
NextToken?: string | undefined;
|
|
262
|
+
MaxResults?: number | undefined;
|
|
263
|
+
}
|
|
173
264
|
export interface GetResourcesV2Request {
|
|
174
265
|
Filters?: ResourcesFilters | undefined;
|
|
175
266
|
SortCriteria?: SortCriterion[] | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetFindingsTrendsV2CommandInput,
|
|
4
|
+
GetFindingsTrendsV2CommandOutput,
|
|
5
|
+
} from "../commands/GetFindingsTrendsV2Command";
|
|
6
|
+
import { SecurityHubPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetFindingsTrendsV2: (
|
|
8
|
+
config: SecurityHubPaginationConfiguration,
|
|
9
|
+
input: GetFindingsTrendsV2CommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetFindingsTrendsV2CommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetResourcesTrendsV2CommandInput,
|
|
4
|
+
GetResourcesTrendsV2CommandOutput,
|
|
5
|
+
} from "../commands/GetResourcesTrendsV2Command";
|
|
6
|
+
import { SecurityHubPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetResourcesTrendsV2: (
|
|
8
|
+
config: SecurityHubPaginationConfiguration,
|
|
9
|
+
input: GetResourcesTrendsV2CommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetResourcesTrendsV2CommandOutput>;
|
|
@@ -6,9 +6,11 @@ export * from "./DescribeStandardsPaginator";
|
|
|
6
6
|
export * from "./GetEnabledStandardsPaginator";
|
|
7
7
|
export * from "./GetFindingHistoryPaginator";
|
|
8
8
|
export * from "./GetFindingsPaginator";
|
|
9
|
+
export * from "./GetFindingsTrendsV2Paginator";
|
|
9
10
|
export * from "./GetFindingsV2Paginator";
|
|
10
|
-
export * from "./GetInsightsPaginator";
|
|
11
11
|
export * from "./Interfaces";
|
|
12
|
+
export * from "./GetInsightsPaginator";
|
|
13
|
+
export * from "./GetResourcesTrendsV2Paginator";
|
|
12
14
|
export * from "./GetResourcesV2Paginator";
|
|
13
15
|
export * from "./ListAggregatorsV2Paginator";
|
|
14
16
|
export * from "./ListConfigurationPoliciesPaginator";
|
|
@@ -680,6 +680,9 @@ export declare var FindingHistoryUpdate: StaticStructureSchema;
|
|
|
680
680
|
export declare var FindingHistoryUpdateSource: StaticStructureSchema;
|
|
681
681
|
export declare var FindingProviderFields: StaticStructureSchema;
|
|
682
682
|
export declare var FindingProviderSeverity: StaticStructureSchema;
|
|
683
|
+
export declare var FindingsTrendsCompositeFilter: StaticStructureSchema;
|
|
684
|
+
export declare var FindingsTrendsFilters: StaticStructureSchema;
|
|
685
|
+
export declare var FindingsTrendsStringFilter: StaticStructureSchema;
|
|
683
686
|
export declare var FirewallPolicyDetails: StaticStructureSchema;
|
|
684
687
|
export declare var FirewallPolicyStatefulRuleGroupReferencesDetails: StaticStructureSchema;
|
|
685
688
|
export declare var FirewallPolicyStatelessCustomActionsDetails: StaticStructureSchema;
|
|
@@ -708,6 +711,8 @@ export declare var GetFindingsRequest: StaticStructureSchema;
|
|
|
708
711
|
export declare var GetFindingsResponse: StaticStructureSchema;
|
|
709
712
|
export declare var GetFindingStatisticsV2Request: StaticStructureSchema;
|
|
710
713
|
export declare var GetFindingStatisticsV2Response: StaticStructureSchema;
|
|
714
|
+
export declare var GetFindingsTrendsV2Request: StaticStructureSchema;
|
|
715
|
+
export declare var GetFindingsTrendsV2Response: StaticStructureSchema;
|
|
711
716
|
export declare var GetFindingsV2Request: StaticStructureSchema;
|
|
712
717
|
export declare var GetFindingsV2Response: StaticStructureSchema;
|
|
713
718
|
export declare var GetInsightResultsRequest: StaticStructureSchema;
|
|
@@ -722,6 +727,8 @@ export declare var GetMembersRequest: StaticStructureSchema;
|
|
|
722
727
|
export declare var GetMembersResponse: StaticStructureSchema;
|
|
723
728
|
export declare var GetResourcesStatisticsV2Request: StaticStructureSchema;
|
|
724
729
|
export declare var GetResourcesStatisticsV2Response: StaticStructureSchema;
|
|
730
|
+
export declare var GetResourcesTrendsV2Request: StaticStructureSchema;
|
|
731
|
+
export declare var GetResourcesTrendsV2Response: StaticStructureSchema;
|
|
725
732
|
export declare var GetResourcesV2Request: StaticStructureSchema;
|
|
726
733
|
export declare var GetResourcesV2Response: StaticStructureSchema;
|
|
727
734
|
export declare var GetSecurityControlDefinitionRequest: StaticStructureSchema;
|
|
@@ -834,12 +841,18 @@ export declare var ResourceInUseException: StaticErrorSchema;
|
|
|
834
841
|
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
835
842
|
export declare var ResourceResult: StaticStructureSchema;
|
|
836
843
|
export declare var ResourcesCompositeFilter: StaticStructureSchema;
|
|
844
|
+
export declare var ResourcesCount: StaticStructureSchema;
|
|
837
845
|
export declare var ResourcesDateFilter: StaticStructureSchema;
|
|
838
846
|
export declare var ResourceSeverityBreakdown: StaticStructureSchema;
|
|
839
847
|
export declare var ResourcesFilters: StaticStructureSchema;
|
|
840
848
|
export declare var ResourcesMapFilter: StaticStructureSchema;
|
|
841
849
|
export declare var ResourcesNumberFilter: StaticStructureSchema;
|
|
842
850
|
export declare var ResourcesStringFilter: StaticStructureSchema;
|
|
851
|
+
export declare var ResourcesTrendsCompositeFilter: StaticStructureSchema;
|
|
852
|
+
export declare var ResourcesTrendsFilters: StaticStructureSchema;
|
|
853
|
+
export declare var ResourcesTrendsMetricsResult: StaticStructureSchema;
|
|
854
|
+
export declare var ResourcesTrendsStringFilter: StaticStructureSchema;
|
|
855
|
+
export declare var ResourcesTrendsValues: StaticStructureSchema;
|
|
843
856
|
export declare var ResourceTag: StaticStructureSchema;
|
|
844
857
|
export declare var Result: StaticStructureSchema;
|
|
845
858
|
export declare var RouteSetDetails: StaticStructureSchema;
|
|
@@ -874,6 +887,7 @@ export declare var Sequence: StaticStructureSchema;
|
|
|
874
887
|
export declare var ServiceNowDetail: StaticStructureSchema;
|
|
875
888
|
export declare var ServiceNowProviderConfiguration: StaticStructureSchema;
|
|
876
889
|
export declare var Severity: StaticStructureSchema;
|
|
890
|
+
export declare var SeverityTrendsCount: StaticStructureSchema;
|
|
877
891
|
export declare var SeverityUpdate: StaticStructureSchema;
|
|
878
892
|
export declare var Signal: StaticStructureSchema;
|
|
879
893
|
export declare var SoftwarePackage: StaticStructureSchema;
|
|
@@ -904,6 +918,8 @@ export declare var TagResourceResponse: StaticStructureSchema;
|
|
|
904
918
|
export declare var Threat: StaticStructureSchema;
|
|
905
919
|
export declare var ThreatIntelIndicator: StaticStructureSchema;
|
|
906
920
|
export declare var ThrottlingException: StaticErrorSchema;
|
|
921
|
+
export declare var TrendsMetricsResult: StaticStructureSchema;
|
|
922
|
+
export declare var TrendsValues: StaticStructureSchema;
|
|
907
923
|
export declare var UnprocessedAutomationRule: StaticStructureSchema;
|
|
908
924
|
export declare var UnprocessedConfigurationPolicyAssociation: StaticStructureSchema;
|
|
909
925
|
export declare var UnprocessedSecurityControl: StaticStructureSchema;
|
|
@@ -1144,6 +1160,8 @@ export declare var FilePathList: StaticListSchema;
|
|
|
1144
1160
|
export declare var FindingAggregatorList: StaticListSchema;
|
|
1145
1161
|
export declare var FindingHistoryRecordList: StaticListSchema;
|
|
1146
1162
|
export declare var FindingHistoryUpdatesList: StaticListSchema;
|
|
1163
|
+
export declare var FindingsTrendsCompositeFilterList: StaticListSchema;
|
|
1164
|
+
export declare var FindingsTrendsStringFilterList: StaticListSchema;
|
|
1147
1165
|
export declare var FirewallPolicyStatefulRuleGroupReferencesList: StaticListSchema;
|
|
1148
1166
|
export declare var FirewallPolicyStatelessCustomActionsList: StaticListSchema;
|
|
1149
1167
|
export declare var FirewallPolicyStatelessRuleGroupReferencesList: StaticListSchema;
|
|
@@ -1197,6 +1215,9 @@ export declare var ResourcesDateFilterList: StaticListSchema;
|
|
|
1197
1215
|
export declare var ResourcesMapFilterList: StaticListSchema;
|
|
1198
1216
|
export declare var ResourcesNumberFilterList: StaticListSchema;
|
|
1199
1217
|
export declare var ResourcesStringFilterList: StaticListSchema;
|
|
1218
|
+
export declare var ResourcesTrendsCompositeFilterList: StaticListSchema;
|
|
1219
|
+
export declare var ResourcesTrendsMetrics: StaticListSchema;
|
|
1220
|
+
export declare var ResourcesTrendsStringFilterList: StaticListSchema;
|
|
1200
1221
|
export declare var ResourceTagList: StaticListSchema;
|
|
1201
1222
|
export declare var ResultList: StaticListSchema;
|
|
1202
1223
|
export declare var RouteSetList: StaticListSchema;
|
|
@@ -1238,6 +1259,7 @@ export declare var StringList: number;
|
|
|
1238
1259
|
export declare var TagKeyList: number;
|
|
1239
1260
|
export declare var ThreatIntelIndicatorList: StaticListSchema;
|
|
1240
1261
|
export declare var ThreatList: StaticListSchema;
|
|
1262
|
+
export declare var TrendsMetrics: StaticListSchema;
|
|
1241
1263
|
export declare var TypeList: number;
|
|
1242
1264
|
export declare var UnprocessedAutomationRulesList: StaticListSchema;
|
|
1243
1265
|
export declare var UnprocessedConfigurationPolicyAssociationList: StaticListSchema;
|
|
@@ -1329,6 +1351,7 @@ export declare var GetFindingAggregator: StaticOperationSchema;
|
|
|
1329
1351
|
export declare var GetFindingHistory: StaticOperationSchema;
|
|
1330
1352
|
export declare var GetFindings: StaticOperationSchema;
|
|
1331
1353
|
export declare var GetFindingStatisticsV2: StaticOperationSchema;
|
|
1354
|
+
export declare var GetFindingsTrendsV2: StaticOperationSchema;
|
|
1332
1355
|
export declare var GetFindingsV2: StaticOperationSchema;
|
|
1333
1356
|
export declare var GetInsightResults: StaticOperationSchema;
|
|
1334
1357
|
export declare var GetInsights: StaticOperationSchema;
|
|
@@ -1336,6 +1359,7 @@ export declare var GetInvitationsCount: StaticOperationSchema;
|
|
|
1336
1359
|
export declare var GetMasterAccount: StaticOperationSchema;
|
|
1337
1360
|
export declare var GetMembers: StaticOperationSchema;
|
|
1338
1361
|
export declare var GetResourcesStatisticsV2: StaticOperationSchema;
|
|
1362
|
+
export declare var GetResourcesTrendsV2: StaticOperationSchema;
|
|
1339
1363
|
export declare var GetResourcesV2: StaticOperationSchema;
|
|
1340
1364
|
export declare var GetSecurityControlDefinition: StaticOperationSchema;
|
|
1341
1365
|
export declare var InviteMembers: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.937.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-securityhub",
|