@aws-sdk/client-securityhub 3.298.0 → 3.300.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.
Files changed (79) hide show
  1. package/dist-cjs/models/models_0.js +1 -6
  2. package/dist-cjs/models/models_1.js +6 -1
  3. package/dist-cjs/protocols/Aws_restJson1.js +244 -0
  4. package/dist-es/models/models_0.js +0 -5
  5. package/dist-es/models/models_1.js +5 -0
  6. package/dist-es/protocols/Aws_restJson1.js +244 -0
  7. package/dist-types/SecurityHub.d.ts +6 -4
  8. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +4 -0
  9. package/dist-types/commands/AcceptInvitationCommand.d.ts +4 -0
  10. package/dist-types/commands/BatchDisableStandardsCommand.d.ts +5 -0
  11. package/dist-types/commands/BatchEnableStandardsCommand.d.ts +10 -0
  12. package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +5 -0
  13. package/dist-types/commands/BatchGetStandardsControlAssociationsCommand.d.ts +8 -0
  14. package/dist-types/commands/BatchImportFindingsCommand.d.ts +4037 -0
  15. package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +35 -0
  16. package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +10 -0
  17. package/dist-types/commands/CreateActionTargetCommand.d.ts +5 -0
  18. package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +6 -0
  19. package/dist-types/commands/CreateInsightCommand.d.ts +639 -1
  20. package/dist-types/commands/CreateMembersCommand.d.ts +9 -1
  21. package/dist-types/commands/DeclineInvitationsCommand.d.ts +9 -3
  22. package/dist-types/commands/DeleteActionTargetCommand.d.ts +4 -1
  23. package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +3 -0
  24. package/dist-types/commands/DeleteInsightCommand.d.ts +3 -0
  25. package/dist-types/commands/DeleteInvitationsCommand.d.ts +8 -2
  26. package/dist-types/commands/DeleteMembersCommand.d.ts +5 -0
  27. package/dist-types/commands/DescribeActionTargetsCommand.d.ts +7 -0
  28. package/dist-types/commands/DescribeHubCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -0
  30. package/dist-types/commands/DescribeProductsCommand.d.ts +5 -0
  31. package/dist-types/commands/DescribeStandardsCommand.d.ts +4 -0
  32. package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +5 -0
  33. package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +3 -0
  34. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
  35. package/dist-types/commands/DisableSecurityHubCommand.d.ts +1 -0
  36. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +1 -0
  37. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +1 -0
  38. package/dist-types/commands/DisassociateMembersCommand.d.ts +5 -0
  39. package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +3 -0
  40. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
  41. package/dist-types/commands/EnableSecurityHubCommand.d.ts +7 -0
  42. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +1 -0
  43. package/dist-types/commands/GetEnabledStandardsCommand.d.ts +7 -0
  44. package/dist-types/commands/GetFindingAggregatorCommand.d.ts +3 -0
  45. package/dist-types/commands/GetFindingsCommand.d.ts +644 -0
  46. package/dist-types/commands/GetInsightResultsCommand.d.ts +3 -0
  47. package/dist-types/commands/GetInsightsCommand.d.ts +7 -0
  48. package/dist-types/commands/GetInvitationsCountCommand.d.ts +1 -0
  49. package/dist-types/commands/GetMasterAccountCommand.d.ts +1 -0
  50. package/dist-types/commands/GetMembersCommand.d.ts +5 -0
  51. package/dist-types/commands/InviteMembersCommand.d.ts +5 -0
  52. package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +4 -0
  53. package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +4 -0
  54. package/dist-types/commands/ListInvitationsCommand.d.ts +4 -0
  55. package/dist-types/commands/ListMembersCommand.d.ts +5 -0
  56. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +4 -0
  57. package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +5 -0
  58. package/dist-types/commands/ListStandardsControlAssociationsCommand.d.ts +5 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  60. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  61. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  62. package/dist-types/commands/UpdateActionTargetCommand.d.ts +5 -0
  63. package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +7 -0
  64. package/dist-types/commands/UpdateFindingsCommand.d.ts +641 -0
  65. package/dist-types/commands/UpdateInsightCommand.d.ts +639 -0
  66. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +4 -0
  67. package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +4 -0
  68. package/dist-types/commands/UpdateStandardsControlCommand.d.ts +5 -0
  69. package/dist-types/models/models_0.d.ts +254 -129
  70. package/dist-types/models/models_1.d.ts +205 -105
  71. package/dist-types/models/models_2.d.ts +106 -5
  72. package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/models/models_0.d.ts +46 -34
  77. package/dist-types/ts3.4/models/models_1.d.ts +49 -33
  78. package/dist-types/ts3.4/models/models_2.d.ts +31 -1
  79. package/package.json +12 -12
