pentests
pentests

Upload a finding attachment

Store a file the caller will reference from a later submission.

Reserved for machine integrators. The attachment is stored with no finding: the engine uploads before the finding exists and lists the returned id in SubmitFindingRequest.attachments, which the ingest then claims onto the created row.

Args: pentest_slug (str): Public pentest identifier. db (AsyncSession): Request-scoped database session. context (ActiveContext): Resolved caller identity and scope. attachment (UploadFile): The multipart file part.

Returns: FindingAttachmentUploadResponse: The stored attachment's id.

post/v1/pentests/{pentest_slug}/findings/attachments

Request

  • Base URL
    https://api.ethiack.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

pentest_slugstring required

Request body multipart/form-data

attachmentstring binary required

The file to upload.

Response

Successful Response

attachment_idinteger required

Id of the uploaded attachment.

Changes

No recorded changes to this operation across all 1 revision of this API.