Description Syntax Examples listAuditEvents

4-6 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

4.2.5.3 Examples

The following command switches from a file repository to a database repository: wls:IDMDomaindomainRuntime setAuditRepositoryswitchToDB=true; Already in Domain Runtime Tree Audit Repository Information updated wls:IDMDomaindomainRuntime getAuditRepository; Already in Domain Runtime Tree JNDI Name:jdbcAuditDB Interval:15 Repository Type:DB The following interactive command changes audit repository to a specific database and sets the audit loader interval to 14 seconds: wls:mydomainserverConfig setAuditRepositoryswitchToDB=true,dataSourceName=jdbcAuditDB,interval=14

4.2.6 listAuditEvents

Online command that displays a components audit events.

4.2.6.1 Description

This command displays a components audit events and attributes. For non-Java EE components, pass the component mbean name as a parameter. Java EE applications and services like Oracle Platform Security Services OPSS do not need the mbean parameter. Without a component type, all generic attributes applicable to all components are displayed.

4.2.6.2 Syntax

listAuditEvents[mbeanName],[componentType]

4.2.6.3 Examples

The following command displays audit events for the Oracle Platform Security Services component: wls:IDMDomaindomainRuntime listAuditEventscomponentType=JPS; Already in Domain Runtime Tree dataSourceName Specifies the name of the data source. interval Specifies intervals at which the audit loader kicks off. Note: You can obtain a non-Java EE components MBean name using the getNonJavaEEAuditMBeanName command. Argument Definition mbeanName Specifies the name of the component MBean. componentType Specifies the component type. Argument Definition Infrastructure Security Custom WLST Commands 4-7 Common Attributes ComponentType Type of the component. For MAS integrated SystemComponents this is the componentType InstanceId Name of the MAS Instance, that this component belongs to HostId DNS hostname of originating host HostNwaddr IP or other network address of originating host ModuleId ID of the module that originated the message. Interpretation is unique within Component ID. ProcessId ID of the process that originated the message The following command displays audit events for Oracle HTTP Server: wls:mydomainserverConfig listAuditEventscomponentType=ohs The following command displays all audit events: wls:IDMDomaindomainRuntime listAuditEvents; Already in Domain Runtime Tree Components: DIP JPS OIF OWSM-AGENT OWSM-PM-EJB ReportsServer WS-PolicyAttachment WebCache WebServices Attributes applicable to all components: ComponentType InstanceId HostId HostNwaddr ModuleId ProcessId OracleHome HomeInstance ECID RID ...

4.2.7 exportAuditConfig