Simple API Proxy

Provide a simple API proxy to restrict privileges or minimize the amount of credentials issued at the API.

Utilities · Simple API Proxy

Details

IDSimple API Proxy
ProviderOpen Source
CategoryUtilities
From Version6.5.0
Docker Imagedemisto/fastapi:0.125.0.10158186
Supported ModulesAgentix XSIAM

Configuration parameters

  • longRunning — Long running instance
  • longRunningPort — Listen Port (required)
  • credentials — Username
  • certificate — Certificate (Required for HTTPS)
  • key — Private Key (Required for HTTPS)
  • incidentType — Incident type
  • api_path — Target API Base Path
  • api_credential_type — API Credential Type
  • api_credentials — API credentials
  • api_permissions — API Permission Definition (required)
  • custom_auth_header — Custom Auth Header
  • custom_auth_header_value — Custom Auth Header value

Commands (0)

This integration defines no commands.

category: Utilities
provider: Open Source
sectionorder:
- Connect
- Collect
commonfields:
  id: Simple API Proxy
  version: -1
configuration:
- defaultvalue: "true"
  display: Long running instance
  hidden: true
  name: longRunning
  type: 8
  required: false
  section: Connect
- additionalinfo: "Runs the web server on this port from within Cortex XSOAR. Requires a unique port for each long-running integration instance. Do not use the same port for multiple instances. Note: If you click the test button more than once, a failure may occur mistakenly indicating that the port is already in use. (For Cortex XSOAR 8 and Cortex XSIAM) If you do not enter a Listen Port, an unused port for Simple API Proxy will automatically be generated when the instance is saved. However, if using an engine, you must enter a Listen Port."
  display: Listen Port
  name: longRunningPort
  required: true
  type: 0
  section: Connect
- display: Username
  name: credentials
  type: 9
  required: false
  section: Connect
- additionalinfo: (For Cortex XSOAR 6.x) For use with HTTPS - the certificate that the service should use. (For Cortex XSOAR 8 and Cortex XSIAM) Custom certificates are not supported.
  display: Certificate (Required for HTTPS)
  name: certificate
  type: 12
  required: false
  section: Connect
- additionalinfo: (For Cortex XSOAR 6.x) For use with HTTPS - the private key that the service should use. (For Cortex XSOAR 8 and Cortex XSIAM) When using an engine, configure a private API key. Not supported on the Cortex XSOAR​​ or Cortex XSIAM server.
  display: Private Key (Required for HTTPS)
  name: key
  type: 14
  required: false
  section: Connect
- display: Incident type
  name: incidentType
  type: 13
  required: false
  section: Collect
- display: Target API Base Path
  name: api_path
  type: 0
  required: false
  section: Connect
- defaultvalue: None
  display: API Credential Type
  name: api_credential_type
  options:
  - Custom Header
  - None
  - Basic
  - Bearer Token
  type: 15
  required: false
  section: Connect
- display: API credentials
  name: api_credentials
  type: 9
  required: false
  section: Connect
- additionalinfo: See example in detailed instructions.
  display: API Permission Definition
  name: api_permissions
  required: true
  type: 12
  section: Connect
- additionalinfo: Works when "API Credential Type" value is set to "Custom Header"
  display: Custom Auth Header
  name: custom_auth_header
  type: 0
  required: false
  section: Connect
- additionalinfo: Works when "API Credential Type" value is set to "Custom Header"
  display: Custom Auth Header value
  name: custom_auth_header_value
  type: 0
  required: false
  section: Connect
description: Provide a simple API proxy to restrict privileges or minimize the amount of credentials issued at the API.
display: Simple API Proxy
name: Simple API Proxy
script:
  dockerimage: demisto/fastapi:0.125.0.10158186
  longRunning: true
  longRunningPort: true
  runonce: true
  script: '-'
  subtype: python3
  type: python
tests:
- No tests (auto formatted)
fromversion: 6.5.0
triggers:
  - conditions:
      - name: engine
        operator: not_exists
      - name: isEngineGroup
        operator: not_exists
    effects:
      - name: longRunningPort
        action:
          hidden: true
          required: false