---
name: "submit_malware"
runner_type: "run-python"
description: "Submit a Malware object to FireEye AX appliance"
enabled: true
entry_point: "submit_malware.py"
parameters:
  file_path:
    type: "string"
    description: "Location on filesystem to malware file to upload"
    required: true
  file_type:
    type: "string"
    description: "MIME type description of Malware file"
    required: true
  analysis_type:
    type: "integer"
    description: "Specifies live or sandbox analysis mode"
    enum:
      - 0
      - 1
    required: true
  profiles:
    type: "string"
    description: "Select AX profile for analysis. Find in AX configuration"
    required: true
  application:
    type: "string"
    description: "Specify the ID of the application to use for the analysis."
    required: true
  priority:
    type: "integer"
    description: "Set the analysis priority"
    default: 0
    enum:
      - 0
      - 1
  force:
    type: "integer"
    description: "Perform analysis again if already performed"
    default: 0
    enum:
      - 0
      - 1
  prefetch:
    type: "integer"
    description: "Specifies whether to determine the file target based on an
      internal determination rather than browsing to the target location."
    default: 0
    enum:
      - 0
      - 1
  timeout:
    type: "integer"
    description: "Sets the analysis timeout (in seconds)"
    default: 5000

---
name: "submit_malware"
runner_type: "run-python"
description: "Submit a Malware object to FireEye AX appliance"
enabled: true
entry_point: "submit_malware.py"
parameters:
  file_name:
    type: "string"
    description: "Location on filesystem to malware file to upload"
    required: true
  file_type:
    type: "string"
    description: "MIME type description of Malware file"
    required: true
  analysis_type:
    type: "integer"
    description: "Specifies live or sandbox analysis mode"
    enum:
      - 0
      - 1
    required: true
  profiles:
    type: "string"
    description: "Select AX profile for analysis. Find in AX configuration"
    required: true
  application:
    type: "string"
    description: "Specify the ID of the application to use for the analysis."
    required: true
  priority:
    type: "integer"
    description: "Set the analysis priority"
    default: 0
    enum:
      - 0
      - 1
  force:
    type: "integer"
    description: "Perform analysis again if already performed"
    default: 0
    enum:
      - 0
      - 1
  prefetch:
    type: "integer"
    description: "Specifies whether to determine the file target based on an
      internal determination rather than browsing to the target location."
    default: 0
    enum:
      - 0
      - 1
  timeout:
    type: "integer"
    description: "Sets the analysis timeout (in seconds)"
    default: 5000

Update file_path parameter to file_name
Update file_path parameter to file_name

Fixes mismatch in `submit_malware` action.