AVI Networks Positive Security Policy API

The PositiveSecurityPolicy API from AVI Networks — 2 operation(s) for positivesecuritypolicy.

GitHub OpenAPI

Operations 6

GET /positivesecuritypolicy GET /positivesecuritypolicy #
POST /positivesecuritypolicy POST /positivesecuritypolicy #
GET /positivesecuritypolicy/{uuid} GET /positivesecuritypolicy/{uuid} #
PUT /positivesecuritypolicy/{uuid} PUT /positivesecuritypolicy/{uuid} #
PATCH /positivesecuritypolicy/{uuid} PATCH /positivesecuritypolicy/{uuid} #
DELETE /positivesecuritypolicy/{uuid} DELETE /positivesecuritypolicy/{uuid} #

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/avi-networks:avi-networks-positivesecuritypolicy-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

avi-networks-positivesecuritypolicy-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Avi Networks Positive Security Policy API
  version: 32.2.1
  contact:
    name: Avi Networks Inc.
    url: https://avinetworks.com/contact-us
    email: support@avinetworks.com
  description: 'Operations tagged PositiveSecurityPolicy across 2 of this provider''s published API definitions: avi_global_spec.json, avi-networks-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api
tags:
- name: PositiveSecurityPolicy
paths:
  /positivesecuritypolicy:
    get:
      tags:
      - PositiveSecurityPolicy
      description: /positivesecuritypolicy
      operationId: GET/positivesecuritypolicy
      parameters:
      - name: name
        in: query
        description: object name
        required: false
        schema:
          type: string
      - name: refers_to
        in: query
        description: Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid
        schema:
          type: string
      - name: referred_by
        in: query
        description: Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid
        schema:
          type: string
      - name: fields
        in: query
        description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
        schema:
          type: string
      - name: include_name
        in: query
        description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
        required: false
        schema:
          type: boolean
      - name: skip_default
        in: query
        description: Default values are not set.
        required: false
        schema:
          type: boolean
      - name: join_subresources
        in: query
        description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
        schema:
          type: string
      - name: X-Avi-Tenant
        in: header
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositiveSecurityPolicyApiResponse'
        '401':
          description: log in failed
      summary: GET /positivesecuritypolicy
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: GET /positivesecuritypolicy
    post:
      tags:
      - PositiveSecurityPolicy
      description: /positivesecuritypolicy
      operationId: POST/positivesecuritypolicy
      parameters:
      - name: X-Avi-Tenant
        in: header
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositiveSecurityPolicy'
        '401':
          description: log in failed
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PositiveSecurityPolicy'
        description: PositiveSecurityPolicy object creation
        required: true
      summary: POST /positivesecuritypolicy
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: POST /positivesecuritypolicy
    servers:
    - url: /api
  /positivesecuritypolicy/{uuid}:
    get:
      tags:
      - PositiveSecurityPolicy
      description: /positivesecuritypolicy/{uuid}/{uuid}
      operationId: GET/positivesecuritypolicy/{uuid}
      parameters:
      - name: name
        in: query
        description: object name
        required: false
        schema:
          type: string
      - name: X-Avi-Tenant
        in: header
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      - name: uuid
        in: path
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      - name: fields
        in: query
        description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
        schema:
          type: string
      - name: include_name
        in: query
        description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
        required: false
        schema:
          type: boolean
      - name: skip_default
        in: query
        description: Default values are not set.
        required: false
        schema:
          type: boolean
      - name: join_subresources
        in: query
        description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositiveSecurityPolicy'
        '401':
          description: log in failed
        '404':
          description: object not found
      summary: GET /positivesecuritypolicy/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: GET /positivesecuritypolicy/{uuid}
    put:
      tags:
      - PositiveSecurityPolicy
      description: /positivesecuritypolicy/{uuid}/{uuid}
      operationId: PUT/positivesecuritypolicy/{uuid}
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      - in: path
        name: uuid
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositiveSecurityPolicy'
        '401':
          description: log in failed
        '404':
          description: object not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PositiveSecurityPolicy'
        description: PositiveSecurityPolicy object creation
        required: true
      summary: PUT /positivesecuritypolicy/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: PUT /positivesecuritypolicy/{uuid}
    patch:
      tags:
      - PositiveSecurityPolicy
      description: /positivesecuritypolicy/{uuid}/{uuid}
      operationId: PATCH/positivesecuritypolicy/{uuid}
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      - in: path
        name: uuid
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositiveSecurityPolicy'
        '401':
          description: log in failed
        '404':
          description: object not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PositiveSecurityPolicy'
        description: PositiveSecurityPolicy object creation
        required: true
      summary: PATCH /positivesecuritypolicy/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: PATCH /positivesecuritypolicy/{uuid}
    delete:
      tags:
      - PositiveSecurityPolicy
      description: /positivesecuritypolicy/{uuid}/{uuid}
      operationId: DELETE/positivesecuritypolicy/{uuid}
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      - in: path
        name: uuid
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '204':
          description: object deleted
          content:
            application/json:
              schema:
                type: string
        '404':
          description: object not found
      summary: DELETE /positivesecuritypolicy/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: DELETE /positivesecuritypolicy/{uuid}
    servers:
    - url: /api
