{ "info": { "_postman_id": "a200e31c-fbe0-45c4-87a7-f24427e9086f", "name": "Audit", "description": "Cross-product audit feature APIs. The root path is /rest/auditing/1.0", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "Cache", "item": [ { "name": "Rebuilds caches used by the audit feature (e.g actions and categories", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}cache/rebuild", "query": [], "variable": [] }, "method": "POST", "header": [] }, "response": [] } ] }, { "name": "Configuration", "item": [ { "name": "Get current audit log coverage configuration", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}configuration/coverage", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ] }, "response": [] }, { "name": "Set current audit log coverage configuration", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}configuration/coverage", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get current excluded actions configuration", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}configuration/denylist", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ] }, "response": [] }, { "name": "Replace existing exclude actions configuration", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}configuration/denylist", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Modify existing excluded actions configuration", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}configuration/denylist", "query": [], "variable": [] }, "method": "POST", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get current audit log retention database configuration", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}configuration/retention", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ] }, "response": [] }, { "name": "Set current audit log retention database configuration", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}configuration/retention", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "" } }, "response": [] }, { "name": "Get current audit log retention file configuration", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}configuration/retention/file", "query": [], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ] }, "response": [] }, { "name": "Set current audit log retention file configuration", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}configuration/retention/file", "query": [], "variable": [] }, "method": "PUT", "header": [ { "description": "", "disabled": false, "key": "Content-Type", "value": "application/json" }, { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "" } }, "response": [] } ] }, { "name": "Events", "item": [ { "name": "Get a paginated list of audit events", "request": { "url": { "protocol": "{{protocol}}", "host": "{{host}}", "path": "{{basePath}}events", "query": [ { "key": "from", "value": "{{from}}", "disabled": true, "description": "The start timestamp in ISO8601 format" }, { "key": "to", "value": "{{to}}", "disabled": true, "description": "The end timestamp in ISO8601 format" }, { "key": "offset", "value": "{{offset}}", "disabled": true, "description": "The number of records to skip" }, { "key": "pageCursor", "value": "{{pageCursor}}", "disabled": true, "description": "Location of last result returned in format of timestamp,ID. For making a request for page X, the value of this field can be obtained from pagingInfo->nextPageCursor in response for page X-1" }, { "key": "limit", "value": "{{limit}}", "disabled": true, "description": "The maximum number of records returned" }, { "key": "userIds", "value": "{{userIds}}", "disabled": true, "description": "Audit event author identifiers separated by comma" }, { "key": "categories", "value": "{{categories}}", "disabled": true, "description": "Audit categories separated by comma" }, { "key": "actions", "value": "{{actions}}", "disabled": true, "description": "Comma-separated list of actions which triggered the audit record" }, { "key": "affectedObject", "value": "{{affectedObject}}", "disabled": true, "description": "A list of affected objects separated by semicolon. Each affected object is a pair of object type and id separated by comma. Administrator permission of all affected objects is required when specified. Global administrator permission is required when no affected object is specified." }, { "key": "search", "value": "{{search}}", "disabled": true, "description": "Search expression, this parameter may have negative performance impact. It's recommended to use scanLimit when this parameter is specified." }, { "key": "outputFormat", "value": "{{outputFormat}}", "disabled": true, "description": "What format output should the server create" }, { "key": "scanLimit", "value": "{{scanLimit}}", "disabled": true, "description": "The maximum number of records to be scanned in the inverse insertion order with from and to filters taking precedence, the default value is 2147483647 which means there is no limit" } ], "variable": [] }, "method": "GET", "header": [ { "description": "", "disabled": false, "key": "Accept", "value": "application/json" } ] }, "response": [] } ] } ], "variable": [ { "key": "protocol", "name": "Protocol", "description": "The HTTP Protocol that should be used for this REST API.", "type": "string", "value": "https" }, { "key": "host", "name": "Host", "description": "The HTTP host that should be used for this REST API.", "type": "string", "value": "api.atlassian.com" }, { "key": "basePath", "name": "Base Path", "description": "The path, after the host, of the base of the REST API.", "type": "string", "value": "" } ] }