ryan_gordon1 / ryan_gordon1.cloud_pak_for_security / 1.1.0 / module / cp4s_create_incident 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)ryan_gordon1.cloud_pak_for_security.cp4s_create_incident (1.1.0) — module
Install with ansible-galaxy collection install ryan_gordon1.cloud_pak_for_security:==1.1.0
collections: - name: ryan_gordon1.cloud_pak_for_security version: 1.1.0
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.
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
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