GetAssetLibraryAssets
This method can be used for the following: Get assets in the library (must have Assets Module enabled in your tenant configuration!);
Last updated
{
"name": "..."
}{
"type": "Web App"
}{
"external_id": "..."
}{
"skip": 10
}{
"limit": 100
}{
"archived": true
}{
"query": "{ name: { $in: [\"attackforge.com\", \"api.attackforge.com\"] } }"
}{
"cf_key_allowlist": [ "key_1", "key_2" ]
}{
"cf_key_blocklist": [ "key_1", "key_2" ]
}curl -X POST 'https://demo.attackforge.com/api/ss/library/assets' -H 'Host: localhost:3000' -H 'X-SSAPI-KEY: ***************************************' -H 'Content-Type: application/json' -H 'Connection: close' -d '{
"type": "Web App"
}'{
"count": 999,
"assets": [
{
"id": "...",
"created": "...",
"created_by": "...",
"modified": "...",
"name": "...",
"type": "...",
"external_id": "...",
"details": "...",
"groups": [
{
"name": "...",
"id": "..."
}
],
"projects": [
{
"name": "...",
"id": "..."
}
],
"asset_library_ids": [
{
"id": "...",
"name": "..."
}
],
"custom_fields" : [
{
"key" : "...",
"value" : "..."
}
]
}
]
}