NeuVector Compliance API

Operations about Compliance

Operations 12

GET /v1/bench/host/{id}/docker Docker bench
POST /v1/bench/host/{id}/docker Docker bench run
GET /v1/bench/host/{id}/kubernetes Kubernetes bench
POST /v1/bench/host/{id}/kubernetes Kubernetes bench run
GET /v1/compliance/profile Get compliance profile list
GET /v1/compliance/profile/{name} Get compliance profile detail
PATCH /v1/compliance/profile/{name} Configure compliance profile
PATCH /v1/compliance/profile/{name}/entry/{check} Configure compliance profile entry
DELETE /v1/compliance/profile/{name}/entry/{check} Delete compliance profile entry
GET /v1/custom_check Get custom check scripts of all groups
GET /v1/custom_check/{group} GET custom check scripts of the specified group
PATCH /v1/custom_check/{group} Update custom check scripts of the specified group

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/neuvector-compliance-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

neuvector-compliance-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Secure Docker and Kubernetes based container deployments with the NeuVector run-time security solution.
  version: 5.6.0
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  title: NeuVector Compliance API
  contact:
    email: support@neuvector.com
servers:
- url: https://localhost:10443/
tags:
- name: Compliance
  description: Operations about Compliance
paths:
  /v1/bench/host/{id}/docker:
    get:
      tags:
      - Compliance
      summary: Docker bench
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: id
        description: Host ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTBenchReport'
    post:
      tags:
      - Compliance
      summary: Docker bench run
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: id
        description: Host ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
  /v1/bench/host/{id}/kubernetes:
    get:
      tags:
      - Compliance
      summary: Kubernetes bench
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: id
        description: Host ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTBenchReport'
    post:
      tags:
      - Compliance
      summary: Kubernetes bench run
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: id
        description: Host ID
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
  /v1/compliance/profile:
    get:
      tags:
      - Compliance
      summary: Get compliance profile list
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTComplianceProfilesData'
  /v1/compliance/profile/{name}:
    get:
      tags:
      - Compliance
      summary: Get compliance profile detail
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: name
        description: Profile name
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTComplianceProfileData'
    patch:
      tags:
      - Compliance
      summary: Configure compliance profile
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: name
        description: Compliance profile name
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTComplianceProfileConfigData'
        description: Compliance profile config data
        required: true
  /v1/compliance/profile/{name}/entry/{check}:
    patch:
      tags:
      - Compliance
      summary: Configure compliance profile entry
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: name
        description: Compliance profile name
        required: true
        schema:
          type: string
      - in: path
        name: check
        description: Compliance profile entry check name
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTComplianceProfileEntryConfigData'
        description: Compliance profile entry data
        required: true
    delete:
      tags:
      - Compliance
      summary: Delete compliance profile entry
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: name
        description: Compliance profile name
        required: true
        schema:
          type: string
      - in: path
        name: check
        description: Compliance profile entry check name
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
  /v1/custom_check:
    get:
      tags:
      - Compliance
      summary: Get custom check scripts of all groups
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTCustomCheckListData'
  /v1/custom_check/{group}:
    get:
      tags:
      - Compliance
      summary: GET custom check scripts of the specified group
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: group
        description: Script config name
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTCustomCheckData'
    patch:
      tags:
      - Compliance
      summary: Update custom check scripts of the specified group
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: path
        name: group
        description: Script config name
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTCustomCheckConfigData'
        description: Script config data
        required: true
components:
  schemas:
    RESTComplianceProfileEntry:
      type: object
      required:
      - test_number
      - tags
      properties:
        test_number:
          type: string
          example: ''
        tags:
          type: array
          items:
            type: string
            example: ''
    RESTCustomCheckConfigData:
      type: object
      required:
      - config
      properties:
        config:
          $ref: '#/components/schemas/RESTCustomCheckConfig'
    RESTBenchReport:
      type: object
      required:
      - run_timestamp
      - run_at
      - cis_version
      - items
      properties:
        run_timestamp:
          type: integer
          format: int64
          example: 1516561253
        run_at:
          type: string
          format: date-time
          example: 2018-06-21 19:00:53+00:00
        cis_version:
          type: string
          example: 1.5.1
        items:
          type: array
          items:
            $ref: '#/components/schemas/RESTBenchItem'
    RESTComplianceProfileConfigData:
      type: object
      required:
      - config
      properties:
        config:
          $ref: '#/components/schemas/RESTComplianceProfileConfig'
    RESTComplianceProfilesData:
      type: object
      required:
      - profiles
      properties:
        profiles:
          type: array
          items:
            $ref: '#/components/schemas/RESTComplianceProfile'
    RESTComplianceProfileConfig:
      type: object
      required:
      - name
      properties:
        name:
          type: string
          example: default
        disable_system:
          type: boolean
          example: false
        entries:
          type: array
          items:
            $ref: '#/components/schemas/RESTComplianceProfileEntry'
    RESTCustomChecks:
      type: object
      required:
      - group
      - scripts
      properties:
        group:
          type: string
          example: containers
        enabled:
          type: boolean
          example: false
        writable:
          type: boolean
          example: false
        scripts:
          type: array
          items:
            $ref: '#/components/schemas/RESTCustomCheck'
    RESTCustomCheckListData:
      type: object
      required:
      - configs
      properties:
        configs:
          type: array
          items:
            $ref: '#/components/schemas/RESTCustomChecks'
    RESTBenchItem:
      type: object
      required:
      - catalog
      - type
      - level
      - test_number
      - profile
      - scored
      - automated
      - description
      - message
      - remediation
      - group
      properties:
        catalog:
          type: string
          example: docker
        type:
          type: string
          example: ''
        level:
          type: string
          example: INFO
        test_number:
          type: string
          example: '1'
        profile:
          type: string
          example: Level 1
        scored:
          type: boolean
          example: true
        automated:
          type: boolean
          example: true
        description:
          type: string
          example: General Configuration
        message:
          type: array
          items:
            type: string
            example: Host Configuration
        remediation:
          type: string
          example: ''
        group:
          type: string
          example: nv.calico
    RESTCustomCheckData:
      type: object
      required:
      - config
      properties:
        config:
          $ref: '#/components/schemas/RESTCustomChecks'
    RESTComplianceProfileEntryConfigData:
      type: object
      required:
      - config
      properties:
        config:
          $ref: '#/components/schemas/RESTComplianceProfileEntry'
    RESTCustomCheck:
      type: object
      required:
      - name
      - script
      properties:
        name:
          type: string
          example: node
        script:
          type: string
          example: 'uname -r '
    RESTCustomCheckConfig:
      type: object
      required:
      - add
      - delete
      - update
      properties:
        add:
          $ref: '#/components/schemas/RESTCustomChecks'
        delete:
          $ref: '#/components/schemas/RESTCustomChecks'
        update:
          $ref: '#/components/schemas/RESTCustomChecks'
    RESTComplianceProfile:
      type: object
      required:
      - name
      - disable_system
      - entries
      properties:
        name:
          type: string
          example: default
        disable_system:
          type: boolean
          example: false
        entries:
          type: array
          items:
            $ref: '#/components/schemas/RESTComplianceProfileEntry'
        cfg_type:
          type: string
          enum:
          - user_created
          - ground
    RESTComplianceProfileData:
      type: object
      required:
      - profile
      properties:
        profile:
          $ref: '#/components/schemas/RESTComplianceProfile'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Auth-Apikey
    TokenAuth:
      type: apiKey
      in: header
      name: X-Auth-Token
externalDocs:
  description: Find out more about NeuVector
  url: https://www.suse.com/products/neuvector/