PatchVulnerabilityLibraryFile
This method can be used for the following: Patch a file for a writeup user has Edit access to.
Last updated
PATCH /api/ss/library/:id/file/o23kuixb8c34fm4gbehndpwzuemegvufjzc7jfkh5xlrmlswl4smfyslj65vuupcv5cc21hizhiiysa1bh5ibiwio17vzpzr63n6xtfh9yvzso4ete6qyh55ez5o6in1 HTTP/1.1{
"name": "network-diagram.png"
}{
"name": "Network diagram captured during testing"
}curl -X PATCH 'https://demo.attackforge.com/api/ss/library/5f5ebf3b31ff1d08c1e5fa91/file/o23kuixb8c34fm4gbehndpwzuemegvufjzc7jfkh5xlrmlswl4smfyslj65vuupcv5cc21hizhiiysa1bh5ibiwio17vzpzr63n6xtfh9yvzso4ete6qyh55ez5o6in1' -H 'Host: demo.attackforge.com' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close' -d '{
"name": "network-diagram.png",
"caption": "Network diagram captured during testing"
}'{
"status": "ok"
}