Database Table Collection Plug-in Mapper File

See an example of an Oracle Database Security Central database table collection plug-in mapper file.

To see how to create your own plug-in mapper file, review the structure of this example.

Example 2 Database Table Collection Plug-in Mapper Schema

<?xml version="1.0"?>

<!--
 Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
-->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tnp="http://foobar.example.com/avdf/ezcollector/namepattern" elementFormDefault="qualified">
<xsd:include schemaLocation="ezCollectorTemplate_schema.xsd"/>
<xsd:import schemaLocation="NamePattern_schema.xsd" namespace="http://foobar.example.com/avdf/ezcollector/namepattern" />

<!-- XML Document Structure-->
<xsd:element name="AVTableCollectorTemplate" >
	<xsd:complexType>
		<xsd:all>
			<!-- Audit table name -->
			<xsd:element name="TableName" type="xsd:string" minOccurs="1" maxOccurs="1"/>
			<xsd:element name="NamePattern" type="tnp:NamePatternType" minOccurs="0" maxOccurs="1"/>
			<!-- Database connection information -->
			<xsd:element name="ConnectionInfo" minOccurs="1" maxOccurs="1">
				<xsd:complexType>
					<xsd:sequence>
						<!-- JDBC datasource class -->
						<xsd:element name="DataSource" type="xsd:string"  minOccurs="1" maxOccurs="1"/>
					 </xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<!-- Secured Target to AV server fields Mapping for Core, Large, Extension fields and Marker-->
			<xsd:element name="FieldMappingInfo" type="FieldMappingInfoType" minOccurs="1" maxOccurs="1"/>
			<!-- Event Filter. This is optional. If it is not used, all the audit events will be collected-->
			<xsd:element name="EventFilter" type="EventFilterType" minOccurs="0" maxOccurs="1"/>
		</xsd:all>
		<!-- Secured Target Type-->
		<xsd:attribute name="securedTargetType" type="xsd:string" use="required"/>
		<!-- Max Secured Target version supported by the template-->
		<xsd:attribute name="maxSecuredTargetVersion" type="xsd:string" use="required"/>
		<!-- Min Secured Target version supported by the template-->
		<xsd:attribute name="minSecuredTargetVersion" type="xsd:string"/>
		<!-- Template file version-->
		<xsd:attribute name="version" type="xsd:string" use="required"/>
	</xsd:complexType>
</xsd:element>
</xsd:schema>