@aws-sdk/client-securityagent 3.1139.0 → 3.1140.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 +79 -63
- package/dist-es/models/enums.js +28 -28
- package/dist-es/schemas/schemas_0.js +55 -34
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +28 -0
- package/dist-types/commands/BatchGetCodeReviewJobsCommand.d.ts +6 -0
- package/dist-types/commands/BatchGetCodeReviewsCommand.d.ts +28 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +6 -0
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +28 -0
- package/dist-types/commands/BatchGetThreatModelJobsCommand.d.ts +6 -0
- package/dist-types/commands/BatchGetThreatModelsCommand.d.ts +6 -0
- package/dist-types/commands/CreateCodeReviewCommand.d.ts +56 -0
- package/dist-types/commands/CreatePentestCommand.d.ts +56 -0
- package/dist-types/commands/CreateThreatModelCommand.d.ts +6 -0
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +56 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +56 -0
- package/dist-types/commands/UpdateThreatModelCommand.d.ts +12 -0
- package/dist-types/models/enums.d.ts +75 -75
- package/dist-types/models/models_0.d.ts +211 -30
- package/dist-types/schemas/schemas_0.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +32 -32
- package/dist-types/ts3.4/models/models_0.d.ts +43 -6
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
- package/package.json +1 -1
|
@@ -358,6 +358,22 @@ export interface NetworkTrafficConfig {
|
|
|
358
358
|
rules?: NetworkTrafficRule[] | undefined;
|
|
359
359
|
customHeaders?: CustomHeader[] | undefined;
|
|
360
360
|
}
|
|
361
|
+
export interface ReportDestination {
|
|
362
|
+
integrationId: string | undefined;
|
|
363
|
+
containerId: string | undefined;
|
|
364
|
+
parentId?: string | undefined;
|
|
365
|
+
documentId?: string | undefined;
|
|
366
|
+
}
|
|
367
|
+
export interface ReportFilters {
|
|
368
|
+
riskLevels?: RiskLevel[] | undefined;
|
|
369
|
+
confidenceLevels?: ConfidenceLevel[] | undefined;
|
|
370
|
+
statuses?: FindingStatus[] | undefined;
|
|
371
|
+
riskTypes?: RiskType[] | undefined;
|
|
372
|
+
findingTypes?: string[] | undefined;
|
|
373
|
+
taskStatuses?: TaskExecutionStatus[] | undefined;
|
|
374
|
+
annotationNotes?: boolean | undefined;
|
|
375
|
+
complianceReport?: boolean | undefined;
|
|
376
|
+
}
|
|
361
377
|
export interface Pentest {
|
|
362
378
|
pentestId: string | undefined;
|
|
363
379
|
agentSpaceId: string | undefined;
|
|
@@ -372,6 +388,8 @@ export interface Pentest {
|
|
|
372
388
|
cleanUpStrategy?: CleanUpStrategy | undefined;
|
|
373
389
|
disableManagedSkills?: SkillType[] | undefined;
|
|
374
390
|
maxTaskHours?: number | undefined;
|
|
391
|
+
reportDestination?: ReportDestination | undefined;
|
|
392
|
+
reportFilters?: ReportFilters | undefined;
|
|
375
393
|
createdAt?: Date | undefined;
|
|
376
394
|
updatedAt?: Date | undefined;
|
|
377
395
|
}
|
|
@@ -445,6 +463,7 @@ export interface CodeReviewJob {
|
|
|
445
463
|
integratedRepositories?: IntegratedRepository[] | undefined;
|
|
446
464
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
447
465
|
maxTaskHours?: number | undefined;
|
|
466
|
+
reportDestination?: ReportDestination | undefined;
|
|
448
467
|
createdAt?: Date | undefined;
|
|
449
468
|
updatedAt?: Date | undefined;
|
|
450
469
|
}
|
|
@@ -496,6 +515,8 @@ export interface CodeReview {
|
|
|
496
515
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
497
516
|
validationMode?: ValidationMode | undefined;
|
|
498
517
|
maxTaskHours?: number | undefined;
|
|
518
|
+
reportDestination?: ReportDestination | undefined;
|
|
519
|
+
reportFilters?: ReportFilters | undefined;
|
|
499
520
|
createdAt?: Date | undefined;
|
|
500
521
|
updatedAt?: Date | undefined;
|
|
501
522
|
}
|
|
@@ -598,6 +619,7 @@ export interface PentestJob {
|
|
|
598
619
|
maxTaskHours?: number | undefined;
|
|
599
620
|
jobType?: JobType | undefined;
|
|
600
621
|
selectedFindingIds?: string[] | undefined;
|
|
622
|
+
reportDestination?: ReportDestination | undefined;
|
|
601
623
|
createdAt?: Date | undefined;
|
|
602
624
|
updatedAt?: Date | undefined;
|
|
603
625
|
}
|
|
@@ -705,6 +727,7 @@ export interface ThreatModelJob {
|
|
|
705
727
|
scopeDocs?: DocumentInfo[] | undefined;
|
|
706
728
|
errorInformation?: ErrorInformation | undefined;
|
|
707
729
|
systemOverview?: string | undefined;
|
|
730
|
+
reportDestination?: ReportDestination | undefined;
|
|
708
731
|
}
|
|
709
732
|
export interface BatchGetThreatModelJobsOutput {
|
|
710
733
|
threatModelJobs?: ThreatModelJob[] | undefined;
|
|
@@ -743,6 +766,7 @@ export interface ThreatModel {
|
|
|
743
766
|
scopeDocs?: DocumentInfo[] | undefined;
|
|
744
767
|
serviceRole?: string | undefined;
|
|
745
768
|
logConfig?: CloudWatchLog | undefined;
|
|
769
|
+
reportDestination?: ReportDestination | undefined;
|
|
746
770
|
createdAt?: Date | undefined;
|
|
747
771
|
updatedAt?: Date | undefined;
|
|
748
772
|
}
|
|
@@ -886,6 +910,8 @@ export interface CreateCodeReviewInput {
|
|
|
886
910
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
887
911
|
validationMode?: ValidationMode | undefined;
|
|
888
912
|
maxTaskHours?: number | undefined;
|
|
913
|
+
reportDestination?: ReportDestination | undefined;
|
|
914
|
+
reportFilters?: ReportFilters | undefined;
|
|
889
915
|
}
|
|
890
916
|
export interface CreateCodeReviewOutput {
|
|
891
917
|
codeReviewId: string | undefined;
|
|
@@ -899,6 +925,8 @@ export interface CreateCodeReviewOutput {
|
|
|
899
925
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
900
926
|
validationMode?: ValidationMode | undefined;
|
|
901
927
|
maxTaskHours?: number | undefined;
|
|
928
|
+
reportDestination?: ReportDestination | undefined;
|
|
929
|
+
reportFilters?: ReportFilters | undefined;
|
|
902
930
|
}
|
|
903
931
|
export interface GitHubIntegrationInput {
|
|
904
932
|
code: string | undefined;
|
|
@@ -1012,6 +1040,8 @@ export interface CreatePentestInput {
|
|
|
1012
1040
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
1013
1041
|
disableManagedSkills?: SkillType[] | undefined;
|
|
1014
1042
|
maxTaskHours?: number | undefined;
|
|
1043
|
+
reportDestination?: ReportDestination | undefined;
|
|
1044
|
+
reportFilters?: ReportFilters | undefined;
|
|
1015
1045
|
}
|
|
1016
1046
|
export interface CreatePentestOutput {
|
|
1017
1047
|
pentestId?: string | undefined;
|
|
@@ -1023,6 +1053,8 @@ export interface CreatePentestOutput {
|
|
|
1023
1053
|
serviceRole?: string | undefined;
|
|
1024
1054
|
logConfig?: CloudWatchLog | undefined;
|
|
1025
1055
|
agentSpaceId?: string | undefined;
|
|
1056
|
+
reportDestination?: ReportDestination | undefined;
|
|
1057
|
+
reportFilters?: ReportFilters | undefined;
|
|
1026
1058
|
}
|
|
1027
1059
|
export interface SelfManagedInput {
|
|
1028
1060
|
resourceConfigurationId: string | undefined;
|
|
@@ -1150,12 +1182,6 @@ export interface CreateThreatOutput {
|
|
|
1150
1182
|
createdAt?: Date | undefined;
|
|
1151
1183
|
updatedAt?: Date | undefined;
|
|
1152
1184
|
}
|
|
1153
|
-
export interface ReportDestination {
|
|
1154
|
-
integrationId: string | undefined;
|
|
1155
|
-
containerId: string | undefined;
|
|
1156
|
-
parentId?: string | undefined;
|
|
1157
|
-
documentId?: string | undefined;
|
|
1158
|
-
}
|
|
1159
1185
|
export interface CreateThreatModelInput {
|
|
1160
1186
|
title: string | undefined;
|
|
1161
1187
|
agentSpaceId: string | undefined;
|
|
@@ -1177,6 +1203,7 @@ export interface CreateThreatModelOutput {
|
|
|
1177
1203
|
logConfig?: CloudWatchLog | undefined;
|
|
1178
1204
|
createdAt?: Date | undefined;
|
|
1179
1205
|
updatedAt?: Date | undefined;
|
|
1206
|
+
reportDestination?: ReportDestination | undefined;
|
|
1180
1207
|
}
|
|
1181
1208
|
export interface DeleteArtifactInput {
|
|
1182
1209
|
agentSpaceId: string | undefined;
|
|
@@ -2042,6 +2069,8 @@ export interface UpdateCodeReviewInput {
|
|
|
2042
2069
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
2043
2070
|
validationMode?: ValidationMode | undefined;
|
|
2044
2071
|
maxTaskHours?: number | undefined;
|
|
2072
|
+
reportDestination?: ReportDestination | undefined;
|
|
2073
|
+
reportFilters?: ReportFilters | undefined;
|
|
2045
2074
|
}
|
|
2046
2075
|
export interface UpdateCodeReviewOutput {
|
|
2047
2076
|
codeReviewId: string | undefined;
|
|
@@ -2055,6 +2084,8 @@ export interface UpdateCodeReviewOutput {
|
|
|
2055
2084
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
2056
2085
|
validationMode?: ValidationMode | undefined;
|
|
2057
2086
|
maxTaskHours?: number | undefined;
|
|
2087
|
+
reportDestination?: ReportDestination | undefined;
|
|
2088
|
+
reportFilters?: ReportFilters | undefined;
|
|
2058
2089
|
}
|
|
2059
2090
|
export interface UpdateFindingInput {
|
|
2060
2091
|
findingId: string | undefined;
|
|
@@ -2089,6 +2120,8 @@ export interface UpdatePentestInput {
|
|
|
2089
2120
|
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
2090
2121
|
disableManagedSkills?: SkillType[] | undefined;
|
|
2091
2122
|
maxTaskHours?: number | undefined;
|
|
2123
|
+
reportDestination?: ReportDestination | undefined;
|
|
2124
|
+
reportFilters?: ReportFilters | undefined;
|
|
2092
2125
|
}
|
|
2093
2126
|
export interface UpdatePentestOutput {
|
|
2094
2127
|
pentestId?: string | undefined;
|
|
@@ -2100,6 +2133,8 @@ export interface UpdatePentestOutput {
|
|
|
2100
2133
|
serviceRole?: string | undefined;
|
|
2101
2134
|
logConfig?: CloudWatchLog | undefined;
|
|
2102
2135
|
agentSpaceId?: string | undefined;
|
|
2136
|
+
reportDestination?: ReportDestination | undefined;
|
|
2137
|
+
reportFilters?: ReportFilters | undefined;
|
|
2103
2138
|
}
|
|
2104
2139
|
export interface UpdateThreatInput {
|
|
2105
2140
|
threatId: string | undefined;
|
|
@@ -2151,6 +2186,7 @@ export interface UpdateThreatModelInput {
|
|
|
2151
2186
|
scopeDocs?: DocumentInfo[] | undefined;
|
|
2152
2187
|
serviceRole?: string | undefined;
|
|
2153
2188
|
logConfig?: CloudWatchLog | undefined;
|
|
2189
|
+
reportDestination?: ReportDestination | undefined;
|
|
2154
2190
|
}
|
|
2155
2191
|
export interface UpdateThreatModelOutput {
|
|
2156
2192
|
threatModelId: string | undefined;
|
|
@@ -2163,6 +2199,7 @@ export interface UpdateThreatModelOutput {
|
|
|
2163
2199
|
logConfig?: CloudWatchLog | undefined;
|
|
2164
2200
|
createdAt?: Date | undefined;
|
|
2165
2201
|
updatedAt?: Date | undefined;
|
|
2202
|
+
reportDestination?: ReportDestination | undefined;
|
|
2166
2203
|
}
|
|
2167
2204
|
export interface VerifyTargetDomainInput {
|
|
2168
2205
|
targetDomainId: string | undefined;
|
|
@@ -227,6 +227,7 @@ export declare var PentestJobSummary$: StaticStructureSchema;
|
|
|
227
227
|
export declare var PentestSummary$: StaticStructureSchema;
|
|
228
228
|
export declare var PrivateConnectionSummary$: StaticStructureSchema;
|
|
229
229
|
export declare var ReportDestination$: StaticStructureSchema;
|
|
230
|
+
export declare var ReportFilters$: StaticStructureSchema;
|
|
230
231
|
export declare var SecurityRequirementArtifact$: StaticStructureSchema;
|
|
231
232
|
export declare var SecurityRequirementPackSummary$: StaticStructureSchema;
|
|
232
233
|
export declare var SecurityRequirementSummary$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityagent",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1140.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",
|