diff options
Diffstat (limited to 'integrations/schemas')
-rw-r--r-- | integrations/schemas/authentication.json | 71 | ||||
-rw-r--r-- | integrations/schemas/distros.json | 16 |
2 files changed, 86 insertions, 1 deletions
diff --git a/integrations/schemas/authentication.json b/integrations/schemas/authentication.json new file mode 100644 index 000000000..bf302837a --- /dev/null +++ b/integrations/schemas/authentication.json @@ -0,0 +1,71 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "title": "Netdata authentication mechanism metadata.", + "oneOf": [ + { + "$ref": "#/$defs/entry" + }, + { + "type": "array", + "minLength": 1, + "items": { + "$ref": "#/$defs/entry" + } + } + ], + "$defs": { + "entry": { + "type": "object", + "description": "Data for a single authentication method.", + "properties": { + "id": { + "$ref": "./shared.json#/$defs/id" + }, + "meta": { + "$ref": "./shared.json#/$defs/instance" + }, + "keywords": { + "$ref": "./shared.json#/$defs/keywords" + }, + "overview": { + "type": "object", + "description": "General information about the authentication method.", + "properties": { + "authentication_description": { + "type": "string", + "description": "General description of what the authentication method does." + }, + "authentication_limitations": { + "type": "string", + "description": "Explanation of any limitations of the authentication method." + } + }, + "required": [ + "authentication_description", + "authentication_limitations" + ] + }, + "setup": { + "oneOf": [ + { + "$ref": "./shared.json#/$defs/short_setup" + }, + { + "$ref": "./shared.json#/$defs/full_setup" + } + ] + }, + "troubleshooting": { + "$ref": "./shared.json#/$defs/troubleshooting" + } + }, + "required": [ + "id", + "meta", + "keywords", + "overview", + "setup" + ] + } + } +} diff --git a/integrations/schemas/distros.json b/integrations/schemas/distros.json index 510408653..3cf576b66 100644 --- a/integrations/schemas/distros.json +++ b/integrations/schemas/distros.json @@ -77,6 +77,19 @@ } ] }, + "bundle_sentry": { + "description": "Set to true to build an Agent with Sentry telemetry from the CI.", + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "type": "string", + "pattern": "^[a-z][a-z0-9._-]*$" + } + ] + }, "base_image": { "type": "string", "description": "A string specifying the Docker image to be used for testing this platform.", @@ -146,7 +159,8 @@ "distro", "version", "support_type", - "notes" + "notes", + "bundle_sentry" ] } } |