ryan_gordon1.cloud_pak_for_security.cp4s_create_incident (1.1.0) — module

A Module used to create an Case in CP4S or Resilient

| "added in version" 1.0.0 of ryan_gordon1.cloud_pak_for_security"

Authors: Ryan Gordon (@Ryan-Gordon)

Install collection

Install with ansible-galaxy collection install ryan_gordon1.cloud_pak_for_security:==1.1.0


Add to requirements.yml

  collections:
    - name: ryan_gordon1.cloud_pak_for_security
      version: 1.1.0

Description

This module is an example of how you can choose to use a module or a role to achieve a similar outcome. An almost identical piece of functionality exists in the CP4S role but this gives a programmatic way to do it.

Inputs

    
name:
    description: This is the name to set for the newly created case.
    required: true
    type: str

payload:
    description:
    - Control to set fields on the created case that are not mandatory
    required: false
    type: dict

Outputs

message:
  description: The output message that the test module generates.
  returned: always
  sample: goodbye
  type: str
original_message:
  description: The original name param that was passed in.
  returned: always
  sample: hello world
  type: str