@aws-sdk/client-securityagent 3.1162.0 → 3.1163.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 +17 -7
- package/dist-es/models/enums.js +2 -0
- package/dist-es/schemas/schemas_0.js +13 -6
- package/dist-types/commands/CreateMembershipCommand.d.ts +2 -2
- package/dist-types/commands/DeleteMembershipCommand.d.ts +2 -2
- package/dist-types/commands/ListMembershipsCommand.d.ts +6 -2
- package/dist-types/commands/StartThreatModelJobCommand.d.ts +1 -2
- package/dist-types/models/enums.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +30 -18
- package/dist-types/models/models_1.d.ts +16 -0
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/commands/StartThreatModelJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +16 -5
- package/dist-types/ts3.4/models/models_1.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const commonParams = {
|
|
|
67
67
|
Region: { type: "builtInParams", name: "region" },
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
var version = "3.
|
|
70
|
+
var version = "3.1162.0";
|
|
71
71
|
var packageInfo = {
|
|
72
72
|
version: version};
|
|
73
73
|
|
|
@@ -465,6 +465,7 @@ const _GLII = "GitLabIntegrationInput";
|
|
|
465
465
|
const _GLRC = "GitLabResourceCapabilities";
|
|
466
466
|
const _GLRM = "GitLabRepositoryMetadata";
|
|
467
467
|
const _GLRR = "GitLabRepositoryResource";
|
|
468
|
+
const _GM = "GroupMetadata";
|
|
468
469
|
const _GSRP = "GetSecurityRequirementPack";
|
|
469
470
|
const _GSRPI = "GetSecurityRequirementPackInput";
|
|
470
471
|
const _GSRPO = "GetSecurityRequirementPackOutput";
|
|
@@ -862,12 +863,13 @@ const _fi = "findings";
|
|
|
862
863
|
const _fil = "filter";
|
|
863
864
|
const _filt = "filters";
|
|
864
865
|
const _fo = "format";
|
|
865
|
-
const _g = "
|
|
866
|
+
const _g = "group";
|
|
866
867
|
const _gI = "groupId";
|
|
867
868
|
const _gPS = "generalPurposeScanning";
|
|
868
869
|
const _gR = "githubRepository";
|
|
869
870
|
const _gRi = "gitlabRepository";
|
|
870
|
-
const _gi = "
|
|
871
|
+
const _gi = "github";
|
|
872
|
+
const _git = "gitlab";
|
|
871
873
|
const _h = "http";
|
|
872
874
|
const _hA = "hostAddress";
|
|
873
875
|
const _hCS = "headCommitSha";
|
|
@@ -1976,6 +1978,11 @@ var GitLabResourceCapabilities$ = [3, n0, _GLRC,
|
|
|
1976
1978
|
[_tFG, _lC, _rC],
|
|
1977
1979
|
[() => TriggerFilterGroups, 2, 2]
|
|
1978
1980
|
];
|
|
1981
|
+
var GroupMetadata$ = [3, n0, _GM,
|
|
1982
|
+
0,
|
|
1983
|
+
[_dNi, _d],
|
|
1984
|
+
[0, 0]
|
|
1985
|
+
];
|
|
1979
1986
|
var HttpVerification$ = [3, n0, _HV,
|
|
1980
1987
|
0,
|
|
1981
1988
|
[_to, _rP],
|
|
@@ -3010,8 +3017,8 @@ var IntegrationFilter$ = [4, n0, _IF,
|
|
|
3010
3017
|
];
|
|
3011
3018
|
var MemberMetadata$ = [4, n0, _MM,
|
|
3012
3019
|
0,
|
|
3013
|
-
[_use],
|
|
3014
|
-
[() => UserMetadata$]
|
|
3020
|
+
[_use, _g],
|
|
3021
|
+
[() => UserMetadata$, () => GroupMetadata$]
|
|
3015
3022
|
];
|
|
3016
3023
|
var MembershipConfig$ = [4, n0, _MC,
|
|
3017
3024
|
0,
|
|
@@ -3025,12 +3032,12 @@ var PrivateConnectionMode$ = [4, n0, _PCM,
|
|
|
3025
3032
|
];
|
|
3026
3033
|
var ProviderInput$ = [4, n0, _PI,
|
|
3027
3034
|
0,
|
|
3028
|
-
[
|
|
3035
|
+
[_gi, _git, _bi, _confl, _aDO, _bDC, _j],
|
|
3029
3036
|
[() => GitHubIntegrationInput$, [() => GitLabIntegrationInput$, 0], () => BitbucketIntegrationInput$, () => ConfluenceIntegrationInput$, () => AzureDevOpsIntegrationInput$, () => BitbucketDataCenterIntegrationInput$, () => JiraIntegrationInput$]
|
|
3030
3037
|
];
|
|
3031
3038
|
var ProviderResourceCapabilities$ = [4, n0, _PRC,
|
|
3032
3039
|
0,
|
|
3033
|
-
[
|
|
3040
|
+
[_gi, _git, _bi, _confl, _aDO, _j],
|
|
3034
3041
|
[() => GitHubResourceCapabilities$, () => GitLabResourceCapabilities$, () => BitbucketResourceCapabilities$, () => ConfluenceResourceCapabilities$, () => AzureDevOpsResourceCapabilities$, () => JiraResourceCapabilities$]
|
|
3035
3042
|
];
|
|
3036
3043
|
var AddArtifact$ = [9, n0, _AA,
|
|
@@ -4164,6 +4171,7 @@ const UserRole = {
|
|
|
4164
4171
|
MEMBER: "MEMBER",
|
|
4165
4172
|
};
|
|
4166
4173
|
const MembershipType = {
|
|
4174
|
+
GROUP: "GROUP",
|
|
4167
4175
|
USER: "USER",
|
|
4168
4176
|
};
|
|
4169
4177
|
const ResourceConfigDnsResolution = {
|
|
@@ -4223,6 +4231,7 @@ const ResourceType = {
|
|
|
4223
4231
|
};
|
|
4224
4232
|
const MembershipTypeFilter = {
|
|
4225
4233
|
ALL: "ALL",
|
|
4234
|
+
GROUP: "GROUP",
|
|
4226
4235
|
USER: "USER",
|
|
4227
4236
|
};
|
|
4228
4237
|
|
|
@@ -4501,6 +4510,7 @@ exports.GitLabRepositoryMetadata$ = GitLabRepositoryMetadata$;
|
|
|
4501
4510
|
exports.GitLabRepositoryResource$ = GitLabRepositoryResource$;
|
|
4502
4511
|
exports.GitLabResourceCapabilities$ = GitLabResourceCapabilities$;
|
|
4503
4512
|
exports.GitLabTokenType = GitLabTokenType;
|
|
4513
|
+
exports.GroupMetadata$ = GroupMetadata$;
|
|
4504
4514
|
exports.HttpVerification$ = HttpVerification$;
|
|
4505
4515
|
exports.IdCConfiguration$ = IdCConfiguration$;
|
|
4506
4516
|
exports.ImportSecurityRequirements$ = ImportSecurityRequirements$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -228,6 +228,7 @@ export const UserRole = {
|
|
|
228
228
|
MEMBER: "MEMBER",
|
|
229
229
|
};
|
|
230
230
|
export const MembershipType = {
|
|
231
|
+
GROUP: "GROUP",
|
|
231
232
|
USER: "USER",
|
|
232
233
|
};
|
|
233
234
|
export const ResourceConfigDnsResolution = {
|
|
@@ -287,5 +288,6 @@ export const ResourceType = {
|
|
|
287
288
|
};
|
|
288
289
|
export const MembershipTypeFilter = {
|
|
289
290
|
ALL: "ALL",
|
|
291
|
+
GROUP: "GROUP",
|
|
290
292
|
USER: "USER",
|
|
291
293
|
};
|
|
@@ -245,6 +245,7 @@ const _GLII = "GitLabIntegrationInput";
|
|
|
245
245
|
const _GLRC = "GitLabResourceCapabilities";
|
|
246
246
|
const _GLRM = "GitLabRepositoryMetadata";
|
|
247
247
|
const _GLRR = "GitLabRepositoryResource";
|
|
248
|
+
const _GM = "GroupMetadata";
|
|
248
249
|
const _GSRP = "GetSecurityRequirementPack";
|
|
249
250
|
const _GSRPI = "GetSecurityRequirementPackInput";
|
|
250
251
|
const _GSRPO = "GetSecurityRequirementPackOutput";
|
|
@@ -642,12 +643,13 @@ const _fi = "findings";
|
|
|
642
643
|
const _fil = "filter";
|
|
643
644
|
const _filt = "filters";
|
|
644
645
|
const _fo = "format";
|
|
645
|
-
const _g = "
|
|
646
|
+
const _g = "group";
|
|
646
647
|
const _gI = "groupId";
|
|
647
648
|
const _gPS = "generalPurposeScanning";
|
|
648
649
|
const _gR = "githubRepository";
|
|
649
650
|
const _gRi = "gitlabRepository";
|
|
650
|
-
const _gi = "
|
|
651
|
+
const _gi = "github";
|
|
652
|
+
const _git = "gitlab";
|
|
651
653
|
const _h = "http";
|
|
652
654
|
const _hA = "hostAddress";
|
|
653
655
|
const _hCS = "headCommitSha";
|
|
@@ -1759,6 +1761,11 @@ export var GitLabResourceCapabilities$ = [3, n0, _GLRC,
|
|
|
1759
1761
|
[_tFG, _lC, _rC],
|
|
1760
1762
|
[() => TriggerFilterGroups, 2, 2]
|
|
1761
1763
|
];
|
|
1764
|
+
export var GroupMetadata$ = [3, n0, _GM,
|
|
1765
|
+
0,
|
|
1766
|
+
[_dNi, _d],
|
|
1767
|
+
[0, 0]
|
|
1768
|
+
];
|
|
1762
1769
|
export var HttpVerification$ = [3, n0, _HV,
|
|
1763
1770
|
0,
|
|
1764
1771
|
[_to, _rP],
|
|
@@ -2832,8 +2839,8 @@ export var IntegrationFilter$ = [4, n0, _IF,
|
|
|
2832
2839
|
];
|
|
2833
2840
|
export var MemberMetadata$ = [4, n0, _MM,
|
|
2834
2841
|
0,
|
|
2835
|
-
[_use],
|
|
2836
|
-
[() => UserMetadata$]
|
|
2842
|
+
[_use, _g],
|
|
2843
|
+
[() => UserMetadata$, () => GroupMetadata$]
|
|
2837
2844
|
];
|
|
2838
2845
|
export var MembershipConfig$ = [4, n0, _MC,
|
|
2839
2846
|
0,
|
|
@@ -2847,12 +2854,12 @@ export var PrivateConnectionMode$ = [4, n0, _PCM,
|
|
|
2847
2854
|
];
|
|
2848
2855
|
export var ProviderInput$ = [4, n0, _PI,
|
|
2849
2856
|
0,
|
|
2850
|
-
[
|
|
2857
|
+
[_gi, _git, _bi, _confl, _aDO, _bDC, _j],
|
|
2851
2858
|
[() => GitHubIntegrationInput$, [() => GitLabIntegrationInput$, 0], () => BitbucketIntegrationInput$, () => ConfluenceIntegrationInput$, () => AzureDevOpsIntegrationInput$, () => BitbucketDataCenterIntegrationInput$, () => JiraIntegrationInput$]
|
|
2852
2859
|
];
|
|
2853
2860
|
export var ProviderResourceCapabilities$ = [4, n0, _PRC,
|
|
2854
2861
|
0,
|
|
2855
|
-
[
|
|
2862
|
+
[_gi, _git, _bi, _confl, _aDO, _j],
|
|
2856
2863
|
[() => GitHubResourceCapabilities$, () => GitLabResourceCapabilities$, () => BitbucketResourceCapabilities$, () => ConfluenceResourceCapabilities$, () => AzureDevOpsResourceCapabilities$, () => JiraResourceCapabilities$]
|
|
2857
2864
|
];
|
|
2858
2865
|
export var AddArtifact$ = [9, n0, _AA,
|
|
@@ -24,7 +24,7 @@ declare const CreateMembershipCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Creates a new membership, granting a user access to an agent space within an application.</p>
|
|
27
|
+
* <p>Creates a new membership, granting a user or group access to an agent space within an application.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -37,7 +37,7 @@ declare const CreateMembershipCommand_base: {
|
|
|
37
37
|
* applicationId: "STRING_VALUE", // required
|
|
38
38
|
* agentSpaceId: "STRING_VALUE", // required
|
|
39
39
|
* membershipId: "STRING_VALUE", // required
|
|
40
|
-
* memberType: "USER", // required
|
|
40
|
+
* memberType: "USER" || "GROUP", // required
|
|
41
41
|
* config: { // MembershipConfig Union: only one key present
|
|
42
42
|
* user: { // UserConfig
|
|
43
43
|
* role: "MEMBER",
|
|
@@ -24,7 +24,7 @@ declare const DeleteMembershipCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Deletes a membership, revoking a user's access to an agent space.</p>
|
|
27
|
+
* <p>Deletes a membership, revoking a user's or group's access to an agent space.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -37,7 +37,7 @@ declare const DeleteMembershipCommand_base: {
|
|
|
37
37
|
* applicationId: "STRING_VALUE", // required
|
|
38
38
|
* agentSpaceId: "STRING_VALUE", // required
|
|
39
39
|
* membershipId: "STRING_VALUE", // required
|
|
40
|
-
* memberType: "USER",
|
|
40
|
+
* memberType: "USER" || "GROUP",
|
|
41
41
|
* };
|
|
42
42
|
* const command = new DeleteMembershipCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
@@ -36,7 +36,7 @@ declare const ListMembershipsCommand_base: {
|
|
|
36
36
|
* const input = { // ListMembershipsRequest
|
|
37
37
|
* applicationId: "STRING_VALUE", // required
|
|
38
38
|
* agentSpaceId: "STRING_VALUE", // required
|
|
39
|
-
* memberType: "USER" || "ALL",
|
|
39
|
+
* memberType: "USER" || "GROUP" || "ALL",
|
|
40
40
|
* maxResults: Number("int"),
|
|
41
41
|
* nextToken: "STRING_VALUE",
|
|
42
42
|
* };
|
|
@@ -48,7 +48,7 @@ declare const ListMembershipsCommand_base: {
|
|
|
48
48
|
* // membershipId: "STRING_VALUE", // required
|
|
49
49
|
* // applicationId: "STRING_VALUE", // required
|
|
50
50
|
* // agentSpaceId: "STRING_VALUE", // required
|
|
51
|
-
* // memberType: "USER", // required
|
|
51
|
+
* // memberType: "USER" || "GROUP", // required
|
|
52
52
|
* // config: { // MembershipConfig Union: only one key present
|
|
53
53
|
* // user: { // UserConfig
|
|
54
54
|
* // role: "MEMBER",
|
|
@@ -59,6 +59,10 @@ declare const ListMembershipsCommand_base: {
|
|
|
59
59
|
* // username: "STRING_VALUE", // required
|
|
60
60
|
* // email: "STRING_VALUE", // required
|
|
61
61
|
* // },
|
|
62
|
+
* // group: { // GroupMetadata
|
|
63
|
+
* // displayName: "STRING_VALUE",
|
|
64
|
+
* // description: "STRING_VALUE",
|
|
65
|
+
* // },
|
|
62
66
|
* // },
|
|
63
67
|
* // createdAt: new Date("TIMESTAMP"), // required
|
|
64
68
|
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { StartThreatModelJobInput } from "../models/
|
|
3
|
-
import type { StartThreatModelJobOutput } from "../models/models_1";
|
|
2
|
+
import type { StartThreatModelJobInput, StartThreatModelJobOutput } from "../models/models_1";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -827,6 +827,10 @@ export type UserRole = (typeof UserRole)[keyof typeof UserRole];
|
|
|
827
827
|
* @enum
|
|
828
828
|
*/
|
|
829
829
|
export declare const MembershipType: {
|
|
830
|
+
/**
|
|
831
|
+
* <p>IAM Identity Center group member. All members of the group have access to the agent space.</p>
|
|
832
|
+
*/
|
|
833
|
+
readonly GROUP: "GROUP";
|
|
830
834
|
/**
|
|
831
835
|
* <p>Human user member.</p>
|
|
832
836
|
*/
|
|
@@ -994,6 +998,10 @@ export declare const MembershipTypeFilter: {
|
|
|
994
998
|
* <p>Show all member types.</p>
|
|
995
999
|
*/
|
|
996
1000
|
readonly ALL: "ALL";
|
|
1001
|
+
/**
|
|
1002
|
+
* <p>Show only group members.</p>
|
|
1003
|
+
*/
|
|
1004
|
+
readonly GROUP: "GROUP";
|
|
997
1005
|
/**
|
|
998
1006
|
* <p>Show only user members.</p>
|
|
999
1007
|
*/
|
|
@@ -4587,7 +4587,7 @@ export interface CreateMembershipRequest {
|
|
|
4587
4587
|
*/
|
|
4588
4588
|
membershipId: string | undefined;
|
|
4589
4589
|
/**
|
|
4590
|
-
* <p>The type of member.
|
|
4590
|
+
* <p>The type of member. Use USER for an individual user or GROUP for an IAM Identity Center group. All members of a group have access to the agent space.</p>
|
|
4591
4591
|
* @public
|
|
4592
4592
|
*/
|
|
4593
4593
|
memberType: MembershipType | undefined;
|
|
@@ -6058,6 +6058,22 @@ export interface GitLabResourceCapabilities {
|
|
|
6058
6058
|
*/
|
|
6059
6059
|
remediateCode?: boolean | undefined;
|
|
6060
6060
|
}
|
|
6061
|
+
/**
|
|
6062
|
+
* <p>Contains metadata about an IAM Identity Center group member, including the group display name and description.</p>
|
|
6063
|
+
* @public
|
|
6064
|
+
*/
|
|
6065
|
+
export interface GroupMetadata {
|
|
6066
|
+
/**
|
|
6067
|
+
* <p>The display name of the group.</p>
|
|
6068
|
+
* @public
|
|
6069
|
+
*/
|
|
6070
|
+
displayName?: string | undefined;
|
|
6071
|
+
/**
|
|
6072
|
+
* <p>The description of the group.</p>
|
|
6073
|
+
* @public
|
|
6074
|
+
*/
|
|
6075
|
+
description?: string | undefined;
|
|
6076
|
+
}
|
|
6061
6077
|
/**
|
|
6062
6078
|
* <p>A document used as source material for importing security requirements.</p>
|
|
6063
6079
|
* @public
|
|
@@ -7225,7 +7241,7 @@ export interface UserMetadata {
|
|
|
7225
7241
|
* <p>Contains metadata about a member. This is a union type that contains member-type-specific metadata.</p>
|
|
7226
7242
|
* @public
|
|
7227
7243
|
*/
|
|
7228
|
-
export type MemberMetadata = MemberMetadata.UserMember | MemberMetadata.$UnknownMember;
|
|
7244
|
+
export type MemberMetadata = MemberMetadata.GroupMember | MemberMetadata.UserMember | MemberMetadata.$UnknownMember;
|
|
7229
7245
|
/**
|
|
7230
7246
|
* @public
|
|
7231
7247
|
*/
|
|
@@ -7236,6 +7252,16 @@ export declare namespace MemberMetadata {
|
|
|
7236
7252
|
*/
|
|
7237
7253
|
interface UserMember {
|
|
7238
7254
|
user: UserMetadata;
|
|
7255
|
+
group?: never;
|
|
7256
|
+
$unknown?: never;
|
|
7257
|
+
}
|
|
7258
|
+
/**
|
|
7259
|
+
* <p>The group metadata for the member.</p>
|
|
7260
|
+
* @public
|
|
7261
|
+
*/
|
|
7262
|
+
interface GroupMember {
|
|
7263
|
+
user?: never;
|
|
7264
|
+
group: GroupMetadata;
|
|
7239
7265
|
$unknown?: never;
|
|
7240
7266
|
}
|
|
7241
7267
|
/**
|
|
@@ -7243,6 +7269,7 @@ export declare namespace MemberMetadata {
|
|
|
7243
7269
|
*/
|
|
7244
7270
|
interface $UnknownMember {
|
|
7245
7271
|
user?: never;
|
|
7272
|
+
group?: never;
|
|
7246
7273
|
$unknown: [string, any];
|
|
7247
7274
|
}
|
|
7248
7275
|
/**
|
|
@@ -7251,6 +7278,7 @@ export declare namespace MemberMetadata {
|
|
|
7251
7278
|
*/
|
|
7252
7279
|
interface Visitor<T> {
|
|
7253
7280
|
user: (value: UserMetadata) => T;
|
|
7281
|
+
group: (value: GroupMetadata) => T;
|
|
7254
7282
|
_: (name: string, value: any) => T;
|
|
7255
7283
|
}
|
|
7256
7284
|
}
|
|
@@ -8557,19 +8585,3 @@ export interface StartPentestJobOutput {
|
|
|
8557
8585
|
*/
|
|
8558
8586
|
agentSpaceId?: string | undefined;
|
|
8559
8587
|
}
|
|
8560
|
-
/**
|
|
8561
|
-
* <p>Input for starting a threat model job.</p>
|
|
8562
|
-
* @public
|
|
8563
|
-
*/
|
|
8564
|
-
export interface StartThreatModelJobInput {
|
|
8565
|
-
/**
|
|
8566
|
-
* <p>The unique identifier of the agent space.</p>
|
|
8567
|
-
* @public
|
|
8568
|
-
*/
|
|
8569
|
-
agentSpaceId: string | undefined;
|
|
8570
|
-
/**
|
|
8571
|
-
* <p>The unique identifier of the threat model to start a job for.</p>
|
|
8572
|
-
* @public
|
|
8573
|
-
*/
|
|
8574
|
-
threatModelId: string | undefined;
|
|
8575
|
-
}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import type { CodeRemediationStrategy, DomainVerificationMethod, FindingStatus, JobStatus, RiskLevel, RiskType, SkillType, StrideCategory, TargetDomainStatus, ThreatActor, ThreatSeverity, ThreatStatus, ValidationMode } from "./enums";
|
|
2
2
|
import type { Assets, CiCdConfiguration, CloudWatchLog, DocumentInfo, IntegratedResourceInputItem, NetworkTrafficConfig, ReportDestination, ReportFilters, TestScope, ThreatAnchorShape, ThreatEvidenceShape, VerificationDetails, VpcConfig } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Input for starting a threat model job.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface StartThreatModelJobInput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The unique identifier of the agent space.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
agentSpaceId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The unique identifier of the threat model to start a job for.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
threatModelId: string | undefined;
|
|
18
|
+
}
|
|
3
19
|
/**
|
|
4
20
|
* <p>Output for the StartThreatModelJob operation.</p>
|
|
5
21
|
* @public
|
|
@@ -174,6 +174,7 @@ export declare var GitLabIntegrationInput$: StaticStructureSchema;
|
|
|
174
174
|
export declare var GitLabRepositoryMetadata$: StaticStructureSchema;
|
|
175
175
|
export declare var GitLabRepositoryResource$: StaticStructureSchema;
|
|
176
176
|
export declare var GitLabResourceCapabilities$: StaticStructureSchema;
|
|
177
|
+
export declare var GroupMetadata$: StaticStructureSchema;
|
|
177
178
|
export declare var HttpVerification$: StaticStructureSchema;
|
|
178
179
|
export declare var IdCConfiguration$: StaticStructureSchema;
|
|
179
180
|
export declare var ImportSecurityRequirementsInput$: StaticStructureSchema;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { StartThreatModelJobInput } from "../models/
|
|
3
|
-
import { StartThreatModelJobOutput } from "../models/models_1";
|
|
2
|
+
import { StartThreatModelJobInput, StartThreatModelJobOutput } from "../models/models_1";
|
|
4
3
|
export { __MetadataBearer };
|
|
5
4
|
export interface StartThreatModelJobCommandInput extends StartThreatModelJobInput {}
|
|
6
5
|
export interface StartThreatModelJobCommandOutput
|
|
@@ -273,6 +273,7 @@ export declare const UserRole: {
|
|
|
273
273
|
};
|
|
274
274
|
export type UserRole = (typeof UserRole)[keyof typeof UserRole];
|
|
275
275
|
export declare const MembershipType: {
|
|
276
|
+
readonly GROUP: "GROUP";
|
|
276
277
|
readonly USER: "USER";
|
|
277
278
|
};
|
|
278
279
|
export type MembershipType = (typeof MembershipType)[keyof typeof MembershipType];
|
|
@@ -350,6 +351,7 @@ export declare const ResourceType: {
|
|
|
350
351
|
export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
|
|
351
352
|
export declare const MembershipTypeFilter: {
|
|
352
353
|
readonly ALL: "ALL";
|
|
354
|
+
readonly GROUP: "GROUP";
|
|
353
355
|
readonly USER: "USER";
|
|
354
356
|
};
|
|
355
357
|
export type MembershipTypeFilter = (typeof MembershipTypeFilter)[keyof typeof MembershipTypeFilter];
|
|
@@ -1565,6 +1565,10 @@ export interface GitLabResourceCapabilities {
|
|
|
1565
1565
|
leaveComments?: boolean | undefined;
|
|
1566
1566
|
remediateCode?: boolean | undefined;
|
|
1567
1567
|
}
|
|
1568
|
+
export interface GroupMetadata {
|
|
1569
|
+
displayName?: string | undefined;
|
|
1570
|
+
description?: string | undefined;
|
|
1571
|
+
}
|
|
1568
1572
|
export interface SecurityRequirementArtifact {
|
|
1569
1573
|
name: string | undefined;
|
|
1570
1574
|
format: SecurityRequirementArtifactFormat | undefined;
|
|
@@ -2030,18 +2034,29 @@ export interface UserMetadata {
|
|
|
2030
2034
|
username: string | undefined;
|
|
2031
2035
|
email: string | undefined;
|
|
2032
2036
|
}
|
|
2033
|
-
export type MemberMetadata =
|
|
2037
|
+
export type MemberMetadata =
|
|
2038
|
+
| MemberMetadata.GroupMember
|
|
2039
|
+
| MemberMetadata.UserMember
|
|
2040
|
+
| MemberMetadata.$UnknownMember;
|
|
2034
2041
|
export declare namespace MemberMetadata {
|
|
2035
2042
|
interface UserMember {
|
|
2036
2043
|
user: UserMetadata;
|
|
2044
|
+
group?: never;
|
|
2045
|
+
$unknown?: never;
|
|
2046
|
+
}
|
|
2047
|
+
interface GroupMember {
|
|
2048
|
+
user?: never;
|
|
2049
|
+
group: GroupMetadata;
|
|
2037
2050
|
$unknown?: never;
|
|
2038
2051
|
}
|
|
2039
2052
|
interface $UnknownMember {
|
|
2040
2053
|
user?: never;
|
|
2054
|
+
group?: never;
|
|
2041
2055
|
$unknown: [string, any];
|
|
2042
2056
|
}
|
|
2043
2057
|
interface Visitor<T> {
|
|
2044
2058
|
user: (value: UserMetadata) => T;
|
|
2059
|
+
group: (value: GroupMetadata) => T;
|
|
2045
2060
|
_: (name: string, value: any) => T;
|
|
2046
2061
|
}
|
|
2047
2062
|
}
|
|
@@ -2345,7 +2360,3 @@ export interface StartPentestJobOutput {
|
|
|
2345
2360
|
pentestJobId?: string | undefined;
|
|
2346
2361
|
agentSpaceId?: string | undefined;
|
|
2347
2362
|
}
|
|
2348
|
-
export interface StartThreatModelJobInput {
|
|
2349
|
-
agentSpaceId: string | undefined;
|
|
2350
|
-
threatModelId: string | undefined;
|
|
2351
|
-
}
|
|
@@ -28,6 +28,10 @@ import {
|
|
|
28
28
|
VerificationDetails,
|
|
29
29
|
VpcConfig,
|
|
30
30
|
} from "./models_0";
|
|
31
|
+
export interface StartThreatModelJobInput {
|
|
32
|
+
agentSpaceId: string | undefined;
|
|
33
|
+
threatModelId: string | undefined;
|
|
34
|
+
}
|
|
31
35
|
export interface StartThreatModelJobOutput {
|
|
32
36
|
title?: string | undefined;
|
|
33
37
|
status?: JobStatus | undefined;
|
|
@@ -174,6 +174,7 @@ export declare var GitLabIntegrationInput$: StaticStructureSchema;
|
|
|
174
174
|
export declare var GitLabRepositoryMetadata$: StaticStructureSchema;
|
|
175
175
|
export declare var GitLabRepositoryResource$: StaticStructureSchema;
|
|
176
176
|
export declare var GitLabResourceCapabilities$: StaticStructureSchema;
|
|
177
|
+
export declare var GroupMetadata$: StaticStructureSchema;
|
|
177
178
|
export declare var HttpVerification$: StaticStructureSchema;
|
|
178
179
|
export declare var IdCConfiguration$: StaticStructureSchema;
|
|
179
180
|
export declare var ImportSecurityRequirementsInput$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityagent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1163.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Securityagent Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-securityagent",
|
|
6
6
|
"license": "Apache-2.0",
|