-
Notifications
You must be signed in to change notification settings - Fork 1
/
verisign-schema.json
143 lines (143 loc) · 4.72 KB
/
verisign-schema.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://xyzid.avast.com/object1619081476.json",
"title": "Verisign schema",
"type": "object",
"properties": {
"verification": {
"type": "object",
"additionalProperties": false,
"properties": {
"errorHttpResponseCode": {
"type": "integer",
"minimum": 200,
"maximum": 600,
"description": "http response code for error code"
},
"additionalErrorMessage": {
"type": "string",
"description": "Message which is added to the error response to help user resolve problem",
"default": ""
},
"nonBlockingMode": {
"type": "boolean",
"description": "When true the verification does not block/stop a deployment, false otherwise",
"default": "false"
},
"paths": {
"type": "object",
"additionalProperties": false,
"properties": {
"caseSensitive": {
"type": "boolean",
"description": "Whether the paths should be considered in case-sensitive manner",
"default": true
},
"expandVirtualReposToLocal": {
"type": "boolean",
"description": "Paths with prefixed with virtual repos are expanded into local repos - eg. maven-local-virtual/.... is expanded to maven-local-x1/,maven-local-x2/,..",
"default": true
},
"enabledPath": {
"type": "array",
"description": "enable verification only for these Ant paths only, apply for all if empty/not defined. Verification is applied only for both enabled & not ignored paths. Ant path matching, see https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/util/AntPathMatcher.html",
"items": [
{
"type": "string"
}
]
},
"ignorePath": {
"description": "These paths are being ignored from verification. Ant path matching, see https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/util/AntPathMatcher.html",
"type": "array",
"items": [
{
"type": "string"
}
]
}
}
},
"jar": {
"type": "object",
"description": "JAR verification related properties",
"additionalProperties": false,
"required": [
"keystore", "extensions"
],
"properties": {
"enabled": {
"type": "boolean",
"description": "True if plugin feature should be enabled",
"default": true
},
"extensions": {
"type": "array",
"description": "for which extensions should be used JAR verification",
"items": [
{
"type": "string"
}
]
},
"keystore": {
"type": "object",
"properties": {
"path": {
"description": "Path to keystore PKCS12 file.",
"type": "string",
"default": ""
},
"password": {
"description": "Path to keystore password. It cannot be null",
"type": "string",
"default": ""
},
"aliases": {
"description": "Key alias(friendly name) in the keystore file",
"type": "array",
"items": [
{
"type": "string"
}
]
}
},
"required": [
"path",
"password",
"aliases"
],
"additionalProperties": false
}
}
},
"rpm": {
"properties": {
"enabled": {
"type": "boolean",
"description": "True if plugin feature should be enabled",
"default": true
},
"rpmCommand": {
"type": "string"
},
"pgpKeyIds": {
"description": "list of PGP key ids for which should be given rpm file valid",
"type": "array",
"items": {
"type": "string"
},
"minLength": 1
}
},
"required": ["pgpKeyIds"],
"additionalProperties": false
}
}
}
},
"required": [
"verification"
]
}