summaryrefslogtreecommitdiffstats
path: root/scripts/elasticsearch/auditdataConfigSettings.json
blob: 912295b2398e8426b1d20cf12437646fc41c53be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
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"
            }
          }
        }
      }
    }

  }
}