For the complete documentation index, see llms.txt. This page is also available as Markdown.

PatchVulnerabilityLibraryFile

This method can be used for the following: Patch a file for a writeup user has Edit access to.

Parameters

The following URL, Headers and Parameters are required for requests to this API endpoint. Where a parameter is optional, it will be indicated. Otherwise treat all parameters as mandatory.

Headers

PATCH /api/ss/library/:id/file/:file HTTP/1.1
Host: demo.attackforge.com
X-SSAPI-KEY: APIKey
Content-Type: application/json
Connection: close

Path

id (string)

Identifier for the writeup.

Example:

PATCH /api/ss/library/5f5ebf3b31ff1d08c1e5fa91/file/:file HTTP/1.1

file (string)

Storage name for the evidence file.

Example:

Body

name (string)

File name.

Example:

caption (string)

File caption.

Example:

Example

The following example is a cURL request to patch a writeup file.

Request

Include API Token instead of stars in 'X-SSAPI-KEY: ***************************************' parameter.

Response

Response contains a status or error message.

Last updated