summaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-plugins/widgets/SimpleTCAPlugin-sparkcompute.json
blob: ea42d942130889945d2037b610d069099c64bdfe (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
{
  "metadata": {
    "spec-version": "1.0"
  },
  "configuration-groups": [
    {
      "label": "Simple TCA Transform Properties",
      "properties": [
        {
          "widget-type": "textbox",
          "label": "InputSchema field name that contains CEF Message",
          "name": "vesMessageFieldName"
        },
        {
          "widget-type": "textbox",
          "label": "TCA Policy JSON string",
          "name": "policyJson"
        },
        {
          "widget-type": "textbox",
          "label": "OutputSchema field name that will contain alert message",
          "name": "alertFieldName"
        },
        {
          "widget-type": "textbox",
          "label": "OutputSchema field name that will contain the TCA message type",
          "name": "messageTypeFieldName"
        },
        {
          "widget-type": "textbox",
          "label": "Enable Alert Output Format in CEF format",
          "name": "enableAlertCEFFormat",
          "widget-attributes": {
            "default": "false"
          }
        }
      ]
    }
  ],
  "outputs": [
    {
      "name": "schema",
      "label": "schema",
      "widget-type": "schema",
      "widget-attributes": {
        "schema-types": [
          "string"
        ],
        "schema-default-type": "string",
        "property-watch": "format"
      }
    }
  ]
}