-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprovider-code-spec.json
119 lines (119 loc) · 3.21 KB
/
provider-code-spec.json
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"provider": {
"name": "panther"
},
"resources": [
{
"name": "httpsource",
"schema": {
"attributes": [
{
"name": "auth_bearer_token",
"string": {
"computed_optional_required": "computed_optional",
"description": "The authentication bearer token value of the http source. Used for Bearer auth method"
}
},
{
"name": "auth_header_key",
"string": {
"computed_optional_required": "computed_optional",
"description": "The authentication header key of the http source. Used for HMAC and SharedSecret auth methods"
}
},
{
"name": "auth_hmac_alg",
"string": {
"computed_optional_required": "computed_optional",
"description": "The authentication algorithm of the http source. Used for HMAC auth method"
}
},
{
"name": "auth_method",
"string": {
"computed_optional_required": "required",
"description": "The authentication method of the http source",
"validators": [
{
"custom": {
"imports": [
{
"path": "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
}
],
"schema_definition": "stringvalidator.OneOf(\n\"SharedSecret\",\n\"HMAC\",\n\"Bearer\",\n\"Basic\",\n\"None\",\n)"
}
}
]
}
},
{
"name": "auth_password",
"string": {
"computed_optional_required": "computed_optional",
"description": "The authentication header password of the http source. Used for Basic auth method"
}
},
{
"name": "auth_secret_value",
"string": {
"computed_optional_required": "computed_optional",
"description": "The authentication header secret value of the http source. Used for HMAC and SharedSecret auth methods"
}
},
{
"name": "auth_username",
"string": {
"computed_optional_required": "computed_optional",
"description": "The authentication header username of the http source. Used for Basic auth method"
}
},
{
"name": "integration_label",
"string": {
"computed_optional_required": "required",
"description": "The integration label (name)"
}
},
{
"name": "log_stream_type",
"string": {
"computed_optional_required": "required",
"description": "The log stream type",
"validators": [
{
"custom": {
"imports": [
{
"path": "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
}
],
"schema_definition": "stringvalidator.OneOf(\n\"Auto\",\n\"CloudWatchLogs\",\n\"JSON\",\n\"JsonArray\",\n\"Lines\",\n)"
}
}
]
}
},
{
"name": "log_types",
"list": {
"computed_optional_required": "required",
"element_type": {
"string": {}
},
"description": "The log types of the integration"
}
},
{
"name": "id",
"string": {
"computed_optional_required": "computed_optional",
"description": "ID of the http source to fetch"
}
}
]
}
}
],
"version": "0.1"
}