Palo Alto Networks Application Control API

{'$ref': 'desc/application-control/application-control.md'}

OpenAPI Specification

palo-alto-networks-application-control-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Palo Alto Networks Application Control API
  version: '1.0'
  description: 'Operations tagged Application-Control across 4 of this provider''s published API definitions: palo-alto-compute-34-03-openapi-34-03-138-sh-openapi.json, palo-alto-compute-openapi-34-04-145-sh-openapi.json, palo-alto-cwpp-34-03-openapi-34-03-138-saas-openapi.json, palo-alto-cwpp-openapi-34-04-145-saas-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: PATH_TO_CONSOLE
tags:
- name: Application-Control
  description: Application-Control. 3 operations in this definition.
  x-description-source: desc/application-control/application-control.md
paths:
  /api/v34.03/application-control/host:
    get:
      description: 'Host Application Control Rule. GET /api/v34.03/application-control/host on the Application-Control API. Documented responses: 200.'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/-_applicationcontrol.Rule'
          description: ''
        default:
          description: ''
      tags:
      - Application-Control
      x-prisma-cloud-target-env:
        permission: policyHosts
      operationId: get-application-control-host
      summary: Host Application Control Rule
      x-description-source: desc/application-control/get.md
    put:
      description: 'Update Host Application Control Rules. PUT /api/v34.03/application-control/host on the Application-Control API. Takes an optional request body. Documented responses: 200.'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/applicationcontrol.Rule'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/applicationcontrol.Rule'
          description: Rule represents an application control policy rule
        default:
          description: ''
      tags:
      - Application-Control
      x-prisma-cloud-target-env:
        permission: policyHosts
      operationId: put-application-control-host
      summary: Update Host Application Control Rules
      x-description-source: desc/application-control/put.md
  /api/v34.03/application-control/host/{id}:
    delete:
      description: 'Delete a Host Application Control Rule. DELETE /api/v34.03/application-control/host/{id} on the Application-Control API. Takes 1 path parameter. Documented responses: 200.'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        default:
          description: ''
      tags:
      - Application-Control
      x-prisma-cloud-target-env:
        permission: policyHosts
      operationId: delete-application-control-host-id
      summary: Delete a Host Application Control Rule
      x-description-source: desc/application-control/id_delete.md
  /api/v34.04/application-control/host:
    get:
      description: 'Host Application Control Rule. GET /api/v34.04/application-control/host on the Application-Control API. Documented responses: 200.'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/-_applicationcontrol.Rule'
          description: ''
        default:
          description: ''
      tags:
      - Application-Control
      x-prisma-cloud-target-env:
        permission: policyHosts
      operationId: get-application-control-host
      summary: Host Application Control Rule
      x-description-source: desc/application-control/get.md
    put:
      description: 'Update Host Application Control Rules. PUT /api/v34.04/application-control/host on the Application-Control API. Takes an optional request body. Documented responses: 200.'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/applicationcontrol.Rule'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/applicationcontrol.Rule'
          description: Rule represents an application control policy rule
        default:
          description: ''
      tags:
      - Application-Control
      x-prisma-cloud-target-env:
        permission: policyHosts
      operationId: put-application-control-host
      summary: Update Host Application Control Rules
      x-description-source: desc/application-control/put.md
  /api/v34.04/application-control/host/{id}:
    delete:
      description: 'Delete a Host Application Control Rule. DELETE /api/v34.04/application-control/host/{id} on the Application-Control API. Takes 1 path parameter. Documented responses: 200.'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
        default:
          description: ''
      tags:
      - Application-Control
      x-prisma-cloud-target-env:
        permission: policyHosts
      operationId: delete-application-control-host-id
      summary: Delete a Host Application Control Rule
      x-description-source: desc/application-control/id_delete.md
components:
  schemas:
    applicationcontrol.Rule:
      description: Rule represents an application control policy rule
      properties:
        _id:
          description: 'ID is the ID of the rule.

            '
          type: integer
        applications:
          description: 'Applications are rules configuring the desired effect per application.

            '
          items:
            $ref: '#/components/schemas/applicationcontrol.Application'
          type: array
        description:
          description: 'Description is the rule description.

            '
          type: string
        disabled:
          description: 'Indicates whether the rule is currently disabled. Values: true (disabled) or false (enabled).

            '
          type: boolean
        modified:
          description: 'Specifies the date and time when the rule was last modified.

            '
          format: date-time
          type: string
        name:
          description: 'Name of the rule.

            '
          type: string
        notes:
          description: 'Describes any noteworthy points for a rule. You can include any text.

            '
          type: string
        owner:
          description: 'User who created or last modified the rule.

            '
          type: string
        previousName:
          description: 'Previous name of the rule. Required for rule renaming.

            '
          type: string
        severity:
          description: 'Severity is the rule''s severity.

            '
          type: string
      type: object
    vulnerability.Conditions:
      description: Conditions represents a list of CVE rules (used to determine whether a CVE applies to a given package)
      items:
        $ref: '#/components/schemas/vulnerability.Rules'
      type: array
    string:
      type: string
    vulnerability.Rules:
      description: Rules represents a list of CVE assessment rules (used to determine whether a CVE applies to a given package)
      items:
        $ref: '#/components/schemas/string'
      type: array
    applicationcontrol.Application:
      description: Application contains data about allowed installed versions for an application
      properties:
        allowedVersions:
          $ref: '#/components/schemas/vulnerability.Conditions'
        name:
          description: 'Name is the name of the application.

            '
          type: string
      type: object
    -_applicationcontrol.Rule:
      items:
        $ref: '#/components/schemas/applicationcontrol.Rule'
      type: array
x-refined-from:
- palo-alto-compute-34-03-openapi-34-03-138-sh-openapi.json
- palo-alto-compute-openapi-34-04-145-sh-openapi.json
- palo-alto-cwpp-34-03-openapi-34-03-138-saas-openapi.json
- palo-alto-cwpp-openapi-34-04-145-saas-openapi.json