jira-audit-logs
Returns a list of audit records from Atlassian Jira Cloud.
Syntax
jira-audit-logs [profile=STRING] [duration=STRING] [from=DATETIME] [to=DATETIME] [page-size=INT] [slice-minutes=INT]
Options
- profile=STRING
- Optional. Jira connect profile code. Separate multiple codes with commas. Queries all Jira connect profiles you can use if omitted.
- duration=STRING
- Optional. Scan only recent data. You should use s(second), m(minute), h(hour), d(day), mon(month) time unit. For example,
10mmeans data from 10 minutes earlier. All retained records iffromanddurationare omitted. - from=DATETIME
- Optional. Start time of range.
yyyyMMddHHmmssformat. If you omit time part, it will be padded by zero. - to=DATETIME
- Optional. End time of range.
yyyyMMddHHmmssformat. If you omit time part, it will be padded by zero. (default: current time) - page-size=INT
- Optional. Maximum records returned per API request, 1 to 1000. (default: 1000)
- slice-minutes=INT
- Optional. Time range one API request covers, in minutes. A longer period is split into ranges of this length. Applies only when
fromordurationis specified. 1 to 1440. (default: 60)
Output fields
| Field | Type | Name | Description |
|---|---|---|---|
| _time | Date | Time | |
| profile | String | Connect profile | The identifier of Jira connect profile |
| id | Long | Record ID | |
| src_ip | IP address | Source IP address | |
| category | String | Category | |
| summary | String | Summary | e.g. User added to group |
| object_type | String | Object type | e.g. GROUP, PROJECT, WORKFLOW |
| object_name | String | Object name | e.g. atlassian-addons-admin |
| object_id | String | Object ID | |
| event_source | String | Event source | |
| author_account_id | String | Author account ID | |
| author_key | String | Author key | |
| associated_items | List | Associated items | Each element contains name, id, type |
| changes | List | Changes | Each element contains field_name, changed_from, changed_to |