/api/space/audit-log-management/audit-log-forwarding/forwarding-criteria

The following operations are supported on this resource:

  • GET - Get All Audit Log Forwarding Criteria
  • POST - Add Audit Log Forwarding Criterion
GET /audit-log-forwarding/forwarding-criteria Version 2

Get All Audit Log Forwarding Criteria.

Sample Usage

GET /audit-log-forwarding/forwarding-criteria


  • Sample Output XML:
    <forwarding-criteria total="Integer" uri="/api/space/audit-log-management/audit-log-forwarding/forwarding-criteria">
         <forwarding-criterion
               href="/api/space/audit-log-management/audit-log-forwarding/forwarding-criteria/{id}" uri="/api/space/audit-log-management/audit-log-forwarding/forwarding-criteria/{id}">
               <id>Integer</id>
               <name>String</name>
               <description>String</description>
               <syslog-server>
                   <host-address>String</host-address>
                   <port>Integer</port>
                   <protocol>UDP</protocol>
               </syslog-server>
               <enabled>Boolean</enabled>
               <last-updated-user>String</last-updated-user>
               <last-updated-time>String</last-updated-time>
         </forwarding-criterion>
    </forwarding-criteria>

  • Sample Output JSON:
    {
       "forwarding-criteria" : {
         "@total" : "Integer" ,
         "@uri" :
         "/api/space/audit-log-management/audit-log-forwarding/forwarding-criteria" ,
         "forwarding-criterion" : {
           "@href" :
           "/api/space/audit-log-management/audit-log-forwarding/forwarding-criteria/{id}",
           "@uri" :
           "/api/space/audit-log-management/audit-log-forwarding/forwarding-criteria/{id}",
           "id" : "Integer" ,
           "name" : "String" ,
           "description" : "String" ,
           "syslog-server" : {
             "host-address" : "String" ,
             "port" : "Integer" ,
             "protocol" : "UDP"
           } ,
           "enabled" : "Boolean" ,
           "last-updated-user" : "String" ,
           "last-updated-time" : "String"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: ManageAuditLogForwarding

    POST /audit-log-forwarding/forwarding-criteria Version 2

    Add Audit Log Forwarding Criterion.

    Sample Usage

    This API makes an asynchronous method call; so, you can optionally specify queue and schedule parameters:

    POST /audit-log-forwarding/forwarding-criteria?queue=<queue>&schedule=<schedule>


    Note: The queue URL denoted by <queue> must have been created already.


    • Parameters:
      Name Type URI Type Description Required
      queue Queue URL Query A fully qualified queue URL, where job progress notifications will be sent (See Asynchronous API Usage) N
      schedule cron-like-expression Query Schedule this API in the future, by specifying a cron-like-expression (See Job Scheduling) N
  • Sample Input XML:
    <forwarding-criterion>
         <name>String</name>
         <description>String</description>
         <syslog-server>
               <host-address>String</host-address>
               <port>Integer</port>
               <protocol>UDP</protocol>
         </syslog-server>
         <enabled>Boolean</enabled>
         <filters total="Integer">
               <filter>
                   <attribute>String</attribute>
                   <operator>EQUALS</operator>
                   <value>String</value>
               </filter>
         </filters>
    </forwarding-criterion>

  • Sample Output XML:
    <task href="/api/space/job-management/jobs/688128">
      <id>688128</id>
    </task>

  • Sample Input JSON:
    {
       "forwarding-criterion" : {
         "name" : "String" ,
         "description" : "String" ,
         "syslog-server" : {
           "host-address" : "String" ,
           "port" : "Integer" ,
           "protocol" : "UDP"
         } ,
         "enabled" : "Boolean" ,
         "filters" : {
           "@total" : "Integer" ,
           "filter" : {
             "attribute" : "String" ,
             "operator" : "EQUALS" ,
             "value" : "String"
           }
         }
       }
    }

  • Sample Output JSON:
    {
      "task":{
        "@href":"/api/space/job-management/jobs/688132",
        "id":688132
      }
    }

  • Access Control

    The following capabilities are required to access this API: createForwardCriteria