NeuVector File API

Operations about File

Operations 18

POST /v1/file/compliance/profile Export compliance profile as a yaml format. The exported yaml file can be imported by CRD or REST API to update the compliance profile.
POST /v1/file/admission Export admission control configuration as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the admission control settings.
POST /v1/file/admission/config import admission config
POST /v1/file/response/rule Export non-group-dependent (federated) response rules as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the response rules.
POST /v1/file/response/rule/config import non-group-dependent response rules
GET /v1/file/config Download a configure file
POST /v1/file/config Upload configure file
POST /v1/file/fed_config Export federated webhooks configuration as a yaml format
POST /v1/file/dlp Export (federated) DLP configuration as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the DLP configurations.
POST /v1/file/dlp/config import DLP config
POST /v1/file/vulnerability/profile Export vulnerability profile as a yaml format. The exported yaml file can be imported by CRD or REST API to update the compliance profile.
POST /v1/file/waf Export (federated) WAF configuration as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the WAF configurations.
POST /v1/file/waf/config import waf config
GET /v1/file/group (Obsolete, please use POST method.) Export the yaml format configuration file ( used for CRD or group policy ).
POST /v1/file/group Export (federated) group configuration as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the group policy.
GET /v1/file/group/config Get import status
POST /v1/file/group/config import group policy
POST /v1/csp/file/support Export support config tarball in gz format

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-file-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-file-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 File API
  contact:
    email: support@neuvector.com
servers:
- url: https://localhost:10443/
tags:
- name: File
  description: Operations about File
