summaryrefslogtreecommitdiffstats
path: root/scripts/elasticsearch/auditdataConfigSettings.json
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/elasticsearch/auditdataConfigSettings.json')
-rw-r--r--scripts/elasticsearch/auditdataConfigSettings.json82
1 files changed, 82 insertions, 0 deletions
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"
+ }
+ }
+ }
+ }
+ }
+
+ }
+}