@aws-sdk/client-securityagent 3.1141.0 → 3.1143.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 (49) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +181 -60
  3. package/dist-es/SecurityAgent.js +2 -0
  4. package/dist-es/commands/UpdateIntegrationCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/enums.js +11 -0
  8. package/dist-es/models/models_1.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +151 -59
  10. package/dist-types/SecurityAgent.d.ts +7 -0
  11. package/dist-types/SecurityAgentClient.d.ts +3 -2
  12. package/dist-types/commands/BatchDeletePentestsCommand.d.ts +3 -0
  13. package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +18 -1
  14. package/dist-types/commands/BatchGetPentestsCommand.d.ts +3 -0
  15. package/dist-types/commands/CreateIntegrationCommand.d.ts +11 -1
  16. package/dist-types/commands/CreatePentestCommand.d.ts +6 -0
  17. package/dist-types/commands/GetIntegrationCommand.d.ts +2 -1
  18. package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +5 -1
  19. package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -0
  20. package/dist-types/commands/ListIntegrationsCommand.d.ts +3 -2
  21. package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +3 -0
  22. package/dist-types/commands/StartPentestJobCommand.d.ts +10 -1
  23. package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -1
  24. package/dist-types/commands/UpdateIntegrationCommand.d.ts +92 -0
  25. package/dist-types/commands/UpdatePentestCommand.d.ts +7 -1
  26. package/dist-types/commands/UpdateThreatCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateThreatModelCommand.d.ts +1 -1
  28. package/dist-types/commands/VerifyTargetDomainCommand.d.ts +1 -1
  29. package/dist-types/commands/index.d.ts +1 -0
  30. package/dist-types/index.d.ts +1 -0
  31. package/dist-types/models/enums.d.ts +45 -0
  32. package/dist-types/models/models_0.d.ts +396 -532
  33. package/dist-types/models/models_1.d.ts +535 -0
  34. package/dist-types/schemas/schemas_0.d.ts +11 -0
  35. package/dist-types/ts3.4/SecurityAgent.d.ts +17 -0
  36. package/dist-types/ts3.4/SecurityAgentClient.d.ts +6 -0
  37. package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +38 -0
  39. package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UpdateThreatCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  44. package/dist-types/ts3.4/index.d.ts +1 -0
  45. package/dist-types/ts3.4/models/enums.d.ts +13 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +146 -112
  47. package/dist-types/ts3.4/models/models_1.d.ts +137 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  49. package/package.json +1 -1
