Waiting for engine...
Skip to main content

Audit Log object

The Audit Log object represents an entry in the audit log. Retention of audit log entries is indefinite — no purge schedule exists.

Note: For a list of account management actions that create audit log entries, refer to the topic Audit log entries.

Structure

<AuditLog 
containerId=""
documentId=""
accountId=""
userId=""
message=""
date=""
type=""
action=""
modifier=""
level=""
source="">
<AuditLogProperty value="" name=""/>
...
<AuditLogProperty value="" name=""/>
</AuditLog>

FieldTypeDescription
FilterFIlterFilter
containerIdstringThe ID of the runtime, Runtime cluster, or Runtime cloud on which the action occurred.
documentIdstringThe ID assigned to the Audit Log record.
accountIdstringThe account in which the action occurred.
userIdstringThe ID (email address) of the user who performed the action.
messagestringA descriptive message. Not all types of management actions have a message in their audit log entries.
datedateTime

yyyy-MM-dd'T'HH:mm:ss'Z' (e.g., 2014-02-05T15:32:00Z)
The date and time the action occurred.
typestringThe type of object on which the action occurred.
actionstringThe action type.
modifierstringThe action type qualifier.
levelstringThe severity level of the action: DEBUG, ERROR, INFO, or WARNING.
sourcestringWhere the action occurred: API, INTERNAL, MOBILE, UI, or UNKNOWN
namestringA property name in an audit log entry. For example, in an entry for updating a Runtime or connector to a new version, the name is VERSION_STRING.

Note: Audit log entries created prior to June 2016 have a property name of version and an integer value.
valuestringA property value in an audit log entry. For example, in an entry about updating a Runtime or connector to a new version, the value is the new version number.
note

The name and value fields are a repeatable collection, enabling audit log entries to accommodate multiple properties. The number of properties varies depending on the type, action, and modifier values.

Supported operations

GETQUERYCREATEUPDATEEXECUTEDELETE
 SupportedSupported Not supported Not supportedNot supported  Not supported

Using the GET operation

Use the GET operation to retrieve audit information for a single audit log entry, like the audit log's action message, the audit log type, action, and modifier. For example, you can use the GET operation to retrieve the environment extensions for a certain date using the document ID.

Using the QUERY operation

The following fields can be used as QUERY filters for the Audit Log object:

FieldAllowed values
FilterFilter
containerIdAny string value.
userIdAny string value.
dateDate with the format yyyy-MM-dd'T'HH:mm:ss'Z' — for example, 2014-02-05T15:32:00Z.
One way to specify a date range is to use the BETWEEN operator with two arguments, one representing the start date and the other representing the end date.
typeFor a complete list of types, refer to the topic Audit log query construction.
actionFor a complete list of actions, refer to the topic Audit log query construction.
modifierFor a complete list of modifiers, refer to the topic Audit log query construction.
levelDEBUG, ERROR, INFO, or WARNING.
sourceAPI, INTERNAL, MOBILE, UI, or UNKNOWN. The operators allowed for the Audit Log object filters are:
- BETWEEN
- EQUALS
- GREATER_THAN
- GREATER_THAN_OR_EQUAL
- LESS_THAN
- LESS_THAN_OR_EQUAL

For general information about the structure of QUERY filters and how to handle paged results, see the Query filters and Query paging topics.

Note: For information about constructing audit log queries for specific types of actions, refer to the topicAudit log query construction. For information about constructing queries for actions performed in, refer to the REST APIs topic.

SOAP implementation

GET operation

SOAP request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.platform.boomi.com/">
<soapenv:Header/>
<soapenv:Body>
<api:get>
<api:objectType>Auditlog</api:objectType>
<api:objectId>XdDAzmwB7C-eRHGS1Oal</api:objectId>
</api:get>
</soapenv:Body>
</soapenv:Envelope>

