X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fsparky-fe.git;a=blobdiff_plain;f=scripts%2Felasticsearch%2FauditdataConfigSettings.json;fp=scripts%2Felasticsearch%2FauditdataConfigSettings.json;h=912295b2398e8426b1d20cf12437646fc41c53be;hp=0000000000000000000000000000000000000000;hb=a38f3d6bb17a478d08016e49d6c2a667ac483d4a;hpb=9c0205dc5bfdac8931a4d8797240a4787d6af2dc diff --git a/scripts/elasticsearch/auditdataConfigSettings.json b/scripts/elasticsearch/auditdataConfigSettings.json new file mode 100644 index 0000000..912295b --- /dev/null +++ b/scripts/elasticsearch/auditdataConfigSettings.json @@ -0,0 +1,82 @@ +{ + "mappings": { + "default": { + "properties": { + "entityId": { + "type": "nested" + }, + "entityLink": { + "type": "string" + }, + "entityType": { + "type": "string", + "index": "not_analyzed" + }, + "resourceVersion": { + "type": "string" + }, + "validationId": { + "type": "string", + "index": "not_analyzed" + }, + "validationTimestamp": { + "type": "date", + "format": "MMM d y HH:m:s||dd-MM-yyyy HH:mm:ss||yyyy-MM-dd'T'HH:mm:ss.SSSZZ||MM/dd/yyyy||yyyyMMdd'T'HHmmssZ" + }, + "violations": { + "type": "nested", + "properties": { + "category": { + "type": "string", + "index": "not_analyzed" + }, + "errorMessage": { + "type": "string" + }, + "modelName": { + "type": "string" + }, + "severity": { + "type": "string", + "index": "not_analyzed" + }, + "validationRule": { + "type": "string" + }, + "violationDetails": { + "type": "nested", + "properties": { + "MISSING_REL": { + "type": "string" + }, + "entityId": { + "type": "nested" + }, + "entityType": { + "type": "string", + "index": "not_analyzed" + }, + "modelName": { + "type": "string" + } + } + }, + "violationId": { + "type": "string", + "index": "not_analyzed" + }, + "violationTimestamp": { + "type": "date", + "format": "MMM d y HH:m:s||dd-MM-yyyy HH:mm:ss||yyyy-MM-dd'T'HH:mm:ss.SSSZZ||MM/dd/yyyy||yyyyMMdd'T'HHmmssZ" + }, + "violationType": { + "type": "string", + "index": "not_analyzed" + } + } + } + } + } + + } +}