@@ -0,0 +1,137 @@
1
+ import {
2
+ CodeRemediationStrategy,
3
+ RiskType,
4
+ SkillType,
5
+ StrideCategory,
6
+ TargetDomainStatus,
7
+ ThreatActor,
8
+ ThreatSeverity,
9
+ ThreatStatus,
10
+ } from "./enums";
11
+ import {
12
+ Assets,
13
+ CiCdConfiguration,
14
+ CloudWatchLog,
15
+ DocumentInfo,
16
+ IntegratedResourceInputItem,
17
+ NetworkTrafficConfig,
18
+ ReportDestination,
19
+ ReportFilters,
20
+ ThreatAnchorShape,
21
+ ThreatEvidenceShape,
22
+ VpcConfig,
23
+ } from "./models_0";
24
+ export interface UpdateIntegratedResourcesInput {
25
+ agentSpaceId: string | undefined;
26
+ integrationId: string | undefined;
27
+ items: IntegratedResourceInputItem[] | undefined;
28
+ }
29
+ export interface UpdateIntegratedResourcesOutput {}
30
+ export interface UpdatePentestInput {
31
+ pentestId: string | undefined;
32
+ agentSpaceId: string | undefined;
33
+ title?: string | undefined;
34
+ assets?: Assets | undefined;
35
+ excludeRiskTypes?: RiskType[] | undefined;
36
+ serviceRole?: string | undefined;
37
+ logConfig?: CloudWatchLog | undefined;
38
+ vpcConfig?: VpcConfig | undefined;
39
+ networkTrafficConfig?: NetworkTrafficConfig | undefined;
40
+ codeRemediationStrategy?: CodeRemediationStrategy | undefined;
41
+ disableManagedSkills?: SkillType[] | undefined;
42
+ maxTaskHours?: number | undefined;
43
+ reportDestination?: ReportDestination | undefined;
44
+ reportFilters?: ReportFilters | undefined;
45
+ cicdConfiguration?: CiCdConfiguration | undefined;
46
+ }
47
+ export interface UpdatePentestOutput {
48
+ pentestId?: string | undefined;
49
+ title?: string | undefined;
50
+ createdAt?: Date | undefined;
51
+ updatedAt?: Date | undefined;
52
+ assets?: Assets | undefined;
53
+ excludeRiskTypes?: RiskType[] | undefined;
54
+ serviceRole?: string | undefined;
55
+ logConfig?: CloudWatchLog | undefined;
56
+ agentSpaceId?: string | undefined;
57
+ reportDestination?: ReportDestination | undefined;
58
+ reportFilters?: ReportFilters | undefined;
59
+ cicdConfiguration?: CiCdConfiguration | undefined;
60
+ }
61
+ export interface UpdateThreatInput {
62
+ threatId: string | undefined;
63
+ agentSpaceId: string | undefined;
64
+ title?: string | undefined;
65
+ status?: ThreatStatus | undefined;
66
+ comments?: string | undefined;
67
+ statement?: string | undefined;
68
+ severity?: ThreatSeverity | undefined;
69
+ threatSource?: string | undefined;
70
+ prerequisites?: string | undefined;
71
+ threatAction?: string | undefined;
72
+ threatImpact?: string | undefined;
73
+ impactedGoal?: string[] | undefined;
74
+ impactedAssets?: string[] | undefined;
75
+ anchor?: ThreatAnchorShape | undefined;
76
+ evidence?: ThreatEvidenceShape[] | undefined;
77
+ recommendation?: string | undefined;
78
+ }
79
+ export interface UpdateThreatOutput {
80
+ threatId: string | undefined;
81
+ threatJobId: string | undefined;
82
+ title?: string | undefined;
83
+ statement?: string | undefined;
84
+ severity?: ThreatSeverity | undefined;
85
+ status?: ThreatStatus | undefined;
86
+ comments?: string | undefined;
87
+ stride?: StrideCategory[] | undefined;
88
+ threatSource?: string | undefined;
89
+ prerequisites?: string | undefined;
90
+ threatAction?: string | undefined;
91
+ threatImpact?: string | undefined;
92
+ impactedGoal?: string[] | undefined;
93
+ impactedAssets?: string[] | undefined;
94
+ anchor?: ThreatAnchorShape | undefined;
95
+ evidence?: ThreatEvidenceShape[] | undefined;
96
+ recommendation?: string | undefined;
97
+ createdBy?: ThreatActor | undefined;
98
+ updatedBy?: ThreatActor | undefined;
99
+ createdAt?: Date | undefined;
100
+ updatedAt?: Date | undefined;
101
+ }
102
+ export interface UpdateThreatModelInput {
103
+ threatModelId: string | undefined;
104
+ agentSpaceId: string | undefined;
105
+ title?: string | undefined;
106
+ description?: string | undefined;
107
+ assets?: Assets | undefined;
108
+ scopeDocs?: DocumentInfo[] | undefined;
109
+ serviceRole?: string | undefined;
110
+ logConfig?: CloudWatchLog | undefined;
111
+ reportDestination?: ReportDestination | undefined;
112
+ }
113
+ export interface UpdateThreatModelOutput {
114
+ threatModelId: string | undefined;
115
+ title?: string | undefined;
116
+ agentSpaceId?: string | undefined;
117
+ description?: string | undefined;
118
+ assets?: Assets | undefined;
119
+ scopeDocs?: DocumentInfo[] | undefined;
120
+ serviceRole?: string | undefined;
121
+ logConfig?: CloudWatchLog | undefined;
122
+ createdAt?: Date | undefined;
123
+ updatedAt?: Date | undefined;
124
+ reportDestination?: ReportDestination | undefined;
125
+ }
126
+ export interface VerifyTargetDomainInput {
127
+ targetDomainId: string | undefined;
128
+ }
129
+ export interface VerifyTargetDomainOutput {
130
+ targetDomainId?: string | undefined;
131
+ domainName?: string | undefined;
132
+ createdAt?: Date | undefined;
133
+ updatedAt?: Date | undefined;
134
+ verifiedAt?: Date | undefined;
135
+ status?: TargetDomainStatus | undefined;
136
+ verificationStatusReason?: string | undefined;
137
+ }
@@ -27,6 +27,10 @@ export declare var ArtifactSummary$: StaticStructureSchema;
27
27
  export declare var Assets$: StaticStructureSchema;