paths:
  /v1/file/compliance/profile:
    post:
      tags:
      - File
      summary: Export compliance profile as a yaml format. The exported yaml file can be imported by CRD or REST API to update the compliance profile.
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: header
        name: X-Auth-Token
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success. (1) Get a yaml file when export to local. (2) Get RESTRemoteExportData payload when export to remote repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTRemoteExportData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTCompProfilesExport'
        description: Names of profiles to export
  /v1/file/admission:
    post:
      tags:
      - File
      summary: Export admission control configuration as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the admission control settings.
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: query
        name: scope
        required: false
        description: It exports the federated admission control rules when the scope is fed. Otherwise it's for exporting local admission control rules & state configurations.
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success. (1) Get a yaml file when export to local. (2) Get RESTRemoteExportData payload when export to remote repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTRemoteExportData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTAdmCtrlRulesExport'
        description: Configuration data
        required: true
  /v1/file/admission/config:
    post:
      tags:
      - File
      description: Importing admission config. The payload body is the content of the admission config yaml file.
      summary: import admission config
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: header
        name: X-Transaction-ID
        required: false
        schema:
          type: string
      - in: query
        name: scope
        required: false
        description: It imports the federated admission control rules when the scope is fed. Otherwise it's for importing local admission control rules & state configurations.
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success
      requestBody:
        content:
          application/json:
            schema:
              type: string
          text/plain; charset=utf-8:
            schema:
              type: string
        description: admission config yaml file
        required: true
  /v1/file/response/rule:
    post:
      tags:
      - File
      summary: Export non-group-dependent (federated) response rules as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the response rules.
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: query
        name: scope
        required: false
        description: It exports the federated non-group-dependent response rules when the scope is fed. Otherwise it's for exporting local non-group-dependent response rules.
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success. (1) Get a yaml file when export to local. (2) Get RESTRemoteExportData payload when export to remote repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTRemoteExportData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTResponseRulesExport'
        description: Non-group-dependent response rules yaml file
        required: true
  /v1/file/response/rule/config:
    post:
      tags:
      - File
      description: Importing non-group-dependent response rules. The payload body is the content of the response rules yaml file.
      summary: import non-group-dependent response rules
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: header
        name: X-Transaction-ID
        required: false
        schema:
          type: string
      - in: query
        name: scope
        required: false
        description: It imports the federated non-group-dependent response rules when the scope is fed. Otherwise it's for importing local non-group-dependent response rules.
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success
      requestBody:
        content:
          application/json:
            schema:
              type: string
          text/plain; charset=utf-8:
            schema:
              type: string
        description: response rules yaml file
        required: true
  /v1/file/config:
    get:
      tags:
      - File
      summary: Download a configure file
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      responses:
        '200':
          description: Success. Get a configure file.
    post:
      tags:
      - File
      summary: Upload configure file
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: header
        name: X-Transaction-ID
        required: false
        schema:
          type: string
      - in: query
        name: scope
        required: false
        description: It imports the federated configurations when the scope is fed. Otherwise it's for importing local configurations
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success. Upload a configure file.
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                configuration:
                  type: string
                  description: a yaml configure file
                  format: binary
  /v1/file/fed_config:
    post:
      tags:
      - File
      summary: Export federated webhooks configuration as a yaml format
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: header
        name: X-Transaction-ID
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Success. (1) Get a yaml file when export to local. (2) Get RESTRemoteExportData payload when export to remote repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTRemoteExportData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTFedConfigExport'
        description: Configuration data
        required: true
  /v1/file/dlp:
    post:
      tags:
      - File
      summary: Export (federated) DLP configuration as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the DLP configurations.
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: query
        name: scope
        required: false
        description: It exports the federated DLP configurations when the scope is fed. Otherwise it's for exporting local DLP configurations
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success. (1) Get a yaml file when export to local. (2) Get RESTRemoteExportData payload when export to remote repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTRemoteExportData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTDlpSensorExport'
        description: Configuration data
        required: true
  /v1/file/dlp/config:
    post:
      tags:
      - File
      description: Importing DLP config. The payload body is the content of the DLP config yaml file.
      summary: import DLP config
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: header
        name: X-Transaction-ID
        required: false
        schema:
          type: string
      - in: query
        name: scope
        required: false
        description: It imports the federated DLP configurations when the scope is fed. Otherwise it's for importing local DLP configurations
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success
      requestBody:
        content:
          application/json:
            schema:
              type: string
          text/plain; charset=utf-8:
            schema:
              type: string
        description: DLP config yaml file
        required: true
  /v1/file/vulnerability/profile:
    post:
      tags:
      - File
      summary: Export vulnerability profile as a yaml format. The exported yaml file can be imported by CRD or REST API to update the compliance profile.
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: header
        name: X-Auth-Token
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success. (1) Get a yaml file when export to local. (2) Get RESTRemoteExportData payload when export to remote repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTRemoteExportData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTVulnProfilesExport'
        description: Names of profiles to export
  /v1/file/waf:
    post:
      tags:
      - File
      summary: Export (federated) WAF configuration as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the WAF configurations.
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: query
        name: scope
        required: false
        description: It exports the federated WAF configurations when the scope is fed. Otherwise it's for exporting local WAF configurations.
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success. (1) Get a yaml file when export to local. (2) Get RESTRemoteExportData payload when export to remote repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTRemoteExportData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTWafSensorExport'
        description: Configuration data
        required: true
  /v1/file/waf/config:
    post:
      tags:
      - File
      description: Importing WAF config. The payload body is the content of the WAF config yaml file.
      summary: import waf config
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: header
        name: X-Transaction-ID
        required: false
        schema:
          type: string
      - in: query
        name: scope
        required: false
        description: It imports the federated WAF configurations when the scope is fed. Otherwise it's for importing local WAF configurations.
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success
      requestBody:
        content:
          application/json:
            schema:
              type: string
          text/plain; charset=utf-8:
            schema:
              type: string
        description: waf config yaml file
        required: true
  /v1/file/group:
    get:
      tags:
      - File
      summary: (Obsolete, please use POST method.) Export the yaml format configuration file ( used for CRD or group policy ).
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      responses:
        '200':
          description: Success. Get a yaml file.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTGroupExport'
        description: Configuration data
        required: true
    post:
      tags:
      - File
      summary: Export (federated) group configuration as a yaml format. The exported yaml file can be imported by CRD (non-fed scope only) or REST API to update the group policy.
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: query
        name: scope
        required: false
        description: It exports the federated group configurations when the scope is fed. Otherwise it's for exporting local group configurations.
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success. (1) Get a yaml file when export to local. (2) Get RESTRemoteExportData payload when export to remote repository.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTRemoteExportData'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RESTGroupExport'
        description: Configuration data
        required: true
  /v1/file/group/config:
    get:
      tags:
      - File
      summary: Get import status
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RESTImportTaskData'
    post:
      tags:
      - File
      description: Importing group policy. The payload body is the content of the group policy yaml file.
      summary: import group policy
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      parameters:
      - in: header
        name: X-Transaction-ID
        required: false
        schema:
          type: string
      - in: query
        name: scope
        required: false
        description: It imports the federated group policy when the scope is fed. Otherwise it's for importing local group policy.
        schema:
          type: string
          enum:
          - local
          - fed
      responses:
        '200':
          description: Success
      requestBody:
        content:
          application/json:
            schema:
              type: string
          text/plain; charset=utf-8:
            schema:
              type: string
        description: group policy yaml file
        required: true
  /v1/csp/file/support:
    post:
      tags:
      - File
      summary: Export support config tarball in gz format
      security:
      - ApiKeyAuth: []
      - TokenAuth: []
      responses:
        '200':
          description: Success. Get a tarball gz file.