SOAP response:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<bns:getResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bns="http://api.platform.boomi.com/">
<bns:result xsi:type="bns:AuditLog" documentId="XdDAzmwB7C-eRHGS1Oal" accountId=" account-123456 " userId=" user123@company.biz " date="2019-08-26T16:27:19Z" message="Environment Extensions saved" type="as.extensions" action="EDIT" modifier="NONE" level="INFO" source="UNKNOWN">
<bns:AuditLogProperty name="NEW_VALUE" value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?>&lt;processOverrides xmlns:ns2=&quot;http://www.boomi.com/connector/annotation&quot; xmlns:ns3=&quot;http://exacttarget.com/wsdl/partnerAPI&quot; xmlns:ns4=&quot;urn:fault.partner.exacttarget.com&quot; xmlns:ns5=&quot;http://schemas.boomi.com/sap/edi_dc40&quot; xmlns:ns6=&quot;http://schemas.microsoft.com/2003/10/Serialization/&quot; internalVersion=&quot;2&quot; saveVersion=&quot;2&quot;>&lt;connections>&lt;connection id=&quot;829ca9e7-c4a5-48ac-a501-499c59f42001&quot; name=&quot;connection_to_modify_inextensions&quot; type=&quot;boomipartnerapi&quot;>&lt;field id=&quot;authenticationType&quot; label=&quot;Authentication Type&quot; value=&quot;APITOKEN&quot; encryptedValueSet=&quot;false&quot; usesEncryption=&quot;false&quot; useDefault=&quot;false&quot; atomLevelValueSet=&quot;true&quot; componentOverride=&quot;false&quot;/>&lt;/connection>&lt;/connections>&lt;operations/>&lt;partnerOverrides/>&lt;sharedCommOverrides/>&lt;properties/>&lt;schedules/>&lt;mappings/>&lt;crossReferences/>&lt;pgpCertificates/>&lt;definedProcessProperties>&lt;definedProcessProperty componentId=&quot;a90181c0-f513-40ac-b110-646a30d1e4d7&quot; componentName=&quot;processproptotest&quot;>&lt;definedProcessPropertyValueExtension key=&quot;d8e8703b-85cd-4d46-b956-0d5c5f7a615e&quot;/>&lt;componentVersion>1&lt;/componentVersion>&lt;/definedProcessProperty>&lt;/definedProcessProperties>&lt;maps/>&lt;/processOverrides>"/>
<bns:AuditLogProperty name="ENVIRONMENT_ID" value="3fe3d126-8d20-48ba-94d2-4b69752eedd9"/>
</bns:result>
</bns:getResponse>
</S:Body>
</S:Envelope>

QUERY operation

The following example query returns the audit log entries for management actions performed on an account’s Runtimes during the date range starting February 5, 2016 and ending March 4, 2016.

Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.platform.boomi.com/">
<soapenv:Header>
<wsse:Security
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<wsse:UsernameToken wsu:Id="UsernameToken" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsse:Username>ATOMSPHERE_USER_NAME</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"> ATOMSPHERE_PASSWORD</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<api:query>
<api:objectType>AuditLog</api:objectType>
<api:queryConfig>
<api:QueryFilter>
<api:expression operator="and" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="api:GroupingExpression">
<api:nestedExpression operator="EQUALS" property="type" xsi:type="api:SimpleExpression">
<api:argument>as.atom</api:argument>
</api:nestedExpression>
<api:nestedExpression operator="BETWEEN" property="date" xsi:type="api:SimpleExpression">
<api:argument>2016-02-05T00:00:00Z</api:argument>
<api:argument>2016-03-04T23:59:59Z</api:argument>
</api:nestedExpression>
</api:expression>
</api:QueryFilter>
</api:queryConfig>
</api:query>
</soapenv:Body>
</soapenv:Envelope>

Response:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<bns:queryResponse xmlns:bns="http://api.platform.boomi.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<bns:results numberOfResults="100">
<bns:queryToken>EXAMPLE_QUERY_TOKEN</bns:queryToken>
<bns:result xsi:type="bns:AuditLog" source="UNKNOWN" level="INFO" modifier="MANUAL" action="UPDATE"
type="as.atom" date="2016-02-05T09:12:13Z" userId="user123@company.biz"
accountId="account-123456" containerId="3456789a-bcde-f0123-4567-89abcdef012">
<bns:AuditLogProperty value="16.06.0.0-20160512.173026-27" name="VERSION_STRING"/>
</bns:result>
...
<bns:result xsi:type="bns:AuditLog" source="UNKNOWN" level="INFO" modifier="MANUAL" action="UPDATE"
type="as.atom" date="2016-03-04T16:55:20Z" userId="user123@company.biz"
accountId="account-123456" containerId="210fedcb-a987-6543-210f-edcba9876543">
<bns:AuditLogProperty value="16.06.0.0-20160513.182152-27" name="VERSION_STRING"/>
</bns:result>
</bns:results>
</bns:queryResponse>
</S:Body>
</S:Envelope>

The maximum number of results returned per QUERY response is 100. This response includes a queryToken element, which means there are more than 100 results to retrieve. The Query paging topic describes how to use a queryMore call to retrieve more results.

On this Page