Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Rapid7 Attack Templates API

An Attack Template describes if and how Attacks should be executed during the execution of a Scan. There exist pre-defined, system-provided and immutable templates, as well as custom templates. An Attack Template is a top-level resource within the product, and as such is not affected by the deletion of any Apps.

Rapid7 Attack Templates API is one of 50 APIs that Rapid7 publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Attack Templates. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 10 operations across 5 paths, and defines 10 schemas. It is described by OpenAPI 3.1.0, at version v1.

Requests are made against a single base URL, https://[region].api.insight.rapid7.com/ias/v1.

10 operations 5 paths 10 schemas 2 DELETE4 GET2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v1
Base URL
https://us.api.insight.rapid7.com/vm/v4
Resource Areas
1

Paths & Operations 10

Across 5 paths, the API surfaces 10 operations — 2 DELETE, 4 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Attack Templates 10

An Attack Template describes if and how Attacks should be executed during the execution of a Scan. There exist pre-defined, system-provided and immutable templates, as well as cus…

GET
/attack-templates
Get Attack Templates
get-attack-templates 4 params → 415200400401403404500
POST
/attack-templates
Create Attack Template
create-attack-template body → 415200400401403404500409
GET
/attack-templates/module-configs
Get Attack Modules Configs
get-attack-modules-configs → 415200400401403404500
GET
/attack-templates/{attack-template-id}
Get Attack Template
get-attack-template 1 param → 415200400401403404500
PUT
/attack-templates/{attack-template-id}
Update Attack Template
update-attack-template 1 param body → 415200400401403404500409
DELETE
/attack-templates/{attack-template-id}
Delete Attack Template
delete-attack-template 1 param → 415204400401403404500409
GET
/attack-templates/{attack-template-id}/modules
Get Attack Modules
get-attack-modules 1 param → 415200400401403404500
POST
/attack-templates/{attack-template-id}/modules
Create Attack Module
create-attack-module 1 param body → 415200400401403404500409
PUT
/attack-templates/{attack-template-id}/modules/{attack-module-id}
Update Attack Module
update-attack-module 2 params body → 415200400401403404500409
DELETE
/attack-templates/{attack-template-id}/modules/{attack-module-id}
Delete Attack Module
delete-attack-module 2 params → 415204400401403404500409

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are EntityModelAttackTemplate (9 properties), AttackTemplate (8 properties), ModuleConfig (7 properties), AttackModule (6 properties). Each schema is shown below with its type and property counts.

AttackModule
object
6 properties 3 required
ValidationErrors
object
4 properties
AttackTemplate
object
8 properties 1 required
Link
object
4 properties
PageAttackTemplate
object
3 properties
PageMetadata
object
6 properties
ValidationError
object
3 properties
ModuleConfig
object
7 properties
EntityModelAttackTemplate
object
9 properties 1 required
Error
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

rapid7-attack-templates-api-openapi.yml Raw ↑

Other APIs Rapid7 publishes across the network.

Rapid7 InsightVM Cloud API
Rapid7 Insight Platform API
Rapid7 InsightIDR API
Rapid7 Accounts API
Rapid7 Administration API
Rapid7 Apps API
Rapid7 Asset API
Rapid7 Asset Discovery API
Rapid7 Asset Group API
Rapid7 Assets API
Rapid7 Attachments API
Rapid7 Blackouts API