components:
  schemas:
    RESTFedConfigExport:
      type: object
      properties:
        remote_export_options:
          $ref: '#/components/schemas/RESTRemoteExportOptions'
    RESTAdmCtrlRulesExport:
      type: object
      properties:
        export_config:
          type: boolean
          example: true
        ids:
          type: array
          items:
            type: integer
            format: uint32
            example: 12
        remote_export_options:
          $ref: '#/components/schemas/RESTRemoteExportOptions'
    RESTImportTask:
      type: object
      required:
      - tid
      - ctrler_id
      - percentage
      properties:
        tid:
          type: string
          example: c5af897b62a258212ece91c0551d3a4a
        ctrler_id:
          type: string
          example: 6e60452b244b90456f3450c9fed0a50f57f4b849dcb74a5fad289e8116f32f36
        last_update_time:
          type: string
          format: date-time
          example: '2022-03-17T17:31:55.832768041Z'
        percentage:
          type: integer
          example: 100
        triggered_by:
          type: string
          example: admin
        status:
          type: string
          example: done
        temp_token:
          type: string
          example: ''
        fail_to_decrypt_key_fields:
          type: object
          description: Object key is kv key and value is array of cloaked fields that cannot be decrypted
          additionalProperties:
            type: array
            items:
              type: string
            example:
            - x509_cert
            - signing_cert
    RESTImportTaskData:
      type: object
      required:
      - data
      properties:
        data:
          $ref: '#/components/schemas/RESTImportTask'
    RESTVulnProfilesExport:
      type: object
      properties:
        names:
          type: array
          items:
            type: string
            example:
            - default
        remote_export_options:
          $ref: '#/components/schemas/RESTRemoteExportOptions'
    RESTResponseRulesExport:
      type: object
      properties:
        ids:
          type: array
          items:
            type: integer
            format: uint32
            example: 12
        remote_export_options:
          $ref: '#/components/schemas/RESTRemoteExportOptions'
    RESTRemoteExportOptions:
      type: object
      required:
      - file_path
      - remote_repository_nickname
      properties:
        file_path:
          type: string
          example: my_exports/example.yaml
        comment:
          type: string
          description: commit message
          example: commit for poc
        remote_repository_nickname:
          type: string
          example: default
    RESTRemoteExportData:
      type: object
      properties:
        file_path:
          type: string
          description: the destination file path when exported to remote repository
    RESTWafSensorExport:
      type: object
      required:
      - names
      properties:
        names:
          type: array
          items:
            type: string
            example: test4321546242574254672462572452615362453
        remote_export_options:
          $ref: '#/components/schemas/RESTRemoteExportOptions'
    RESTCompProfilesExport:
      type: object
      properties:
        names:
          type: array
          items:
            type: string
            example:
            - default
        remote_export_options:
          $ref: '#/components/schemas/RESTRemoteExportOptions'
    RESTGroupExport:
      type: object
      required:
      - groups
      properties:
        use_name_referral:
          type: boolean
          example: false
          description: Do not export groups' criteria. Instead, refer to NvGroupDefinition CRs for all groups involved in the export.
        groups:
          type: array
          items:
            type: string
            example: demo
        policy_mode:
          type: string
          example: Monitor
          enum:
          - Learn
          - Monitor
          - Protect
        profile_mode:
          type: string
          example: Monitor
          enum:
          - Learn
          - Monitor
          - Protect
        remote_export_options:
          $ref: '#/components/schemas/RESTRemoteExportOptions'
    RESTDlpSensorExport:
      type: object
      required:
      - names
      properties:
        names:
          type: array
          items:
            type: string
          example:
          - ''
        remote_export_options:
          $ref: '#/components/schemas/RESTRemoteExportOptions'
  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/