@@ -1,6 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
2
  import {
3
- AccountDetails,
4
3
  Action,
5
4
  Adjustment,
6
5
  AssociatedStandard,
@@ -26,6 +25,7 @@ import {
26
25
  AwsEc2LaunchTemplateDetails,
27
26
  AwsEc2NetworkAclDetails,
28
27
  AwsEc2NetworkInterfaceDetails,
28
+ AwsEc2RouteTableDetails,
29
29
  AwsEc2SecurityGroupDetails,
30
30
  AwsEc2SubnetDetails,
31
31
  AwsEc2TransitGatewayDetails,
@@ -47,10 +47,42 @@ import {
47
47
  AwsElasticsearchDomainDetails,
48
48
  AwsElbLoadBalancerDetails,
49
49
  AwsElbv2LoadBalancerDetails,
50
- AwsIamAccessKeyDetails,
51
- AwsIamAttachedManagedPolicy,
52
50
  } from "./models_0";
53
51
  import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
52
+ export interface AwsIamAccessKeySessionContextAttributes {
53
+ MfaAuthenticated?: boolean;
54
+ CreationDate?: string;
55
+ }
56
+ export interface AwsIamAccessKeySessionContextSessionIssuer {
57
+ Type?: string;
58
+ PrincipalId?: string;
59
+ Arn?: string;
60
+ AccountId?: string;
61
+ UserName?: string;
62
+ }
63
+ export interface AwsIamAccessKeySessionContext {
64
+ Attributes?: AwsIamAccessKeySessionContextAttributes;
65
+ SessionIssuer?: AwsIamAccessKeySessionContextSessionIssuer;
66
+ }
67
+ export declare enum AwsIamAccessKeyStatus {
68
+ ACTIVE = "Active",
69
+ INACTIVE = "Inactive",
70
+ }
71
+ export interface AwsIamAccessKeyDetails {
72
+ UserName?: string;
73
+ Status?: AwsIamAccessKeyStatus | string;
74
+ CreatedAt?: string;
75
+ PrincipalId?: string;
76
+ PrincipalType?: string;
77
+ PrincipalName?: string;
78
+ AccountId?: string;
79
+ AccessKeyId?: string;
80
+ SessionContext?: AwsIamAccessKeySessionContext;
81
+ }
82
+ export interface AwsIamAttachedManagedPolicy {
83
+ PolicyName?: string;
84
+ PolicyArn?: string;
85
+ }
54
86
  export interface AwsIamGroupPolicy {
55
87
  PolicyName?: string;
56
88
  }
@@ -935,6 +967,18 @@ export interface AwsS3BucketWebsiteConfiguration {
935
967
  RedirectAllRequestsTo?: AwsS3BucketWebsiteConfigurationRedirectTo;
936
968
  RoutingRules?: AwsS3BucketWebsiteConfigurationRoutingRule[];
937
969
  }
970
+ export interface AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails {
971
+ Days?: number;
972
+ Mode?: string;
973
+ Years?: number;
974
+ }
975
+ export interface AwsS3BucketObjectLockConfigurationRuleDetails {
976
+ DefaultRetention?: AwsS3BucketObjectLockConfigurationRuleDefaultRetentionDetails;
977
+ }
978
+ export interface AwsS3BucketObjectLockConfiguration {
979
+ ObjectLockEnabled?: string;
980
+ Rule?: AwsS3BucketObjectLockConfigurationRuleDetails;
981
+ }
938
982
  export interface AwsS3BucketServerSideEncryptionByDefault {
939
983
  SSEAlgorithm?: string;
940
984
  KMSMasterKeyID?: string;
@@ -958,6 +1002,7 @@ export interface AwsS3BucketDetails {
958
1002
  BucketWebsiteConfiguration?: AwsS3BucketWebsiteConfiguration;
959
1003
  BucketNotificationConfiguration?: AwsS3BucketNotificationConfiguration;
960
1004
  BucketVersioningConfiguration?: AwsS3BucketBucketVersioningConfiguration;
1005
+ ObjectLockConfiguration?: AwsS3BucketObjectLockConfiguration;
961
1006
  }
962
1007
  export interface AwsS3ObjectDetails {
963
1008
  LastModified?: string;
@@ -1555,6 +1600,7 @@ export interface ResourceDetails {
1555
1600
  AwsSageMakerNotebookInstance?: AwsSageMakerNotebookInstanceDetails;
1556
1601
  AwsWafv2WebAcl?: AwsWafv2WebAclDetails;
1557
1602
  AwsWafv2RuleGroup?: AwsWafv2RuleGroupDetails;
1603
+ AwsEc2RouteTable?: AwsEc2RouteTableDetails;
1558
1604
  }
1559
1605
  export declare enum Partition {
1560
1606
  AWS = "aws",
@@ -2074,33 +2120,3 @@ export interface CreateFindingAggregatorResponse {
2074
2120
  RegionLinkingMode?: string;
2075
2121
  Regions?: string[];
2076
2122
  }
2077
- export interface CreateInsightRequest {
2078
- Name: string | undefined;
2079
- Filters: AwsSecurityFindingFilters | undefined;
2080
- GroupByAttribute: string | undefined;
2081
- }
2082
- export interface CreateInsightResponse {
2083
- InsightArn: string | undefined;
2084
- }
2085
- export interface CreateMembersRequest {
2086
- AccountDetails: AccountDetails[] | undefined;
2087
- }
2088
- export interface Result {
2089
- AccountId?: string;
2090
- ProcessingResult?: string;
2091
- }
2092
- export interface CreateMembersResponse {
2093
- UnprocessedAccounts?: Result[];
2094
- }
2095
- export interface DeclineInvitationsRequest {
2096
- AccountIds: string[] | undefined;
2097
- }
2098
- export interface DeclineInvitationsResponse {
2099
- UnprocessedAccounts?: Result[];
2100
- }
2101
- export interface DeleteActionTargetRequest {
2102
- ActionTargetArn: string | undefined;
2103
- }
2104
- export interface DeleteActionTargetResponse {
2105
- ActionTargetArn: string | undefined;
2106
- }
@@ -1,4 +1,5 @@
1
1
  import {
2
+ AccountDetails,
2
3
  ActionTarget,
3
4
  AdminAccount,
4
5
  AssociationStatus,
@@ -11,10 +12,39 @@ import {
11
12
  ControlStatus,
12
13
  NoteUpdate,
13
14
  RecordState,
14
- Result,
15
15
  SeverityRating,
16
16
  StandardsSubscription,
17
17
  } from "./models_1";
18
+ export interface CreateInsightRequest {
19
+ Name: string | undefined;
20
+ Filters: AwsSecurityFindingFilters | undefined;
21
+ GroupByAttribute: string | undefined;
22
+ }
23
+ export interface CreateInsightResponse {
24
+ InsightArn: string | undefined;
25
+ }
26
+ export interface CreateMembersRequest {
27
+ AccountDetails: AccountDetails[] | undefined;
28
+ }
29
+ export interface Result {
30
+ AccountId?: string;
31
+ ProcessingResult?: string;
32
+ }
33
+ export interface CreateMembersResponse {
34
+ UnprocessedAccounts?: Result[];
35
+ }
36
+ export interface DeclineInvitationsRequest {
37
+ AccountIds: string[] | undefined;
38
+ }
39
+ export interface DeclineInvitationsResponse {
40
+ UnprocessedAccounts?: Result[];
41
+ }
42
+ export interface DeleteActionTargetRequest {
43
+ ActionTargetArn: string | undefined;
44
+ }
45
+ export interface DeleteActionTargetResponse {
46
+ ActionTargetArn: string | undefined;
47
+ }
18
48
  export interface DeleteFindingAggregatorRequest {
19
49
  FindingAggregatorArn: string | undefined;
20
50
  }
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.298.0",
4
+ "version": "3.300.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,23 +21,23 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.298.0",
25
- "@aws-sdk/config-resolver": "3.296.0",
26
- "@aws-sdk/credential-provider-node": "3.298.0",
24
+ "@aws-sdk/client-sts": "3.300.0",
25
+ "@aws-sdk/config-resolver": "3.300.0",
26
+ "@aws-sdk/credential-provider-node": "3.300.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.296.0",
28
28
  "@aws-sdk/hash-node": "3.296.0",
29
29
  "@aws-sdk/invalid-dependency": "3.296.0",
30
30
  "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-endpoint": "3.299.0",
32
32
  "@aws-sdk/middleware-host-header": "3.296.0",
33
33
  "@aws-sdk/middleware-logger": "3.296.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-retry": "3.300.0",
36
36
  "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-signing": "3.299.0",
38
38
  "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.296.0",
40
- "@aws-sdk/node-config-provider": "3.296.0",
39
+ "@aws-sdk/middleware-user-agent": "3.299.0",
40
+ "@aws-sdk/node-config-provider": "3.300.0",
41
41
  "@aws-sdk/node-http-handler": "3.296.0",
42
42
  "@aws-sdk/protocol-http": "3.296.0",
43
43
  "@aws-sdk/smithy-client": "3.296.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.295.0",
48
48
  "@aws-sdk/util-body-length-node": "3.295.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
51
  "@aws-sdk/util-endpoints": "3.296.0",
52
52
  "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.296.0",
54
- "@aws-sdk/util-user-agent-node": "3.296.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.299.0",
54
+ "@aws-sdk/util-user-agent-node": "3.300.0",
55
55
  "@aws-sdk/util-utf8": "3.295.0",
56
56
  "tslib": "^2.5.0"
57
57
  },