Armor CSPM Resources API

CSPM resource management

Business capability
Cybersecurity Management BC-620

Operations 2

GET /cspm/resources Get list of CSPM resources #
GET /cspm/resources/{id} Get resource details #

Documentation

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/armor-cspm-resources-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

armor-cspm-resources-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Armor Compliance CSPM Resources API
  description: 'Armor Compliance API provides endpoints for Cloud Security Posture Management (CSPM)

    and Vulnerability Scanning (VS) services.

    '
  version: 1.0.0
  contact:
    name: Armor Support
    url: https://www.armor.com/support
servers:
- url: https://compliance.api.secure-prod.services
  description: Production server
security:
- OAuth2: []
tags:
- name: CSPM Resources
  description: CSPM resource management
paths:
  /cspm/resources:
    get:
      tags:
      - CSPM Resources
      summary: Get list of CSPM resources
      operationId: listCspmResources
      parameters:
      - name: provider
        in: query
        required: false
        schema:
          type: string
          enum:
          - AWS
          - Azure
          - GCP
        description: Provider type filter
      - name: cloudAccountId
        in: query
        required: false
        schema:
          type: string
        description: Cloud account ID filter
      - name: resourceType
        in: query
        required: false
        schema:
          type: string
        description: Resource type filter
      - name: top
        in: query
        required: false
        schema:
          type: integer
        description: Number of records to return
      - name: skip
        in: query
        required: false
        schema:
          type: integer
        description: Number of records to skip
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PagedResultSet'
        '400':
          description: Bad Request
        '403':
          description: Forbidden
  /cspm/resources/{id}:
    get:
      tags:
      - CSPM Resources
      summary: Get resource details
      operationId: getCspmResourceById
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: Resource ID
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ResourceDetailDto'
        '400':
          description: Bad Request
        '403':
          description: Forbidden
components:
  schemas:
    ResourceDetailDto:
      type: object
      properties:
        id:
          type: integer
          description: Resource ID
        resourceName:
          type: string
          description: Resource name
        resourceType:
          type: string
          description: Resource type
        details:
          type: object
          additionalProperties: true
          description: Resource details
    ResourceEvaluationDto:
      type: object
      properties:
        controlId:
          type: string
          description: Control ID
        status:
          type: string
          description: Evaluation status
        evaluatedOn:
          type: string
          format: date-time
          description: Evaluation date
    CspmResourceListDto:
      type: object
      properties:
        id:
          type: integer
          description: Resource ID
        accountId:
          type: integer
          description: Account ID
        resourceName:
          type: string
          description: Resource name
        resourceType:
          type: string
          description: Resource type
        cloudAccountId:
          type: string
          description: Cloud account ID
        region:
          type: string
          description: Region
        provider:
          type: string
          enum:
          - AWS
          - Azure
          - GCP
          description: Provider
        dateDiscovered:
          type: string
          format: date-time
          description: Date discovered
        dateLastFound:
          type: string
          format: date-time
          description: Date last found
        resourceEvaluation:
          type: array
          items:
            $ref: '#/components/schemas/ResourceEvaluationDto'
    PagedResultSet:
      type: object
      properties:
        total:
          type: integer
          description: Total count
        data:
          type: array
          items:
            $ref: '#/components/schemas/CspmResourceListDto'
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://auth.armor.com/authorize
          tokenUrl: https://auth.armor.com/token
          scopes: {}