28
28
  export declare var Authentication$: StaticStructureSchema;
29
29
  export declare var AWSResources$: StaticStructureSchema;
30
+ export declare var AzureDevOpsIntegrationInput$: StaticStructureSchema;
31
+ export declare var AzureDevOpsRepositoryMetadata$: StaticStructureSchema;
32
+ export declare var AzureDevOpsRepositoryResource$: StaticStructureSchema;
33
+ export declare var AzureDevOpsResourceCapabilities$: StaticStructureSchema;
30
34
  export declare var BatchCreateSecurityRequirementResult$: StaticStructureSchema;
31
35
  export declare var BatchCreateSecurityRequirementsInput$: StaticStructureSchema;
32
36
  export declare var BatchCreateSecurityRequirementsOutput$: StaticStructureSchema;
@@ -72,11 +76,13 @@ export declare var BatchGetThreatsOutput$: StaticStructureSchema;
72
76
  export declare var BatchSecurityRequirementError$: StaticStructureSchema;
73
77
  export declare var BatchUpdateSecurityRequirementsInput$: StaticStructureSchema;
74
78
  export declare var BatchUpdateSecurityRequirementsOutput$: StaticStructureSchema;
79
+ export declare var BitbucketDataCenterIntegrationInput$: StaticStructureSchema;
75
80
  export declare var BitbucketIntegrationInput$: StaticStructureSchema;
76
81
  export declare var BitbucketRepositoryMetadata$: StaticStructureSchema;
77
82
  export declare var BitbucketRepositoryResource$: StaticStructureSchema;
78
83
  export declare var BitbucketResourceCapabilities$: StaticStructureSchema;
79
84
  export declare var Category$: StaticStructureSchema;
85
+ export declare var CiCdConfiguration$: StaticStructureSchema;
80
86
  export declare var CloudWatchLog$: StaticStructureSchema;
81
87
  export declare var CodeLocation$: StaticStructureSchema;
82
88
  export declare var CodeRemediationTask$: StaticStructureSchema;
@@ -231,6 +237,8 @@ export declare var PentestSummary$: StaticStructureSchema;
231
237
  export declare var PrivateConnectionSummary$: StaticStructureSchema;
232
238
  export declare var ReportDestination$: StaticStructureSchema;
233
239
  export declare var ReportFilters$: StaticStructureSchema;
240
+ export declare var ScopeChange$: StaticStructureSchema;
241
+ export declare var ScopeResult$: StaticStructureSchema;
234
242
  export declare var SecurityRequirementArtifact$: StaticStructureSchema;
235
243
  export declare var SecurityRequirementPackSummary$: StaticStructureSchema;
236
244
  export declare var SecurityRequirementSummary$: StaticStructureSchema;
@@ -281,6 +289,8 @@ export declare var UpdateFindingInput$: StaticStructureSchema;
281
289
  export declare var UpdateFindingOutput$: StaticStructureSchema;
282
290
  export declare var UpdateIntegratedResourcesInput$: StaticStructureSchema;
283
291
  export declare var UpdateIntegratedResourcesOutput$: StaticStructureSchema;
292
+ export declare var UpdateIntegrationInput$: StaticStructureSchema;
293
+ export declare var UpdateIntegrationOutput$: StaticStructureSchema;
284
294
  export declare var UpdatePentestInput$: StaticStructureSchema;
285
295
  export declare var UpdatePentestOutput$: StaticStructureSchema;
286
296
  export declare var UpdatePrivateConnectionCertificateInput$: StaticStructureSchema;
@@ -400,6 +410,7 @@ export declare var UpdateApplication$: StaticOperationSchema;
400
410
  export declare var UpdateCodeReview$: StaticOperationSchema;
401
411
  export declare var UpdateFinding$: StaticOperationSchema;
402
412
  export declare var UpdateIntegratedResources$: StaticOperationSchema;
413
+ export declare var UpdateIntegration$: StaticOperationSchema;
403
414
  export declare var UpdatePentest$: StaticOperationSchema;
404
415
  export declare var UpdatePrivateConnectionCertificate$: StaticOperationSchema;
405
416
  export declare var UpdateSecurityRequirementPack$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-securityagent",
3
- "version": "3.1141.0",
3
+ "version": "3.1143.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",