@aws-sdk/client-securityagent 3.1140.0 → 3.1142.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/README.md +7 -0
- package/dist-cjs/index.js +124 -31
- package/dist-es/SecurityAgent.js +4 -0
- package/dist-es/commands/ListActorMessagesCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +6 -0
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListActorMessagesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +100 -30
- package/dist-types/SecurityAgent.d.ts +14 -0
- package/dist-types/SecurityAgentClient.d.ts +3 -2
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +18 -1
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +3 -0
- package/dist-types/commands/CreatePentestCommand.d.ts +6 -0
- package/dist-types/commands/ListActorMessagesCommand.d.ts +83 -0
- package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +3 -0
- package/dist-types/commands/StartPentestJobCommand.d.ts +10 -1
- package/dist-types/commands/UpdatePentestCommand.d.ts +6 -0
- package/dist-types/commands/UpdateThreatModelCommand.d.ts +2 -1
- package/dist-types/commands/VerifyTargetDomainCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +26 -0
- package/dist-types/models/models_0.d.ts +197 -116
- package/dist-types/models/models_1.d.ts +115 -0
- package/dist-types/pagination/ListActorMessagesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +24 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListActorMessagesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -25
- package/dist-types/ts3.4/models/models_1.d.ts +27 -0
- package/dist-types/ts3.4/pagination/ListActorMessagesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +1 -1
|
@@ -38,6 +38,7 @@ declare const ListPentestJobsForPentestCommand_base: {
|
|
|
38
38
|
* pentestId: "STRING_VALUE", // required
|
|
39
39
|
* agentSpaceId: "STRING_VALUE", // required
|
|
40
40
|
* nextToken: "STRING_VALUE",
|
|
41
|
+
* jobType: "FULL" || "REVALIDATION" || "CICD",
|
|
41
42
|
* };
|
|
42
43
|
* const command = new ListPentestJobsForPentestCommand(input);
|
|
43
44
|
* const response = await client.send(command);
|
|
@@ -50,6 +51,8 @@ declare const ListPentestJobsForPentestCommand_base: {
|
|
|
50
51
|
* // status: "IN_PROGRESS" || "STOPPING" || "STOPPED" || "FAILED" || "COMPLETED",
|
|
51
52
|
* // createdAt: new Date("TIMESTAMP"),
|
|
52
53
|
* // updatedAt: new Date("TIMESTAMP"),
|
|
54
|
+
* // jobType: "FULL" || "REVALIDATION" || "CICD",
|
|
55
|
+
* // reportUrl: "STRING_VALUE",
|
|
53
56
|
* // },
|
|
54
57
|
* // ],
|
|
55
58
|
* // nextToken: "STRING_VALUE",
|
|
@@ -36,10 +36,19 @@ declare const StartPentestJobCommand_base: {
|
|
|
36
36
|
* const input = { // StartPentestJobInput
|
|
37
37
|
* agentSpaceId: "STRING_VALUE", // required
|
|
38
38
|
* pentestId: "STRING_VALUE", // required
|
|
39
|
-
* jobType: "FULL" || "REVALIDATION",
|
|
39
|
+
* jobType: "FULL" || "REVALIDATION" || "CICD",
|
|
40
40
|
* selectedFindingIds: [ // StringList
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
|
+
* scopeChanges: [ // ScopeChangeList
|
|
44
|
+
* { // ScopeChange
|
|
45
|
+
* integrationId: "STRING_VALUE", // required
|
|
46
|
+
* providerResourceId: "STRING_VALUE", // required
|
|
47
|
+
* baseCommitSha: "STRING_VALUE",
|
|
48
|
+
* headCommitSha: "STRING_VALUE", // required
|
|
49
|
+
* triggerRunId: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
43
52
|
* };
|
|
44
53
|
* const command = new StartPentestJobCommand(input);
|
|
45
54
|
* const response = await client.send(command);
|
|
@@ -155,6 +155,9 @@ declare const UpdatePentestCommand_base: {
|
|
|
155
155
|
* annotationNotes: true || false,
|
|
156
156
|
* complianceReport: true || false,
|
|
157
157
|
* },
|
|
158
|
+
* cicdConfiguration: { // CiCdConfiguration
|
|
159
|
+
* enabled: true || false,
|
|
160
|
+
* },
|
|
158
161
|
* };
|
|
159
162
|
* const command = new UpdatePentestCommand(input);
|
|
160
163
|
* const response = await client.send(command);
|
|
@@ -253,6 +256,9 @@ declare const UpdatePentestCommand_base: {
|
|
|
253
256
|
* // annotationNotes: true || false,
|
|
254
257
|
* // complianceReport: true || false,
|
|
255
258
|
* // },
|
|
259
|
+
* // cicdConfiguration: { // CiCdConfiguration
|
|
260
|
+
* // enabled: true || false,
|
|
261
|
+
* // },
|
|
256
262
|
* // };
|
|
257
263
|
*
|
|
258
264
|
* ```
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateThreatModelInput
|
|
2
|
+
import type { UpdateThreatModelInput } from "../models/models_0";
|
|
3
|
+
import type { UpdateThreatModelOutput } from "../models/models_1";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { VerifyTargetDomainInput, VerifyTargetDomainOutput } from "../models/
|
|
2
|
+
import type { VerifyTargetDomainInput, VerifyTargetDomainOutput } from "../models/models_1";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -46,6 +46,7 @@ export * from "./GetIntegrationCommand";
|
|
|
46
46
|
export * from "./GetSecurityRequirementPackCommand";
|
|
47
47
|
export * from "./ImportSecurityRequirementsCommand";
|
|
48
48
|
export * from "./InitiateProviderRegistrationCommand";
|
|
49
|
+
export * from "./ListActorMessagesCommand";
|
|
49
50
|
export * from "./ListAgentSpacesCommand";
|
|
50
51
|
export * from "./ListApplicationsCommand";
|
|
51
52
|
export * from "./ListArtifactsCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -15,4 +15,5 @@ export * from "./schemas/schemas_0";
|
|
|
15
15
|
export * from "./models/enums";
|
|
16
16
|
export * from "./models/errors";
|
|
17
17
|
export * from "./models/models_0";
|
|
18
|
+
export * from "./models/models_1";
|
|
18
19
|
export { SecurityAgentServiceException } from "./models/SecurityAgentServiceException";
|
|
@@ -541,6 +541,10 @@ export type ValidationStatus = (typeof ValidationStatus)[keyof typeof Validation
|
|
|
541
541
|
* @enum
|
|
542
542
|
*/
|
|
543
543
|
export declare const JobType: {
|
|
544
|
+
/**
|
|
545
|
+
* <p>A CI/CD pentest job that tests only the code changes in a single pipeline run, as determined by the scope changes supplied when the job is started.</p>
|
|
546
|
+
*/
|
|
547
|
+
readonly CICD: "CICD";
|
|
544
548
|
/**
|
|
545
549
|
* <p>A full pentest job that executes all phases including scanning, managed execution, and guided exploration.</p>
|
|
546
550
|
*/
|
|
@@ -554,6 +558,28 @@ export declare const JobType: {
|
|
|
554
558
|
* @public
|
|
555
559
|
*/
|
|
556
560
|
export type JobType = (typeof JobType)[keyof typeof JobType];
|
|
561
|
+
/**
|
|
562
|
+
* @public
|
|
563
|
+
* @enum
|
|
564
|
+
*/
|
|
565
|
+
export declare const ScopeDecision: {
|
|
566
|
+
/**
|
|
567
|
+
* <p>The code changes are in scope and are tested by the pentest job.</p>
|
|
568
|
+
*/
|
|
569
|
+
readonly IN_SCOPE: "IN_SCOPE";
|
|
570
|
+
/**
|
|
571
|
+
* <p>The code changes are out of scope and are not tested. No pentest is run for the changes.</p>
|
|
572
|
+
*/
|
|
573
|
+
readonly SCOPED_OUT: "SCOPED_OUT";
|
|
574
|
+
/**
|
|
575
|
+
* <p>The code changes could not be conclusively scoped because of a conflict in the scoping inputs.</p>
|
|
576
|
+
*/
|
|
577
|
+
readonly SCOPE_CONFLICT: "SCOPE_CONFLICT";
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
export type ScopeDecision = (typeof ScopeDecision)[keyof typeof ScopeDecision];
|
|
557
583
|
/**
|
|
558
584
|
* @public
|
|
559
585
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccessType, ArtifactType, AuthenticationProviderType, CleanUpStrategy, CodeRemediationStrategy, CodeRemediationTaskStatus, ConfidenceLevel, ContextType, DNSRecordType, DomainVerificationMethod, ErrorCode, FindingStatus, GitLabTokenType, IpAddressType, JobStatus, JobType, LogType, ManagementType, MembershipType, MembershipTypeFilter, NetworkTrafficRuleEffect, NetworkTrafficRuleType, PrivateConnectionStatus, PrivateConnectionType, Provider, ProviderType, ResourceConfigDnsResolution, ResourceType, RiskLevel, RiskType, SecurityRequirementArtifactFormat, SecurityRequirementPackImportStatus, SecurityRequirementPackStatus, SkillType, StepName, StepStatus, StrideCategory, TargetDomainStatus, TaskExecutionStatus, ThreatActor, ThreatSeverity, ThreatStatus, UserRole, ValidationMode, ValidationStatus } from "./enums";
|
|
1
|
+
import type { AccessType, ArtifactType, AuthenticationProviderType, CleanUpStrategy, CodeRemediationStrategy, CodeRemediationTaskStatus, ConfidenceLevel, ContextType, DNSRecordType, DomainVerificationMethod, ErrorCode, FindingStatus, GitLabTokenType, IpAddressType, JobStatus, JobType, LogType, ManagementType, MembershipType, MembershipTypeFilter, NetworkTrafficRuleEffect, NetworkTrafficRuleType, PrivateConnectionStatus, PrivateConnectionType, Provider, ProviderType, ResourceConfigDnsResolution, ResourceType, RiskLevel, RiskType, ScopeDecision, SecurityRequirementArtifactFormat, SecurityRequirementPackImportStatus, SecurityRequirementPackStatus, SkillType, StepName, StepStatus, StrideCategory, TargetDomainStatus, TaskExecutionStatus, ThreatActor, ThreatSeverity, ThreatStatus, UserRole, ValidationMode, ValidationStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The authentication configuration for an actor, specifying the provider type and credentials.</p>
|
|
4
4
|
* @public
|
|
@@ -51,6 +51,32 @@ export interface Actor {
|
|
|
51
51
|
*/
|
|
52
52
|
mfaForwardingAddress?: string | undefined;
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* <p>A message received at an actor's server-generated email MFA address.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export interface ActorMessage {
|
|
59
|
+
/**
|
|
60
|
+
* <p>The address the message was sent from.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
sender?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>The subject line of the message.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
subject?: string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The plain-text body of the message, containing the MFA code or verification link.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
body?: string | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The time the message was received.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
receivedAt?: Date | undefined;
|
|
79
|
+
}
|
|
54
80
|
/**
|
|
55
81
|
* @public
|
|
56
82
|
*/
|
|
@@ -1140,6 +1166,17 @@ export interface BatchDeletePentestsInput {
|
|
|
1140
1166
|
*/
|
|
1141
1167
|
agentSpaceId: string | undefined;
|
|
1142
1168
|
}
|
|
1169
|
+
/**
|
|
1170
|
+
* <p>The configuration that enables a pentest to run as part of a CI/CD pipeline, scoped to the code changes in each pipeline run.</p>
|
|
1171
|
+
* @public
|
|
1172
|
+
*/
|
|
1173
|
+
export interface CiCdConfiguration {
|
|
1174
|
+
/**
|
|
1175
|
+
* <p>Whether CI/CD pentesting is enabled for this pentest.</p>
|
|
1176
|
+
* @public
|
|
1177
|
+
*/
|
|
1178
|
+
enabled?: boolean | undefined;
|
|
1179
|
+
}
|
|
1143
1180
|
/**
|
|
1144
1181
|
* <p>The Amazon CloudWatch Logs configuration for pentest job logging.</p>
|
|
1145
1182
|
* @public
|
|
@@ -1361,6 +1398,11 @@ export interface Pentest {
|
|
|
1361
1398
|
* @public
|
|
1362
1399
|
*/
|
|
1363
1400
|
reportFilters?: ReportFilters | undefined;
|
|
1401
|
+
/**
|
|
1402
|
+
* <p>The CI/CD pentesting configuration for this pentest. Present when the pentest is set up to run from a CI/CD pipeline.</p>
|
|
1403
|
+
* @public
|
|
1404
|
+
*/
|
|
1405
|
+
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
1364
1406
|
/**
|
|
1365
1407
|
* <p>The date and time the pentest was created, in UTC format.</p>
|
|
1366
1408
|
* @public
|
|
@@ -2230,6 +2272,53 @@ export interface BatchGetPentestJobsInput {
|
|
|
2230
2272
|
*/
|
|
2231
2273
|
agentSpaceId: string | undefined;
|
|
2232
2274
|
}
|
|
2275
|
+
/**
|
|
2276
|
+
* <p>A code change in a CI/CD pipeline run that defines what a CI/CD pentest job tests. Each scope change identifies an integrated repository and the commit range for the change.</p>
|
|
2277
|
+
* @public
|
|
2278
|
+
*/
|
|
2279
|
+
export interface ScopeChange {
|
|
2280
|
+
/**
|
|
2281
|
+
* <p>The identifier of the integration for the source-code provider that hosts the repository.</p>
|
|
2282
|
+
* @public
|
|
2283
|
+
*/
|
|
2284
|
+
integrationId: string | undefined;
|
|
2285
|
+
/**
|
|
2286
|
+
* <p>The provider-specific identifier of the repository the change belongs to.</p>
|
|
2287
|
+
* @public
|
|
2288
|
+
*/
|
|
2289
|
+
providerResourceId: string | undefined;
|
|
2290
|
+
/**
|
|
2291
|
+
* <p>The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.</p>
|
|
2292
|
+
* @public
|
|
2293
|
+
*/
|
|
2294
|
+
baseCommitSha?: string | undefined;
|
|
2295
|
+
/**
|
|
2296
|
+
* <p>The commit SHA at the tip of the change to be tested.</p>
|
|
2297
|
+
* @public
|
|
2298
|
+
*/
|
|
2299
|
+
headCommitSha: string | undefined;
|
|
2300
|
+
/**
|
|
2301
|
+
* <p>The identifier of the CI/CD pipeline run that triggered this pentest job.</p>
|
|
2302
|
+
* @public
|
|
2303
|
+
*/
|
|
2304
|
+
triggerRunId?: string | undefined;
|
|
2305
|
+
}
|
|
2306
|
+
/**
|
|
2307
|
+
* <p>The outcome of scoping a CI/CD pentest job's code changes, including the decision and the reason for it.</p>
|
|
2308
|
+
* @public
|
|
2309
|
+
*/
|
|
2310
|
+
export interface ScopeResult {
|
|
2311
|
+
/**
|
|
2312
|
+
* <p>The scoping decision for the job's code changes.</p>
|
|
2313
|
+
* @public
|
|
2314
|
+
*/
|
|
2315
|
+
decision: ScopeDecision | undefined;
|
|
2316
|
+
/**
|
|
2317
|
+
* <p>A human-readable explanation of the scoping decision.</p>
|
|
2318
|
+
* @public
|
|
2319
|
+
*/
|
|
2320
|
+
reason: string | undefined;
|
|
2321
|
+
}
|
|
2233
2322
|
/**
|
|
2234
2323
|
* <p>Represents a pentest job, which is an execution instance of a pentest. A pentest job progresses through preflight, static analysis, pentest, and finalizing steps.</p>
|
|
2235
2324
|
* @public
|
|
@@ -2361,7 +2450,7 @@ export interface PentestJob {
|
|
|
2361
2450
|
*/
|
|
2362
2451
|
maxTaskHours?: number | undefined;
|
|
2363
2452
|
/**
|
|
2364
|
-
* <p>The type of the pentest job. Valid values are FULL and
|
|
2453
|
+
* <p>The type of the pentest job. Valid values are FULL, REVALIDATION, and CICD.</p>
|
|
2365
2454
|
* @public
|
|
2366
2455
|
*/
|
|
2367
2456
|
jobType?: JobType | undefined;
|
|
@@ -2375,6 +2464,26 @@ export interface PentestJob {
|
|
|
2375
2464
|
* @public
|
|
2376
2465
|
*/
|
|
2377
2466
|
reportDestination?: ReportDestination | undefined;
|
|
2467
|
+
/**
|
|
2468
|
+
* <p>The URL to view this pentest job's findings report in the console.</p>
|
|
2469
|
+
* @public
|
|
2470
|
+
*/
|
|
2471
|
+
reportUrl?: string | undefined;
|
|
2472
|
+
/**
|
|
2473
|
+
* <p>The scoping outcome for this CI/CD pentest job. Present only for jobs of type CICD.</p>
|
|
2474
|
+
* @public
|
|
2475
|
+
*/
|
|
2476
|
+
scopeResult?: ScopeResult | undefined;
|
|
2477
|
+
/**
|
|
2478
|
+
* <p>The code changes that defined the scope of this CI/CD pentest job. Present only for jobs of type CICD.</p>
|
|
2479
|
+
* @public
|
|
2480
|
+
*/
|
|
2481
|
+
scopeChanges?: ScopeChange[] | undefined;
|
|
2482
|
+
/**
|
|
2483
|
+
* <p>The configuration that enables a pentest to run as part of a CI/CD pipeline, scoped to the code changes in each pipeline run.</p>
|
|
2484
|
+
* @public
|
|
2485
|
+
*/
|
|
2486
|
+
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
2378
2487
|
/**
|
|
2379
2488
|
* <p>The date and time the pentest job was created, in UTC format.</p>
|
|
2380
2489
|
* @public
|
|
@@ -4055,6 +4164,11 @@ export interface CreatePentestInput {
|
|
|
4055
4164
|
* @public
|
|
4056
4165
|
*/
|
|
4057
4166
|
reportFilters?: ReportFilters | undefined;
|
|
4167
|
+
/**
|
|
4168
|
+
* <p>The CI/CD pentesting configuration to apply to the pentest.</p>
|
|
4169
|
+
* @public
|
|
4170
|
+
*/
|
|
4171
|
+
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
4058
4172
|
}
|
|
4059
4173
|
/**
|
|
4060
4174
|
* <p>Output for the CreatePentest operation.</p>
|
|
@@ -4116,6 +4230,11 @@ export interface CreatePentestOutput {
|
|
|
4116
4230
|
* @public
|
|
4117
4231
|
*/
|
|
4118
4232
|
reportFilters?: ReportFilters | undefined;
|
|
4233
|
+
/**
|
|
4234
|
+
* <p>The CI/CD pentesting configuration applied to the pentest.</p>
|
|
4235
|
+
* @public
|
|
4236
|
+
*/
|
|
4237
|
+
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
4119
4238
|
}
|
|
4120
4239
|
/**
|
|
4121
4240
|
* <p>The configuration for a self-managed private connection.</p>
|
|
@@ -5892,6 +6011,51 @@ export interface ListIntegrationsOutput {
|
|
|
5892
6011
|
*/
|
|
5893
6012
|
nextToken?: string | undefined;
|
|
5894
6013
|
}
|
|
6014
|
+
/**
|
|
6015
|
+
* @public
|
|
6016
|
+
*/
|
|
6017
|
+
export interface ListActorMessagesInput {
|
|
6018
|
+
/**
|
|
6019
|
+
* <p>The maximum number of results to return in a single call.</p>
|
|
6020
|
+
* @public
|
|
6021
|
+
*/
|
|
6022
|
+
maxResults?: number | undefined;
|
|
6023
|
+
/**
|
|
6024
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.</p>
|
|
6025
|
+
* @public
|
|
6026
|
+
*/
|
|
6027
|
+
nextToken?: string | undefined;
|
|
6028
|
+
/**
|
|
6029
|
+
* <p>The unique identifier of the agent space that owns the pentest.</p>
|
|
6030
|
+
* @public
|
|
6031
|
+
*/
|
|
6032
|
+
agentSpaceId: string | undefined;
|
|
6033
|
+
/**
|
|
6034
|
+
* <p>The unique identifier of the pentest that the actor belongs to.</p>
|
|
6035
|
+
* @public
|
|
6036
|
+
*/
|
|
6037
|
+
pentestId: string | undefined;
|
|
6038
|
+
/**
|
|
6039
|
+
* <p>The identifier of the actor whose messages to list. The identifier is case-insensitive.</p>
|
|
6040
|
+
* @public
|
|
6041
|
+
*/
|
|
6042
|
+
actorIdentifier: string | undefined;
|
|
6043
|
+
}
|
|
6044
|
+
/**
|
|
6045
|
+
* @public
|
|
6046
|
+
*/
|
|
6047
|
+
export interface ListActorMessagesOutput {
|
|
6048
|
+
/**
|
|
6049
|
+
* <p>The list of messages received for the actor, most recent first.</p>
|
|
6050
|
+
* @public
|
|
6051
|
+
*/
|
|
6052
|
+
messages?: ActorMessage[] | undefined;
|
|
6053
|
+
/**
|
|
6054
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.</p>
|
|
6055
|
+
* @public
|
|
6056
|
+
*/
|
|
6057
|
+
nextToken?: string | undefined;
|
|
6058
|
+
}
|
|
5895
6059
|
/**
|
|
5896
6060
|
* @public
|
|
5897
6061
|
*/
|
|
@@ -6399,6 +6563,11 @@ export interface ListPentestJobsForPentestInput {
|
|
|
6399
6563
|
* @public
|
|
6400
6564
|
*/
|
|
6401
6565
|
nextToken?: string | undefined;
|
|
6566
|
+
/**
|
|
6567
|
+
* <p>Filters the returned pentest jobs to only those of the specified job type.</p>
|
|
6568
|
+
* @public
|
|
6569
|
+
*/
|
|
6570
|
+
jobType?: JobType | undefined;
|
|
6402
6571
|
}
|
|
6403
6572
|
/**
|
|
6404
6573
|
* <p>Contains summary information about a pentest job.</p>
|
|
@@ -6435,6 +6604,16 @@ export interface PentestJobSummary {
|
|
|
6435
6604
|
* @public
|
|
6436
6605
|
*/
|
|
6437
6606
|
updatedAt?: Date | undefined;
|
|
6607
|
+
/**
|
|
6608
|
+
* <p>The type of the pentest job. Valid values are FULL, REVALIDATION, and CICD.</p>
|
|
6609
|
+
* @public
|
|
6610
|
+
*/
|
|
6611
|
+
jobType?: JobType | undefined;
|
|
6612
|
+
/**
|
|
6613
|
+
* <p>The URL to view this pentest job's findings report in the console.</p>
|
|
6614
|
+
* @public
|
|
6615
|
+
*/
|
|
6616
|
+
reportUrl?: string | undefined;
|
|
6438
6617
|
}
|
|
6439
6618
|
/**
|
|
6440
6619
|
* <p>Output for the ListPentestJobsForPentest operation.</p>
|
|
@@ -7534,7 +7713,7 @@ export interface StartPentestJobInput {
|
|
|
7534
7713
|
*/
|
|
7535
7714
|
pentestId: string | undefined;
|
|
7536
7715
|
/**
|
|
7537
|
-
* <p>The type of pentest job to start. Valid values are FULL and
|
|
7716
|
+
* <p>The type of pentest job to start. Valid values are FULL, REVALIDATION, and CICD. When set to REVALIDATION, the selectedFindingIds parameter is required. When set to CICD, the scopeChanges parameter defines the code changes to test.</p>
|
|
7538
7717
|
* @public
|
|
7539
7718
|
*/
|
|
7540
7719
|
jobType?: JobType | undefined;
|
|
@@ -7543,6 +7722,11 @@ export interface StartPentestJobInput {
|
|
|
7543
7722
|
* @public
|
|
7544
7723
|
*/
|
|
7545
7724
|
selectedFindingIds?: string[] | undefined;
|
|
7725
|
+
/**
|
|
7726
|
+
* <p>The code changes that define the scope of a CI/CD pentest job. Provide this when starting a job with jobType CICD to test only the changes in the current pipeline run.</p>
|
|
7727
|
+
* @public
|
|
7728
|
+
*/
|
|
7729
|
+
scopeChanges?: ScopeChange[] | undefined;
|
|
7546
7730
|
}
|
|
7547
7731
|
/**
|
|
7548
7732
|
* <p>Output for the StartPentestJob operation.</p>
|
|
@@ -8108,6 +8292,11 @@ export interface UpdatePentestInput {
|
|
|
8108
8292
|
* @public
|
|
8109
8293
|
*/
|
|
8110
8294
|
reportFilters?: ReportFilters | undefined;
|
|
8295
|
+
/**
|
|
8296
|
+
* <p>The updated CI/CD pentesting configuration to apply to the pentest.</p>
|
|
8297
|
+
* @public
|
|
8298
|
+
*/
|
|
8299
|
+
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
8111
8300
|
}
|
|
8112
8301
|
/**
|
|
8113
8302
|
* <p>Output for the UpdatePentest operation.</p>
|
|
@@ -8169,6 +8358,11 @@ export interface UpdatePentestOutput {
|
|
|
8169
8358
|
* @public
|
|
8170
8359
|
*/
|
|
8171
8360
|
reportFilters?: ReportFilters | undefined;
|
|
8361
|
+
/**
|
|
8362
|
+
* <p>The CI/CD pentesting configuration applied to the pentest.</p>
|
|
8363
|
+
* @public
|
|
8364
|
+
*/
|
|
8365
|
+
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
8172
8366
|
}
|
|
8173
8367
|
/**
|
|
8174
8368
|
* <p>Input for updating an existing threat.</p>
|
|
@@ -8418,116 +8612,3 @@ export interface UpdateThreatModelInput {
|
|
|
8418
8612
|
*/
|
|
8419
8613
|
reportDestination?: ReportDestination | undefined;
|
|
8420
8614
|
}
|
|
8421
|
-
/**
|
|
8422
|
-
* <p>Output for the UpdateThreatModel operation.</p>
|
|
8423
|
-
* @public
|
|
8424
|
-
*/
|
|
8425
|
-
export interface UpdateThreatModelOutput {
|
|
8426
|
-
/**
|
|
8427
|
-
* <p>The unique identifier of the threat model.</p>
|
|
8428
|
-
* @public
|
|
8429
|
-
*/
|
|
8430
|
-
threatModelId: string | undefined;
|
|
8431
|
-
/**
|
|
8432
|
-
* <p>The title of the threat model.</p>
|
|
8433
|
-
* @public
|
|
8434
|
-
*/
|
|
8435
|
-
title?: string | undefined;
|
|
8436
|
-
/**
|
|
8437
|
-
* <p>The unique identifier of the agent space that contains the threat model.</p>
|
|
8438
|
-
* @public
|
|
8439
|
-
*/
|
|
8440
|
-
agentSpaceId?: string | undefined;
|
|
8441
|
-
/**
|
|
8442
|
-
* <p>A description of the application or system being threat modeled.</p>
|
|
8443
|
-
* @public
|
|
8444
|
-
*/
|
|
8445
|
-
description?: string | undefined;
|
|
8446
|
-
/**
|
|
8447
|
-
* <p>The assets included in the threat model.</p>
|
|
8448
|
-
* @public
|
|
8449
|
-
*/
|
|
8450
|
-
assets?: Assets | undefined;
|
|
8451
|
-
/**
|
|
8452
|
-
* <p>The scoped documents for the agent to focus on during threat modeling.</p>
|
|
8453
|
-
* @public
|
|
8454
|
-
*/
|
|
8455
|
-
scopeDocs?: DocumentInfo[] | undefined;
|
|
8456
|
-
/**
|
|
8457
|
-
* <p>The IAM service role used for the threat model.</p>
|
|
8458
|
-
* @public
|
|
8459
|
-
*/
|
|
8460
|
-
serviceRole?: string | undefined;
|
|
8461
|
-
/**
|
|
8462
|
-
* <p>The CloudWatch Logs configuration for the threat model.</p>
|
|
8463
|
-
* @public
|
|
8464
|
-
*/
|
|
8465
|
-
logConfig?: CloudWatchLog | undefined;
|
|
8466
|
-
/**
|
|
8467
|
-
* <p>The date and time the threat model was created, in UTC format.</p>
|
|
8468
|
-
* @public
|
|
8469
|
-
*/
|
|
8470
|
-
createdAt?: Date | undefined;
|
|
8471
|
-
/**
|
|
8472
|
-
* <p>The date and time the threat model was last updated, in UTC format.</p>
|
|
8473
|
-
* @public
|
|
8474
|
-
*/
|
|
8475
|
-
updatedAt?: Date | undefined;
|
|
8476
|
-
/**
|
|
8477
|
-
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
8478
|
-
* @public
|
|
8479
|
-
*/
|
|
8480
|
-
reportDestination?: ReportDestination | undefined;
|
|
8481
|
-
}
|
|
8482
|
-
/**
|
|
8483
|
-
* <p>Input for verifying ownership for a registered target domain in an agent space.</p>
|
|
8484
|
-
* @public
|
|
8485
|
-
*/
|
|
8486
|
-
export interface VerifyTargetDomainInput {
|
|
8487
|
-
/**
|
|
8488
|
-
* <p>The unique identifier of the target domain to verify.</p>
|
|
8489
|
-
* @public
|
|
8490
|
-
*/
|
|
8491
|
-
targetDomainId: string | undefined;
|
|
8492
|
-
}
|
|
8493
|
-
/**
|
|
8494
|
-
* <p>Output for verifying ownership for a registered target domain in an agent space.</p>
|
|
8495
|
-
* @public
|
|
8496
|
-
*/
|
|
8497
|
-
export interface VerifyTargetDomainOutput {
|
|
8498
|
-
/**
|
|
8499
|
-
* <p>The unique identifier of the target domain.</p>
|
|
8500
|
-
* @public
|
|
8501
|
-
*/
|
|
8502
|
-
targetDomainId?: string | undefined;
|
|
8503
|
-
/**
|
|
8504
|
-
* <p>The domain name of the target domain.</p>
|
|
8505
|
-
* @public
|
|
8506
|
-
*/
|
|
8507
|
-
domainName?: string | undefined;
|
|
8508
|
-
/**
|
|
8509
|
-
* <p>The date and time the target domain was created, in UTC format.</p>
|
|
8510
|
-
* @public
|
|
8511
|
-
*/
|
|
8512
|
-
createdAt?: Date | undefined;
|
|
8513
|
-
/**
|
|
8514
|
-
* <p>The date and time the target domain was last updated, in UTC format.</p>
|
|
8515
|
-
* @public
|
|
8516
|
-
*/
|
|
8517
|
-
updatedAt?: Date | undefined;
|
|
8518
|
-
/**
|
|
8519
|
-
* <p>The date and time the target domain was verified, in UTC format.</p>
|
|
8520
|
-
* @public
|
|
8521
|
-
*/
|
|
8522
|
-
verifiedAt?: Date | undefined;
|
|
8523
|
-
/**
|
|
8524
|
-
* <p>The verification status of the target domain.</p>
|
|
8525
|
-
* @public
|
|
8526
|
-
*/
|
|
8527
|
-
status?: TargetDomainStatus | undefined;
|
|
8528
|
-
/**
|
|
8529
|
-
* <p>The reason for the current target domain verification status.</p>
|
|
8530
|
-
* @public
|
|
8531
|
-
*/
|
|
8532
|
-
verificationStatusReason?: string | undefined;
|
|
8533
|
-
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import type { TargetDomainStatus } from "./enums";
|
|
2
|
+
import type { Assets, CloudWatchLog, DocumentInfo, ReportDestination } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Output for the UpdateThreatModel operation.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface UpdateThreatModelOutput {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The unique identifier of the threat model.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
threatModelId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The title of the threat model.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
title?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The unique identifier of the agent space that contains the threat model.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
agentSpaceId?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>A description of the application or system being threat modeled.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
description?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The assets included in the threat model.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
assets?: Assets | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* <p>The scoped documents for the agent to focus on during threat modeling.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
scopeDocs?: DocumentInfo[] | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* <p>The IAM service role used for the threat model.</p>
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
serviceRole?: string | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* <p>The CloudWatch Logs configuration for the threat model.</p>
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
logConfig?: CloudWatchLog | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* <p>The date and time the threat model was created, in UTC format.</p>
|
|
50
|
+
* @public
|
|
51
|
+
*/
|
|
52
|
+
createdAt?: Date | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* <p>The date and time the threat model was last updated, in UTC format.</p>
|
|
55
|
+
* @public
|
|
56
|
+
*/
|
|
57
|
+
updatedAt?: Date | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
reportDestination?: ReportDestination | undefined;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* <p>Input for verifying ownership for a registered target domain in an agent space.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export interface VerifyTargetDomainInput {
|
|
69
|
+
/**
|
|
70
|
+
* <p>The unique identifier of the target domain to verify.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
targetDomainId: string | undefined;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* <p>Output for verifying ownership for a registered target domain in an agent space.</p>
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
export interface VerifyTargetDomainOutput {
|
|
80
|
+
/**
|
|
81
|
+
* <p>The unique identifier of the target domain.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
targetDomainId?: string | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* <p>The domain name of the target domain.</p>
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
domainName?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* <p>The date and time the target domain was created, in UTC format.</p>
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
createdAt?: Date | undefined;
|
|
95
|
+
/**
|
|
96
|
+
* <p>The date and time the target domain was last updated, in UTC format.</p>
|
|
97
|
+
* @public
|
|
98
|
+
*/
|
|
99
|
+
updatedAt?: Date | undefined;
|
|
100
|
+
/**
|
|
101
|
+
* <p>The date and time the target domain was verified, in UTC format.</p>
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
verifiedAt?: Date | undefined;
|
|
105
|
+
/**
|
|
106
|
+
* <p>The verification status of the target domain.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
status?: TargetDomainStatus | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* <p>The reason for the current target domain verification status.</p>
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
verificationStatusReason?: string | undefined;
|
|
115
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListActorMessagesCommandInput, ListActorMessagesCommandOutput } from "../commands/ListActorMessagesCommand";
|
|
3
|
+
import type { SecurityAgentPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListActorMessages: (config: SecurityAgentPaginationConfiguration, input: ListActorMessagesCommandInput, ...rest: any[]) => Paginator<ListActorMessagesCommandOutput>;
|