import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListPentestJobTasksInput, ListPentestJobTasksOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListPentestJobTasksCommand}. */ export interface ListPentestJobTasksCommandInput extends ListPentestJobTasksInput { } /** * @public * * The output of {@link ListPentestJobTasksCommand}. */ export interface ListPentestJobTasksCommandOutput extends ListPentestJobTasksOutput, __MetadataBearer { } declare const ListPentestJobTasksCommand_base: { new (input: ListPentestJobTasksCommandInput): import("@smithy/core/client").CommandImpl; new (input: ListPentestJobTasksCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SecurityAgentClient, ListPentestJobTasksCommand } from "@aws-sdk/client-securityagent"; // ES Modules import * // const { SecurityAgentClient, ListPentestJobTasksCommand } = require("@aws-sdk/client-securityagent"); // CommonJS import * // import type { SecurityAgentClientConfig } from "@aws-sdk/client-securityagent"; * const config = {}; // type is SecurityAgentClientConfig * const client = new SecurityAgentClient(config); * const input = { // ListPentestJobTasksInput * agentSpaceId: "STRING_VALUE", // required * maxResults: Number("int"), * pentestJobId: "STRING_VALUE", * stepName: "PREFLIGHT" || "STATIC_ANALYSIS" || "PENTEST" || "FINALIZING" || "VALIDATION", * categoryName: "STRING_VALUE", * nextToken: "STRING_VALUE", * }; * const command = new ListPentestJobTasksCommand(input); * const response = await client.send(command); * // { // ListPentestJobTasksOutput * // taskSummaries: [ // TaskSummaryList * // { // TaskSummary * // taskId: "STRING_VALUE", // required * // pentestId: "STRING_VALUE", * // pentestJobId: "STRING_VALUE", * // agentSpaceId: "STRING_VALUE", * // title: "STRING_VALUE", * // riskType: "CROSS_SITE_SCRIPTING" || "DEFAULT_CREDENTIALS" || "INSECURE_DIRECT_OBJECT_REFERENCE" || "PRIVILEGE_ESCALATION" || "SERVER_SIDE_TEMPLATE_INJECTION" || "COMMAND_INJECTION" || "CODE_INJECTION" || "SQL_INJECTION" || "ARBITRARY_FILE_UPLOAD" || "INSECURE_DESERIALIZATION" || "LOCAL_FILE_INCLUSION" || "INFORMATION_DISCLOSURE" || "PATH_TRAVERSAL" || "SERVER_SIDE_REQUEST_FORGERY" || "JSON_WEB_TOKEN_VULNERABILITIES" || "XML_EXTERNAL_ENTITY" || "FILE_DELETION" || "OTHER" || "GRAPHQL_VULNERABILITIES" || "BUSINESS_LOGIC_VULNERABILITIES" || "CRYPTOGRAPHIC_VULNERABILITIES" || "DENIAL_OF_SERVICE" || "FILE_ACCESS" || "FILE_CREATION" || "DATABASE_MODIFICATION" || "DATABASE_ACCESS" || "OUTBOUND_SERVICE_REQUEST" || "UNKNOWN", * // executionStatus: "IN_PROGRESS" || "ABORTED" || "COMPLETED" || "INTERNAL_ERROR" || "FAILED", * // taskHours: Number("double"), * // createdAt: new Date("TIMESTAMP"), * // updatedAt: new Date("TIMESTAMP"), * // }, * // ], * // nextToken: "STRING_VALUE", * // }; * * ``` * * @param ListPentestJobTasksCommandInput - {@link ListPentestJobTasksCommandInput} * @returns {@link ListPentestJobTasksCommandOutput} * @see {@link ListPentestJobTasksCommandInput} for command's `input` shape. * @see {@link ListPentestJobTasksCommandOutput} for command's `response` shape. * @see {@link SecurityAgentClientResolvedConfig | config} for SecurityAgentClient's `config` shape. * * @throws {@link SecurityAgentServiceException} *

Base exception class for all service exceptions from SecurityAgent service.

* * * @public */ export declare class ListPentestJobTasksCommand extends ListPentestJobTasksCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListPentestJobTasksInput; output: ListPentestJobTasksOutput; }; sdk: { input: ListPentestJobTasksCommandInput; output: ListPentestJobTasksCommandOutput; }; }; }