10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller{
85d5671102cdecf126c6046f39a4e1cd0dadfea7Brendan Miller "dbType" : "DB2",
6fedacfa375cad51ceff9c6237ef3b0488a29792Brendan Miller "useDataSource" : "default",
85d5671102cdecf126c6046f39a4e1cd0dadfea7Brendan Miller "maxBatchSize" : 100,
85d5671102cdecf126c6046f39a4e1cd0dadfea7Brendan Miller "maxTxRetry" : 5,
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "queries" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "genericTables" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "credential-query" : "SELECT fullobject FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.${_propTable} prop ON obj.id = prop.${_mainTable}_id INNER JOIN ${_dbSchema}.objecttypes objtype ON objtype.id = obj.objecttypes_id WHERE prop.propkey='/userName' AND prop.propvalue = ${username} AND objtype.objecttype = ${_resource}",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "find-by-id" : "SELECT fullobject FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.objecttypes objtype ON objtype.id = obj.objecttypes_id WHERE obj.objectid = ${id} AND objtype.objecttype = ${_resource}",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "get-by-field-value" : "SELECT fullobject FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.${_propTable} prop ON obj.id = prop.${_mainTable}_id INNER JOIN ${_dbSchema}.objecttypes objtype ON objtype.id = obj.objecttypes_id WHERE prop.propkey=CONCAT('/', ${field}) AND prop.propvalue = ${value} AND objtype.objecttype = ${_resource}",
52d61c338bad1096c6e141997017c770709649c0Jason Vincent "query-all-ids" : "SELECT OBJECTID FROM (SELECT obj.OBJECTID, row_number() OVER (ORDER BY obj.ID) AS row_next FROM ${_dbSchema}.${_mainTable} obj, ${_dbSchema}.OBJECTTYPES o WHERE obj.OBJECTTYPES_ID = o.ID and o.OBJECTTYPE = ${_resource} ) AS query_all_id_temp WHERE row_next BETWEEN ${int:_pagedResultsOffset} + 1 AND ${int:_pagedResultsOffset} + ${int:_pageSize}",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "query-all-ids-count" : "SELECT COUNT(obj.objectid) AS total FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.objecttypes objtype ON obj.objecttypes_id = objtype.id WHERE objtype.objecttype = ${_resource}",
52d61c338bad1096c6e141997017c770709649c0Jason Vincent "query-all" : "SELECT FULLOBJECT FROM (SELECT obj.FULLOBJECT, row_number() OVER (ORDER BY obj.ID) AS row_next FROM ${_dbSchema}.${_mainTable} obj, ${_dbSchema}.OBJECTTYPES o WHERE obj.OBJECTTYPES_ID = o.ID and o.OBJECTTYPE = ${_resource} ) AS query_all_id_temp WHERE row_next BETWEEN ${int:_pagedResultsOffset} + 1 AND ${int:_pagedResultsOffset} + ${int:_pageSize}",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "query-all-count" : "SELECT COUNT(obj.fullobject) AS total FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.objecttypes objtype ON obj.objecttypes_id = objtype.id WHERE objtype.objecttype = ${_resource}",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "for-userName" : "SELECT fullobject FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.${_propTable} prop ON obj.id = prop.${_mainTable}_id INNER JOIN ${_dbSchema}.objecttypes objtype ON objtype.id = obj.objecttypes_id WHERE prop.propkey='/userName' AND prop.propvalue = ${uid} AND objtype.objecttype = ${_resource}",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "credential-internaluser-query" : "SELECT credprop.${_mainTable}_id, credprop.propkey, credprop.propvalue FROM ${_dbSchema}.${_propTable} credprop INNER JOIN ${_dbSchema}.${_mainTable} obj ON obj.id = credprop.${_mainTable}_id INNER JOIN ${_dbSchema}.${_propTable} conditionprop ON obj.id = conditionprop.${_mainTable}_id INNER JOIN ${_dbSchema}.objecttypes objtype ON objtype.id = obj.objecttypes_id WHERE credprop.propkey='/userPassword' AND conditionprop.propkey='/_id' AND conditionprop.propvalue = ${username} AND objtype.objecttype = ${_resource}",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "scan-tasks" : "SELECT fullobject FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.${_propTable} prop ON obj.id = prop.${_mainTable}_id LEFT OUTER JOIN ${_dbSchema}.${_propTable} complete ON obj.id = complete.${_mainTable}_id AND complete.propkey=${taskState.completed} INNER JOIN ${_dbSchema}.objecttypes objtype ON objtype.id = obj.objecttypes_id WHERE ( prop.propkey=${property} AND prop.propvalue < ${condition.before} AND objtype.objecttype = ${_resource} ) AND ( complete.propvalue is NULL )",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "query-cluster-failed-instances" : "SELECT fullobject FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.${_propTable} prop ON obj.id = prop.${_mainTable}_id INNER JOIN ${_dbSchema}.${_propTable} state ON obj.id = state.${_mainTable}_id WHERE (prop.propkey = '/timestamp' AND prop.propvalue <= ${timestamp}) AND (state.propkey = '/state' AND (state.propvalue = '1' OR state.propvalue = '2'))",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "query-cluster-instances" : "SELECT fullobject FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.${_propTable} prop ON obj.id = prop.${_mainTable}_id WHERE (prop.propkey = '/type' AND prop.propvalue = 'state')",
d9b1fcb16f23fb4b520e5f13687b744deeebb03fChad Kienle "query-cluster-events" : "SELECT fullobject FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.${_propTable} prop1 ON obj.id = prop1.${_mainTable}_id INNER JOIN ${_dbSchema}.${_propTable} prop2 ON obj.id = prop2.${_mainTable}_id WHERE (prop1.propkey = '/type' AND prop1.propvalue = 'event') AND (prop2.propkey = '/instanceId' AND prop2.propvalue = ${instanceId})",
d9b1fcb16f23fb4b520e5f13687b744deeebb03fChad Kienle
d9b1fcb16f23fb4b520e5f13687b744deeebb03fChad Kienle "find-relationships-for-resource" : "SELECT obj.* FROM ${_dbSchema}.relationships obj INNER JOIN ${_dbSchema}.objecttypes objecttypes ON (obj.objecttypes_id = objecttypes.id AND objecttypes.objecttype = 'relationships') INNER JOIN ${_dbSchema}.relationshipproperties firstId ON (firstId.relationships_id = obj.id AND firstId.propkey = '/firstId' AND firstId.propvalue = ${fullResourceId}) INNER JOIN ${_dbSchema}.relationshipproperties firstPropertyName ON (firstPropertyName.relationships_id = obj.id AND firstPropertyName.propkey = '/firstPropertyName' AND firstPropertyName.propvalue = ${resourceFieldName}) UNION ALL SELECT obj.* FROM ${_dbSchema}.relationships obj INNER JOIN ${_dbSchema}.objecttypes objecttypes ON (obj.objecttypes_id = objecttypes.id AND objecttypes.objecttype = 'relationships') INNER JOIN ${_dbSchema}.relationshipproperties secondId ON (secondId.relationships_id = obj.id AND secondId.propkey = '/secondId' AND secondId.propvalue = ${fullResourceId}) INNER JOIN ${_dbSchema}.relationshipproperties secondPropertyName ON (secondPropertyName.relationships_id = obj.id AND secondPropertyName.propkey = '/secondPropertyName' AND secondPropertyName.propvalue = ${resourceFieldName}) "
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "explicitTables" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "query-all-ids" : "SELECT objectid FROM ${_dbSchema}.${_table}",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "query-all-ids-count" : "SELECT COUNT(objectid) AS total FROM ${_dbSchema}.${_mainTable} obj INNER JOIN ${_dbSchema}.objecttypes objtype ON obj.objecttypes_id = objtype.id WHERE objtype.objecttype = ${_resource}",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "for-internalcredentials" : "select * FROM ${_dbSchema}.${_table} WHERE objectid = ${uid}",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "get-notifications-for-user" : "select * FROM ${_dbSchema}.${_table} WHERE receiverId = ${userId} order by createDate desc",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "for-userName" : "SELECT * FROM ${_dbSchema}.${_table} WHERE userName = ${uid}",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "credential-query" : "SELECT * FROM ${_dbSchema}.${_table} WHERE objectid = ${username} and accountStatus = 'active'",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "credential-internaluser-query" : "SELECT objectid, pwd, roles FROM ${_dbSchema}.${_table} WHERE objectid = ${username}",
cb44271e4da6e92f951bcc97b9e627a84f2f187cJim Mitchener
cb44271e4da6e92f951bcc97b9e627a84f2f187cJim Mitchener "links-for-firstId" : "SELECT * FROM ${_dbSchema}.${_table} WHERE linkType = ${linkType} AND firstid = ${firstId}",
cb44271e4da6e92f951bcc97b9e627a84f2f187cJim Mitchener "links-for-secondId" : "SELECT * FROM ${_dbSchema}.${_table} WHERE linkType = ${linkType} AND secondid = ${secondId}",
cb44271e4da6e92f951bcc97b9e627a84f2f187cJim Mitchener "links-for-linkType" : "SELECT * FROM ${_dbSchema}.${_table} WHERE linkType = ${linkType}",
cb44271e4da6e92f951bcc97b9e627a84f2f187cJim Mitchener
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "scan-tasks" : "SELECT * FROM ${_dbSchema}.${_table} WHERE ${property} < ${condition.before} AND ${taskState.completed} is NULL",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "query-all" : "SELECT * FROM ${_dbSchema}.${_table}"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "commands" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "genericTables" : { },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "explicitTables" : {
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "purge-by-recon-expired" : "DELETE r FROM ${_dbSchema}.${_table} r INNER JOIN (SELECT reconId FROM ${_dbSchema}.${_table} WHERE mapping LIKE ${includeMapping} AND mapping NOT LIKE ${excludeMapping} AND activitydate < ${timestamp} AND entryType = 'summary') AS x ON x.reconId = r.reconId",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "purge-by-recon-number-of" : "set @num := 0, @mapping := ''; DELETE r FROM ${_dbSchema}.${_table} r INNER JOIN ( SELECT reconId, mapping, activitydate, @num := if(@mapping = mapping, @num + 1, 1) AS row_number, @mapping := mapping as m FROM ${_dbSchema}.${_table} WHERE mapping LIKE ${includeMapping} AND mapping NOT LIKE ${excludeMapping} AND entryType = 'summary' ORDER BY mapping, activitydate desc ) AS x ON r.reconId = x.reconId WHERE x.row_number > ${numberOf}"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "resourceMapping" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "default" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "mainTable" : "genericobjects",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "propertiesTable" : "genericobjectproperties",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchableDefault" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "genericMapping" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "managed/*" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "mainTable" : "managedobjects",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "propertiesTable" : "managedobjectproperties",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchableDefault" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "managed/user" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "mainTable" : "managedobjects",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "propertiesTable" : "managedobjectproperties",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchableDefault" : false,
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "properties" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "/userName" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchable" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "/givenName" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchable" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "/sn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchable" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "/mail" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchable" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "/accountStatus" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchable" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "/roles" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchable" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "/sunset" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchable" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "scheduler" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "mainTable" : "schedulerobjects",
41794fb427728b804eb29a810fe9e29bc8483229Jim Mitchener "propertiesTable" : "schedulerobjectproperties",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchableDefault" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "cluster" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "mainTable" : "clusterobjects",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "propertiesTable" : "clusterobjectproperties",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "searchableDefault" : true
d1bbe00ca698c3999cd63821afeb21765a8ae335Jim Mitchener },
d1bbe00ca698c3999cd63821afeb21765a8ae335Jim Mitchener "relationship" : {
d1bbe00ca698c3999cd63821afeb21765a8ae335Jim Mitchener "mainTable" : "relationships",
d1bbe00ca698c3999cd63821afeb21765a8ae335Jim Mitchener "propertiesTable" : "relationshipproperties",
d1bbe00ca698c3999cd63821afeb21765a8ae335Jim Mitchener "searchableDefault" : true
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent },
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "updates" : {
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "mainTable" : "updateobjects",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "propertiesTable" : "updateobjectproperties",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "searchableDefault" : true
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "explicitMapping" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "link" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "table" : "links",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "objectToColumn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_id" : "objectid",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_rev" : "rev",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "linkType" : "linktype",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "firstId" : "firstid",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "secondId" : "secondid",
15ddf274f8598422cc57ee451a57c3ddc213ce09Jason Vincent "linkQualifier" : "linkqualifier"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "ui/notification" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "table" : "uinotification",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "objectToColumn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_id" : "objectid",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_rev" : "rev",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "requester" : "requester",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "requesterId" : "requesterId",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "receiverId" : "receiverId",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "createDate" : "createDate",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "notificationType" : "notificationType",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "notificationSubtype" : "notificationSubtype",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "message" : "message"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "internal/user" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "table" : "internaluser",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "objectToColumn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_id" : "objectid",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_rev" : "rev",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "password" : "pwd",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "roles" : { "column" : "roles", "type" : "JSON_LIST" }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
4c8171299187e6e63026928558d0347aa2daf075Jake Feasel "internal/role" : {
4c8171299187e6e63026928558d0347aa2daf075Jake Feasel "table" : "internalrole",
4c8171299187e6e63026928558d0347aa2daf075Jake Feasel "objectToColumn" : {
4c8171299187e6e63026928558d0347aa2daf075Jake Feasel "_id" : "objectid",
4c8171299187e6e63026928558d0347aa2daf075Jake Feasel "_rev" : "rev",
4c8171299187e6e63026928558d0347aa2daf075Jake Feasel "description" : "description"
4c8171299187e6e63026928558d0347aa2daf075Jake Feasel }
4c8171299187e6e63026928558d0347aa2daf075Jake Feasel },
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "audit/authentication" : {
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "table" : "auditauthentication",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "objectToColumn" : {
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "_id" : "objectid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "transactionId" : "transactionid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "timestamp" : "activitydate",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "userId" : "userid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "eventName" : "eventname",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "result" : "result",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "principal" : {"column" : "principals", "type" : "JSON_LIST"},
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "context" : {"column" : "context", "type" : "JSON_MAP"},
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "entries" : {"column" : "entries", "type" : "JSON_LIST"},
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "trackingIds" : {"column" : "trackingids", "type" : "JSON_LIST"}
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener }
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener },
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "audit/config" : {
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "table" : "auditconfig",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "objectToColumn" : {
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "_id" : "objectid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "timestamp" : "activitydate",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "eventName" : "eventname",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "transactionId" : "transactionid",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "userId" : "userid",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "trackingIds" : {"column" : "trackingids", "type" : "JSON_LIST"},
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "runas" : "runas",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "objectId" : "configobjectid",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "operation" : "operation",
b56e0fdc42972490e549d6d75469f7721428ead8Jason Lemay "before" : "beforeObject",
b56e0fdc42972490e549d6d75469f7721428ead8Jason Lemay "after" : "afterObject",
85d5671102cdecf126c6046f39a4e1cd0dadfea7Brendan Miller "changedFields": {
85d5671102cdecf126c6046f39a4e1cd0dadfea7Brendan Miller "column": "changedfields",
85d5671102cdecf126c6046f39a4e1cd0dadfea7Brendan Miller "type": "JSON_LIST"
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay },
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "revision" : "rev"
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener }
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "audit/activity" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "table" : "auditactivity",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "objectToColumn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_id" : "objectid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "timestamp" : "activitydate",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "eventName" : "eventname",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "transactionId" : "transactionid",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "userId" : "userid",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "trackingIds" : {"column" : "trackingids", "type" : "JSON_LIST"},
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "runAs" : "runas",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "objectId" : "activityobjectid",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "operation" : "operation",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "before" : "subjectbefore",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "after" : "subjectafter",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "changedFields" : {"column" : "changedfields", "type" : "JSON_LIST"},
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "revision" : "subjectrev",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "passwordChanged" : "passwordchanged",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "message" : "message",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "status" : "status"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "audit/recon" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "table" : "auditrecon",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "objectToColumn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_id" : "objectid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "transactionId" : "transactionid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "timestamp" : "activitydate",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "eventName" : "eventname",
afa950409ae6d3ef68062ccc0a152db7567893caJason Lemay "userId" : "userid",
afa950409ae6d3ef68062ccc0a152db7567893caJason Lemay "trackingIds" : {"column" : "trackingids", "type" : "JSON_LIST"},
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "action" : "activity",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "exception" : "exceptiondetail",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "linkQualifier": "linkqualifier",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "mapping" : "mapping",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "message" : "message",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "messageDetail" : {"column" : "messagedetail", "type" : "JSON_MAP"},
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "situation" : "situation",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "sourceObjectId" : "sourceobjectid",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "status" : "status",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "targetObjectId" : "targetobjectid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "reconciling" : "reconciling",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "ambiguousTargetObjectIds" : "ambiguoustargetobjectids",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "reconAction" : "reconaction",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "entryType" : "entrytype",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "reconId" : "reconid"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "audit/sync" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "table" : "auditsync",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "objectToColumn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_id" : "objectid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "transactionId" : "transactionid",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "timestamp" : "activitydate",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "eventName" : "eventname",
afa950409ae6d3ef68062ccc0a152db7567893caJason Lemay "userId" : "userid",
afa950409ae6d3ef68062ccc0a152db7567893caJason Lemay "trackingIds" : {"column" : "trackingids", "type" : "JSON_LIST"},
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "action" : "activity",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "exception" : "exceptiondetail",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "linkQualifier": "linkqualifier",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "mapping" : "mapping",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "message" : "message",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "messageDetail" : {"column" : "messagedetail", "type" : "JSON_MAP"},
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "situation" : "situation",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "sourceObjectId" : "sourceobjectid",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "status" : "status",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "targetObjectId" : "targetobjectid"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "audit/access" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "table" : "auditaccess",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "objectToColumn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_id" : "objectid",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "timestamp" : "activitydate",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "eventName" : "eventname",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "transactionId" : "transactionid",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "userId" : "userid",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "trackingIds" : {"column" : "trackingids", "type" : "JSON_LIST"},
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "server/ip" : "server_ip",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "server/port" : "server_port",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "client/ip" : "client_ip",
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener "client/port" : "client_port",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "request/protocol" : "request_protocol",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "request/operation" : "request_operation",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "request/detail" : {"column" : "request_detail", "type" : "JSON_MAP"},
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "http/request/secure" : "http_request_secure",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "http/request/method" : "http_request_method",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "http/request/path" : "http_request_path",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "http/request/queryParameters" : {"column" : "http_request_queryparameters", "type" : "JSON_MAP"},
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "http/request/headers" : {"column" : "http_request_headers", "type" : "JSON_MAP"},
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "http/request/cookies" : {"column" : "http_request_cookies", "type" : "JSON_MAP"},
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "http/response/headers" : {"column" : "http_response_headers", "type" : "JSON_MAP"},
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "response/status" : "response_status",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "response/statusCode" : "response_statuscode",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "response/elapsedTime" : "response_elapsedtime",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "response/elapsedTimeUnits" : "response_elapsedtimeunits",
76493d12a73ae88da14af334084dae9a85c41e6fJason Lemay "roles" : "roles"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "security" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "table" : "security",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "objectToColumn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_id" : "objectid",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_rev" : "rev",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "storeString" : "storestring"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller },
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "security/keys" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "table" : "securitykeys",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "objectToColumn" : {
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_id" : "objectid",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "_rev" : "rev",
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller "keyPair" : "keypair"
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
10ce1c22b1cd83482f0127254fe8a27610bb25f5Brendan Miller }
4ba1272bc3d76455c965ab0f3e9403cbb7a47cc2Jim Mitchener}