@aws-sdk/client-securityagent 3.1052.0 → 3.1054.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/schemas/schemas_0.js +26 -5
- package/dist-es/schemas/schemas_0.js +23 -2
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +47 -0
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +3 -3
|
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CodeReview$ = exports.CodeRemediationTaskDetails$ = exports.CodeRemediationTask$ = exports.CodeLocation$ = exports.CloudWatchLog$ = exports.Category$ = exports.BatchGetTargetDomainsOutput$ = exports.BatchGetTargetDomainsInput$ = exports.BatchGetPentestsOutput$ = exports.BatchGetPentestsInput$ = exports.BatchGetPentestJobTasksOutput$ = exports.BatchGetPentestJobTasksInput$ = exports.BatchGetPentestJobsOutput$ = exports.BatchGetPentestJobsInput$ = exports.BatchGetFindingsOutput$ = exports.BatchGetFindingsInput$ = exports.BatchGetCodeReviewsOutput$ = exports.BatchGetCodeReviewsInput$ = exports.BatchGetCodeReviewJobTasksOutput$ = exports.BatchGetCodeReviewJobTasksInput$ = exports.BatchGetCodeReviewJobsOutput$ = exports.BatchGetCodeReviewJobsInput$ = exports.BatchGetArtifactMetadataOutput$ = exports.BatchGetArtifactMetadataInput$ = exports.BatchGetAgentSpacesOutput$ = exports.BatchGetAgentSpacesInput$ = exports.BatchDeletePentestsOutput$ = exports.BatchDeletePentestsInput$ = exports.BatchDeleteCodeReviewsOutput$ = exports.BatchDeleteCodeReviewsInput$ = exports.AWSResources$ = exports.Authentication$ = exports.Assets$ = exports.ArtifactSummary$ = exports.ArtifactMetadataItem$ = exports.Artifact$ = exports.ApplicationSummary$ = exports.AgentSpaceSummary$ = exports.AgentSpace$ = exports.AddArtifactOutput$ = exports.AddArtifactInput$ = exports.Actor$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.SecurityAgentServiceException$ = void 0;
|
|
4
4
|
exports.GitHubRepositoryMetadata$ = exports.GitHubIntegrationInput$ = exports.GetIntegrationOutput$ = exports.GetIntegrationInput$ = exports.GetArtifactOutput$ = exports.GetArtifactInput$ = exports.GetApplicationResponse$ = exports.GetApplicationRequest$ = exports.FindingSummary$ = exports.Finding$ = exports.ExecutionContext$ = exports.ErrorInformation$ = exports.Endpoint$ = exports.DocumentInfo$ = exports.DnsVerification$ = exports.DiscoveredEndpoint$ = exports.DeleteTargetDomainOutput$ = exports.DeleteTargetDomainInput$ = exports.DeletePentestFailure$ = exports.DeleteMembershipResponse$ = exports.DeleteMembershipRequest$ = exports.DeleteIntegrationOutput$ = exports.DeleteIntegrationInput$ = exports.DeleteCodeReviewFailure$ = exports.DeleteArtifactOutput$ = exports.DeleteArtifactInput$ = exports.DeleteApplicationRequest$ = exports.DeleteAgentSpaceOutput$ = exports.DeleteAgentSpaceInput$ = exports.CustomHeader$ = exports.CreateTargetDomainOutput$ = exports.CreateTargetDomainInput$ = exports.CreatePentestOutput$ = exports.CreatePentestInput$ = exports.CreateMembershipResponse$ = exports.CreateMembershipRequest$ = exports.CreateIntegrationOutput$ = exports.CreateIntegrationInput$ = exports.CreateCodeReviewOutput$ = exports.CreateCodeReviewInput$ = exports.CreateApplicationResponse$ = exports.CreateApplicationRequest$ = exports.CreateAgentSpaceOutput$ = exports.CreateAgentSpaceInput$ = exports.CodeReviewSummary$ = exports.CodeReviewSettings$ = exports.CodeReviewJobTaskSummary$ = exports.CodeReviewJobTask$ = exports.CodeReviewJobSummary$ = exports.CodeReviewJob$ = void 0;
|
|
5
5
|
exports.PentestSummary$ = exports.PentestJobSummary$ = exports.PentestJob$ = exports.Pentest$ = exports.NetworkTrafficRule$ = exports.NetworkTrafficConfig$ = exports.MembershipSummary$ = exports.LogLocation$ = exports.ListTargetDomainsOutput$ = exports.ListTargetDomainsInput$ = exports.ListTagsForResourceOutput$ = exports.ListTagsForResourceInput$ = exports.ListPentestsOutput$ = exports.ListPentestsInput$ = exports.ListPentestJobTasksOutput$ = exports.ListPentestJobTasksInput$ = exports.ListPentestJobsForPentestOutput$ = exports.ListPentestJobsForPentestInput$ = exports.ListMembershipsResponse$ = exports.ListMembershipsRequest$ = exports.ListIntegrationsOutput$ = exports.ListIntegrationsInput$ = exports.ListIntegratedResourcesOutput$ = exports.ListIntegratedResourcesInput$ = exports.ListFindingsOutput$ = exports.ListFindingsInput$ = exports.ListDiscoveredEndpointsOutput$ = exports.ListDiscoveredEndpointsInput$ = exports.ListCodeReviewsOutput$ = exports.ListCodeReviewsInput$ = exports.ListCodeReviewJobTasksOutput$ = exports.ListCodeReviewJobTasksInput$ = exports.ListCodeReviewJobsForCodeReviewOutput$ = exports.ListCodeReviewJobsForCodeReviewInput$ = exports.ListArtifactsOutput$ = exports.ListArtifactsInput$ = exports.ListApplicationsResponse$ = exports.ListApplicationsRequest$ = exports.ListAgentSpacesOutput$ = exports.ListAgentSpacesInput$ = exports.IntegrationSummary$ = exports.IntegratedResourceSummary$ = exports.IntegratedResourceInputItem$ = exports.IntegratedRepository$ = exports.InitiateProviderRegistrationOutput$ = exports.InitiateProviderRegistrationInput$ = exports.IdCConfiguration$ = exports.HttpVerification$ = exports.GitHubResourceCapabilities$ = exports.GitHubRepositoryResource$ = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.VerifyTargetDomain$ = exports.UpdateTargetDomain$ = exports.UpdatePentest$ = exports.UpdateIntegratedResources$ = exports.UpdateFinding$ = exports.UpdateCodeReview$ = exports.UpdateApplication$ = exports.UpdateAgentSpace$ = exports.UntagResource$ = void 0;
|
|
6
|
+
exports.ProviderResourceCapabilities$ = exports.ProviderInput$ = exports.MembershipConfig$ = exports.MemberMetadata$ = exports.IntegrationFilter$ = exports.IntegratedResourceMetadata$ = exports.IntegratedResource$ = exports.VpcConfig$ = exports.VerifyTargetDomainOutput$ = exports.VerifyTargetDomainInput$ = exports.VerificationScriptEnvVar$ = exports.VerificationScript$ = exports.VerificationDetails$ = exports.ValidationExceptionField$ = exports.UserMetadata$ = exports.UserConfig$ = exports.UpdateTargetDomainOutput$ = exports.UpdateTargetDomainInput$ = exports.UpdatePentestOutput$ = exports.UpdatePentestInput$ = exports.UpdateIntegratedResourcesOutput$ = exports.UpdateIntegratedResourcesInput$ = exports.UpdateFindingOutput$ = exports.UpdateFindingInput$ = exports.UpdateCodeReviewOutput$ = exports.UpdateCodeReviewInput$ = exports.UpdateApplicationResponse$ = exports.UpdateApplicationRequest$ = exports.UpdateAgentSpaceOutput$ = exports.UpdateAgentSpaceInput$ = exports.UntagResourceOutput$ = exports.UntagResourceInput$ = exports.TaskSummary$ = exports.Task$ = exports.TargetDomainSummary$ = exports.TargetDomain$ = exports.TagResourceOutput$ = exports.TagResourceInput$ = exports.StopPentestJobOutput$ = exports.StopPentestJobInput$ = exports.StopCodeReviewJobOutput$ = exports.StopCodeReviewJobInput$ = exports.Step$ = exports.StartPentestJobOutput$ = exports.StartPentestJobInput$ = exports.StartCodeReviewJobOutput$ = exports.StartCodeReviewJobInput$ = exports.StartCodeRemediationOutput$ = exports.StartCodeRemediationInput$ = exports.SourceCodeRepository$ = void 0;
|
|
7
|
+
exports.StopCodeReviewJob$ = exports.StartPentestJob$ = exports.StartCodeReviewJob$ = exports.StartCodeRemediation$ = exports.ListTargetDomains$ = exports.ListTagsForResource$ = exports.ListPentests$ = exports.ListPentestJobTasks$ = exports.ListPentestJobsForPentest$ = exports.ListMemberships$ = exports.ListIntegrations$ = exports.ListIntegratedResources$ = exports.ListFindings$ = exports.ListDiscoveredEndpoints$ = exports.ListCodeReviews$ = exports.ListCodeReviewJobTasks$ = exports.ListCodeReviewJobsForCodeReview$ = exports.ListArtifacts$ = exports.ListApplications$ = exports.ListAgentSpaces$ = exports.InitiateProviderRegistration$ = exports.GetIntegration$ = exports.GetArtifact$ = exports.GetApplication$ = exports.DeleteTargetDomain$ = exports.DeleteMembership$ = exports.DeleteIntegration$ = exports.DeleteArtifact$ = exports.DeleteApplication$ = exports.DeleteAgentSpace$ = exports.CreateTargetDomain$ = exports.CreatePentest$ = exports.CreateMembership$ = exports.CreateIntegration$ = exports.CreateCodeReview$ = exports.CreateApplication$ = exports.CreateAgentSpace$ = exports.BatchGetTargetDomains$ = exports.BatchGetPentests$ = exports.BatchGetPentestJobTasks$ = exports.BatchGetPentestJobs$ = exports.BatchGetFindings$ = exports.BatchGetCodeReviews$ = exports.BatchGetCodeReviewJobTasks$ = exports.BatchGetCodeReviewJobs$ = exports.BatchGetArtifactMetadata$ = exports.BatchGetAgentSpaces$ = exports.BatchDeletePentests$ = exports.BatchDeleteCodeReviews$ = exports.AddArtifact$ = void 0;
|
|
8
|
+
exports.VerifyTargetDomain$ = exports.UpdateTargetDomain$ = exports.UpdatePentest$ = exports.UpdateIntegratedResources$ = exports.UpdateFinding$ = exports.UpdateCodeReview$ = exports.UpdateApplication$ = exports.UpdateAgentSpace$ = exports.UntagResource$ = exports.TagResource$ = exports.StopPentestJob$ = void 0;
|
|
9
9
|
const _A = "Actor";
|
|
10
10
|
const _AA = "AddArtifact";
|
|
11
11
|
const _AAI = "AddArtifactInput";
|
|
@@ -302,6 +302,9 @@ const _VD = "VerificationDetails";
|
|
|
302
302
|
const _VE = "ValidationException";
|
|
303
303
|
const _VEF = "ValidationExceptionField";
|
|
304
304
|
const _VEFL = "ValidationExceptionFieldList";
|
|
305
|
+
const _VS = "VerificationScript";
|
|
306
|
+
const _VSEV = "VerificationScriptEnvVar";
|
|
307
|
+
const _VSEVL = "VerificationScriptEnvVarList";
|
|
305
308
|
const _VTD = "VerifyTargetDomain";
|
|
306
309
|
const _VTDI = "VerifyTargetDomainInput";
|
|
307
310
|
const _VTDO = "VerifyTargetDomainOutput";
|
|
@@ -375,6 +378,7 @@ const _eI = "errorInformation";
|
|
|
375
378
|
const _eP = "excludePaths";
|
|
376
379
|
const _eRT = "excludeRiskTypes";
|
|
377
380
|
const _eS = "executionStatus";
|
|
381
|
+
const _eV = "envVars";
|
|
378
382
|
const _ef = "effect";
|
|
379
383
|
const _em = "email";
|
|
380
384
|
const _en = "endpoints";
|
|
@@ -408,6 +412,7 @@ const _iRS = "integratedResourceSummaries";
|
|
|
408
412
|
const _iRa = "iamRoles";
|
|
409
413
|
const _iS = "integrationSummaries";
|
|
410
414
|
const _in = "input";
|
|
415
|
+
const _ins = "instructions";
|
|
411
416
|
const _it = "items";
|
|
412
417
|
const _kKI = "kmsKeyId";
|
|
413
418
|
const _l = "label";
|
|
@@ -480,6 +485,8 @@ const _sL = "s3Location";
|
|
|
480
485
|
const _sN = "stepName";
|
|
481
486
|
const _sR = "statusReason";
|
|
482
487
|
const _sRe = "serviceRole";
|
|
488
|
+
const _sT = "scriptType";
|
|
489
|
+
const _sU = "scriptUrl";
|
|
483
490
|
const _se = "server";
|
|
484
491
|
const _st = "status";
|
|
485
492
|
const _sta = "state";
|
|
@@ -515,6 +522,7 @@ const _vD = "verificationDetails";
|
|
|
515
522
|
const _vM = "verificationMethod";
|
|
516
523
|
const _vS = "verificationStatus";
|
|
517
524
|
const _vSR = "verificationStatusReason";
|
|
525
|
+
const _vSe = "verificationScript";
|
|
518
526
|
const _vp = "vpcs";
|
|
519
527
|
const n0 = "com.amazonaws.securityagent";
|
|
520
528
|
const schema_1 = require("@smithy/core/schema");
|
|
@@ -976,8 +984,8 @@ exports.ExecutionContext$ = [3, n0, _EC,
|
|
|
976
984
|
];
|
|
977
985
|
exports.Finding$ = [3, n0, _F,
|
|
978
986
|
0,
|
|
979
|
-
[_fIi, _aSI, _pIe, _pJIe, _cRIo, _cRJIo, _tIa, _n, _d, _st, _rT, _rL, _rS, _re, _conf, _aSt, _cRT, _lUB, _cL, _cA, _uA],
|
|
980
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.CodeRemediationTask$, 0, () => CodeLocationList, 5, 5], 2
|
|
987
|
+
[_fIi, _aSI, _pIe, _pJIe, _cRIo, _cRJIo, _tIa, _n, _d, _st, _rT, _rL, _rS, _re, _conf, _aSt, _cRT, _lUB, _cL, _vSe, _cA, _uA],
|
|
988
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => exports.CodeRemediationTask$, 0, () => CodeLocationList, () => exports.VerificationScript$, 5, 5], 2
|
|
981
989
|
];
|
|
982
990
|
exports.FindingSummary$ = [3, n0, _FS,
|
|
983
991
|
0,
|
|
@@ -1464,6 +1472,16 @@ exports.VerificationDetails$ = [3, n0, _VD,
|
|
|
1464
1472
|
[_met, _dT, _hR],
|
|
1465
1473
|
[0, () => exports.DnsVerification$, () => exports.HttpVerification$]
|
|
1466
1474
|
];
|
|
1475
|
+
exports.VerificationScript$ = [3, n0, _VS,
|
|
1476
|
+
0,
|
|
1477
|
+
[_sT, _sU, _ins, _eV],
|
|
1478
|
+
[0, 0, 0, () => VerificationScriptEnvVarList]
|
|
1479
|
+
];
|
|
1480
|
+
exports.VerificationScriptEnvVar$ = [3, n0, _VSEV,
|
|
1481
|
+
0,
|
|
1482
|
+
[_n, _v],
|
|
1483
|
+
[0, 0]
|
|
1484
|
+
];
|
|
1467
1485
|
exports.VerifyTargetDomainInput$ = [3, n0, _VTDI,
|
|
1468
1486
|
0,
|
|
1469
1487
|
[_tDIa],
|
|
@@ -1622,6 +1640,9 @@ var UriList = 64 | 0;
|
|
|
1622
1640
|
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
1623
1641
|
0, () => exports.ValidationExceptionField$
|
|
1624
1642
|
];
|
|
1643
|
+
var VerificationScriptEnvVarList = [1, n0, _VSEVL,
|
|
1644
|
+
0, () => exports.VerificationScriptEnvVar$
|
|
1645
|
+
];
|
|
1625
1646
|
var VpcConfigs = [1, n0, _VCp,
|
|
1626
1647
|
0, () => exports.VpcConfig$
|
|
1627
1648
|
];
|
|
@@ -294,6 +294,9 @@ const _VD = "VerificationDetails";
|
|
|
294
294
|
const _VE = "ValidationException";
|
|
295
295
|
const _VEF = "ValidationExceptionField";
|
|
296
296
|
const _VEFL = "ValidationExceptionFieldList";
|
|
297
|
+
const _VS = "VerificationScript";
|
|
298
|
+
const _VSEV = "VerificationScriptEnvVar";
|
|
299
|
+
const _VSEVL = "VerificationScriptEnvVarList";
|
|
297
300
|
const _VTD = "VerifyTargetDomain";
|
|
298
301
|
const _VTDI = "VerifyTargetDomainInput";
|
|
299
302
|
const _VTDO = "VerifyTargetDomainOutput";
|
|
@@ -367,6 +370,7 @@ const _eI = "errorInformation";
|
|
|
367
370
|
const _eP = "excludePaths";
|
|
368
371
|
const _eRT = "excludeRiskTypes";
|
|
369
372
|
const _eS = "executionStatus";
|
|
373
|
+
const _eV = "envVars";
|
|
370
374
|
const _ef = "effect";
|
|
371
375
|
const _em = "email";
|
|
372
376
|
const _en = "endpoints";
|
|
@@ -400,6 +404,7 @@ const _iRS = "integratedResourceSummaries";
|
|
|
400
404
|
const _iRa = "iamRoles";
|
|
401
405
|
const _iS = "integrationSummaries";
|
|
402
406
|
const _in = "input";
|
|
407
|
+
const _ins = "instructions";
|
|
403
408
|
const _it = "items";
|
|
404
409
|
const _kKI = "kmsKeyId";
|
|
405
410
|
const _l = "label";
|
|
@@ -472,6 +477,8 @@ const _sL = "s3Location";
|
|
|
472
477
|
const _sN = "stepName";
|
|
473
478
|
const _sR = "statusReason";
|
|
474
479
|
const _sRe = "serviceRole";
|
|
480
|
+
const _sT = "scriptType";
|
|
481
|
+
const _sU = "scriptUrl";
|
|
475
482
|
const _se = "server";
|
|
476
483
|
const _st = "status";
|
|
477
484
|
const _sta = "state";
|
|
@@ -507,6 +514,7 @@ const _vD = "verificationDetails";
|
|
|
507
514
|
const _vM = "verificationMethod";
|
|
508
515
|
const _vS = "verificationStatus";
|
|
509
516
|
const _vSR = "verificationStatusReason";
|
|
517
|
+
const _vSe = "verificationScript";
|
|
510
518
|
const _vp = "vpcs";
|
|
511
519
|
const n0 = "com.amazonaws.securityagent";
|
|
512
520
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
@@ -968,8 +976,8 @@ export var ExecutionContext$ = [3, n0, _EC,
|
|
|
968
976
|
];
|
|
969
977
|
export var Finding$ = [3, n0, _F,
|
|
970
978
|
0,
|
|
971
|
-
[_fIi, _aSI, _pIe, _pJIe, _cRIo, _cRJIo, _tIa, _n, _d, _st, _rT, _rL, _rS, _re, _conf, _aSt, _cRT, _lUB, _cL, _cA, _uA],
|
|
972
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => CodeRemediationTask$, 0, () => CodeLocationList, 5, 5], 2
|
|
979
|
+
[_fIi, _aSI, _pIe, _pJIe, _cRIo, _cRJIo, _tIa, _n, _d, _st, _rT, _rL, _rS, _re, _conf, _aSt, _cRT, _lUB, _cL, _vSe, _cA, _uA],
|
|
980
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => CodeRemediationTask$, 0, () => CodeLocationList, () => VerificationScript$, 5, 5], 2
|
|
973
981
|
];
|
|
974
982
|
export var FindingSummary$ = [3, n0, _FS,
|
|
975
983
|
0,
|
|
@@ -1456,6 +1464,16 @@ export var VerificationDetails$ = [3, n0, _VD,
|
|
|
1456
1464
|
[_met, _dT, _hR],
|
|
1457
1465
|
[0, () => DnsVerification$, () => HttpVerification$]
|
|
1458
1466
|
];
|
|
1467
|
+
export var VerificationScript$ = [3, n0, _VS,
|
|
1468
|
+
0,
|
|
1469
|
+
[_sT, _sU, _ins, _eV],
|
|
1470
|
+
[0, 0, 0, () => VerificationScriptEnvVarList]
|
|
1471
|
+
];
|
|
1472
|
+
export var VerificationScriptEnvVar$ = [3, n0, _VSEV,
|
|
1473
|
+
0,
|
|
1474
|
+
[_n, _v],
|
|
1475
|
+
[0, 0]
|
|
1476
|
+
];
|
|
1459
1477
|
export var VerifyTargetDomainInput$ = [3, n0, _VTDI,
|
|
1460
1478
|
0,
|
|
1461
1479
|
[_tDIa],
|
|
@@ -1614,6 +1632,9 @@ var UriList = 64 | 0;
|
|
|
1614
1632
|
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
1615
1633
|
0, () => ValidationExceptionField$
|
|
1616
1634
|
];
|
|
1635
|
+
var VerificationScriptEnvVarList = [1, n0, _VSEVL,
|
|
1636
|
+
0, () => VerificationScriptEnvVar$
|
|
1637
|
+
];
|
|
1617
1638
|
var VpcConfigs = [1, n0, _VCp,
|
|
1618
1639
|
0, () => VpcConfig$
|
|
1619
1640
|
];
|
|
@@ -85,6 +85,17 @@ declare const BatchGetFindingsCommand_base: {
|
|
|
85
85
|
* // label: "STRING_VALUE",
|
|
86
86
|
* // },
|
|
87
87
|
* // ],
|
|
88
|
+
* // verificationScript: { // VerificationScript
|
|
89
|
+
* // scriptType: "STRING_VALUE",
|
|
90
|
+
* // scriptUrl: "STRING_VALUE",
|
|
91
|
+
* // instructions: "STRING_VALUE",
|
|
92
|
+
* // envVars: [ // VerificationScriptEnvVarList
|
|
93
|
+
* // { // VerificationScriptEnvVar
|
|
94
|
+
* // name: "STRING_VALUE",
|
|
95
|
+
* // value: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // },
|
|
88
99
|
* // createdAt: new Date("TIMESTAMP"),
|
|
89
100
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
90
101
|
* // },
|
|
@@ -1571,6 +1571,48 @@ export interface CodeRemediationTask {
|
|
|
1571
1571
|
*/
|
|
1572
1572
|
taskDetails?: CodeRemediationTaskDetails[] | undefined;
|
|
1573
1573
|
}
|
|
1574
|
+
/**
|
|
1575
|
+
* <p>Represents an environment variable required to run a verification script.</p>
|
|
1576
|
+
* @public
|
|
1577
|
+
*/
|
|
1578
|
+
export interface VerificationScriptEnvVar {
|
|
1579
|
+
/**
|
|
1580
|
+
* <p>The name of the environment variable.</p>
|
|
1581
|
+
* @public
|
|
1582
|
+
*/
|
|
1583
|
+
name?: string | undefined;
|
|
1584
|
+
/**
|
|
1585
|
+
* <p>The value of the environment variable.</p>
|
|
1586
|
+
* @public
|
|
1587
|
+
*/
|
|
1588
|
+
value?: string | undefined;
|
|
1589
|
+
}
|
|
1590
|
+
/**
|
|
1591
|
+
* <p>Contains metadata for a verification script that can be used to reproduce a security finding.</p>
|
|
1592
|
+
* @public
|
|
1593
|
+
*/
|
|
1594
|
+
export interface VerificationScript {
|
|
1595
|
+
/**
|
|
1596
|
+
* <p>The type of script. Valid values are python and bash.</p>
|
|
1597
|
+
* @public
|
|
1598
|
+
*/
|
|
1599
|
+
scriptType?: string | undefined;
|
|
1600
|
+
/**
|
|
1601
|
+
* <p>URL to download the verification script.</p>
|
|
1602
|
+
* @public
|
|
1603
|
+
*/
|
|
1604
|
+
scriptUrl?: string | undefined;
|
|
1605
|
+
/**
|
|
1606
|
+
* <p>Instructions for running the verification script, including prerequisites and how to interpret results.</p>
|
|
1607
|
+
* @public
|
|
1608
|
+
*/
|
|
1609
|
+
instructions?: string | undefined;
|
|
1610
|
+
/**
|
|
1611
|
+
* <p>The list of environment variables required to run the verification script.</p>
|
|
1612
|
+
* @public
|
|
1613
|
+
*/
|
|
1614
|
+
envVars?: VerificationScriptEnvVar[] | undefined;
|
|
1615
|
+
}
|
|
1574
1616
|
/**
|
|
1575
1617
|
* <p>Represents a security finding discovered during a pentest job. A finding contains details about a vulnerability, including its risk level, confidence, and remediation status.</p>
|
|
1576
1618
|
* @public
|
|
@@ -1671,6 +1713,11 @@ export interface Finding {
|
|
|
1671
1713
|
* @public
|
|
1672
1714
|
*/
|
|
1673
1715
|
codeLocations?: CodeLocation[] | undefined;
|
|
1716
|
+
/**
|
|
1717
|
+
* <p>The verification script metadata for reproducing the finding, including download URL, instructions, and required environment variables.</p>
|
|
1718
|
+
* @public
|
|
1719
|
+
*/
|
|
1720
|
+
verificationScript?: VerificationScript | undefined;
|
|
1674
1721
|
/**
|
|
1675
1722
|
* <p>The date and time the finding was created, in UTC format.</p>
|
|
1676
1723
|
* @public
|
|
@@ -193,6 +193,8 @@ export declare var UserConfig$: StaticStructureSchema;
|
|
|
193
193
|
export declare var UserMetadata$: StaticStructureSchema;
|
|
194
194
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
195
195
|
export declare var VerificationDetails$: StaticStructureSchema;
|
|
196
|
+
export declare var VerificationScript$: StaticStructureSchema;
|
|
197
|
+
export declare var VerificationScriptEnvVar$: StaticStructureSchema;
|
|
196
198
|
export declare var VerifyTargetDomainInput$: StaticStructureSchema;
|
|
197
199
|
export declare var VerifyTargetDomainOutput$: StaticStructureSchema;
|
|
198
200
|
export declare var VpcConfig$: StaticStructureSchema;
|
|
@@ -400,6 +400,16 @@ export interface CodeRemediationTask {
|
|
|
400
400
|
statusReason?: string | undefined;
|
|
401
401
|
taskDetails?: CodeRemediationTaskDetails[] | undefined;
|
|
402
402
|
}
|
|
403
|
+
export interface VerificationScriptEnvVar {
|
|
404
|
+
name?: string | undefined;
|
|
405
|
+
value?: string | undefined;
|
|
406
|
+
}
|
|
407
|
+
export interface VerificationScript {
|
|
408
|
+
scriptType?: string | undefined;
|
|
409
|
+
scriptUrl?: string | undefined;
|
|
410
|
+
instructions?: string | undefined;
|
|
411
|
+
envVars?: VerificationScriptEnvVar[] | undefined;
|
|
412
|
+
}
|
|
403
413
|
export interface Finding {
|
|
404
414
|
findingId: string | undefined;
|
|
405
415
|
agentSpaceId: string | undefined;
|
|
@@ -420,6 +430,7 @@ export interface Finding {
|
|
|
420
430
|
codeRemediationTask?: CodeRemediationTask | undefined;
|
|
421
431
|
lastUpdatedBy?: string | undefined;
|
|
422
432
|
codeLocations?: CodeLocation[] | undefined;
|
|
433
|
+
verificationScript?: VerificationScript | undefined;
|
|
423
434
|
createdAt?: Date | undefined;
|
|
424
435
|
updatedAt?: Date | undefined;
|
|
425
436
|
}
|
|
@@ -193,6 +193,8 @@ export declare var UserConfig$: StaticStructureSchema;
|
|
|
193
193
|
export declare var UserMetadata$: StaticStructureSchema;
|
|
194
194
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
195
195
|
export declare var VerificationDetails$: StaticStructureSchema;
|
|
196
|
+
export declare var VerificationScript$: StaticStructureSchema;
|
|
197
|
+
export declare var VerificationScriptEnvVar$: StaticStructureSchema;
|
|
196
198
|
export declare var VerifyTargetDomainInput$: StaticStructureSchema;
|
|
197
199
|
export declare var VerifyTargetDomainOutput$: StaticStructureSchema;
|
|
198
200
|
export declare var VpcConfig$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityagent",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityagent Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1054.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-securityagent",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.974.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.974.14",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.45",
|
|
26
26
|
"@aws-sdk/types": "^3.973.9",
|
|
27
27
|
"@smithy/core": "^3.24.3",
|
|
28
28
|
"@smithy/fetch-http-handler": "^5.4.3",
|