components:
  schemas:
    AppLearningConfidenceOverride:
      type: object
      properties:
        confid_high_value:
          description: Confidence threshold for label CONFIDENCE_HIGH. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 9500
          format: uint32
        confid_low_value:
          description: Confidence threshold for label CONFIDENCE_LOW. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 7500
          format: uint32
        confid_probable_value:
          description: Confidence threshold for label CONFIDENCE_PROBABLE. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 9000
          format: uint32
        confid_very_high_value:
          description: Confidence threshold for label CONFIDENCE_VERY_HIGH. Field introduced in 18.2.3. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 9999
          format: uint32
    PositiveSecurityParams:
      type: object
      properties:
        confidence_override:
          description: Configure thresholds for the confidence labels defined by AppLearningConfidenceLabel. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          $ref: '#/components/schemas/AppLearningConfidenceOverride'
        max_params:
          description: Maximum number of parameters per URI programmed for an application. Allowed values are 10-1000. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 100
          format: uint32
        max_uris:
          description: Maximum number of URIs programmed for an application. Allowed values are 10-10000. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 500
          format: uint32
        min_confidence:
          description: Minimum confidence label required for positive security rule updates. Enum options - CONFIDENCE_VERY_HIGH, CONFIDENCE_HIGH, CONFIDENCE_PROBABLE, CONFIDENCE_LOW, CONFIDENCE_NONE. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: string
          default: CONFIDENCE_VERY_HIGH
        min_hits_to_program:
          description: Minimum number of occurances required for a Param to qualify for programming into a PSM rule. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 10000
          format: uint64
    PositiveSecurityPolicy:
      type: object
      properties:
        _last_modified:
          description: UNIX time since epoch in microseconds. Units(MICROSECONDS).
          readOnly: true
          type: string
        description:
          description: Details of the Positive Security Configuration. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: string
        enable_positive_security_rule_updates:
          description: Enable Positive Security rule generation using the application learning data Rules will be programmed in a dedicated learning group. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: boolean
        enable_regex_programming:
          description: Enable dynamic regex generation for positive security rules. This is an experimental feature and shouldn't be used in production. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: boolean
        name:
          description: The name of the PositiveSecurity Configuration. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: string
        positive_security_params:
          description: Parameters for generating positive security rules. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          $ref: '#/components/schemas/PositiveSecurityParams'
        tenant_ref:
          description: Details of the tenant for positive security policy. It is a reference to an object of type Tenant. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: string
        url:
          description: url
          readOnly: true
          type: string
        uuid:
          description: UUID of the Positive Security Configuration. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: string
    PositiveSecurityPolicyApiResponse:
      type: object
      required:
      - count
      - results
      properties:
        count:
          type: integer
          format: int32
        results:
          type: array
          items:
            $ref: '#/components/schemas/PositiveSecurityPolicy'
        next:
          type: string
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: basic authentication
x-refined-from:
- avi_global_spec.json
- avi-networks-openapi.yml