Note
This module is part of the ibm.qradar collection (version 4.0.0).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install ibm.qradar.
To use it in a playbook, specify: ibm.qradar.offense_info.
Note
The ibm.qradar collection has been deprecated and will be removed from Ansible 13. See the discussion thread for more information.
New in ibm.qradar 1.0.0
Aliases: qradar_offense_info
Parameter | Comments |
|---|---|
assigned_to string | Obtain only information of Offenses assigned to a certain user |
closing_reason string | Obtain only information of Offenses that were closed by a specific closing reason |
closing_reason_id integer | Obtain only information of Offenses that were closed by a specific closing reason ID |
follow_up boolean | Obtain only information of Offenses that are marked with the follow up flag Choices:
|
id integer | Obtain only information of the Offense with provided ID |
name string | Obtain only information of the Offense that matches the provided name |
protected boolean | Obtain only information of Offenses that are protected Choices:
|
status string | Obtain only information of Offenses of a certain status Choices:
|
Note
id as that will return only- name: Get list of all currently OPEN IBM QRadar Offenses
ibm.qradar.offense_info:
status: OPEN
register: offense_list
- name: display offense information for debug purposes
debug:
var: offense_list
Common return values are documented here, the following are the fields unique to this module:
Key | Description |
|---|---|
offenses list / elements=dictionary | Information Returned: always |
|
qradar_offenses complex |
IBM QRadar Offenses found based on provided filters Returned: always |
|
name string |
Name of the service. Returned: always Sample: |
|
source string |
Init system of the service. One of Returned: always Sample: |
|
state string |
State of the service. Either Returned: always Sample: |
|
status string |
State of the service. Either Returned: systemd systems or RedHat/SUSE flavored sysvinit/upstart Sample: |
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/ibm/qradar/offense_info_module.html