@datadog/create-apps 0.0.10 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -6
- package/dist/bin.js +101 -138
- package/dist/datadog-app.config.schema.json +54 -0
- package/package.json +1 -1
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://unpkg.com/@datadog/create-apps/dist/datadog-app.config.schema.json",
|
|
4
|
+
"title": "Datadog App Config",
|
|
5
|
+
"description": "Definition and configuration file for Datadog Apps.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["datadogSite", "id", "name"],
|
|
8
|
+
"additionalProperties": false,
|
|
9
|
+
"properties": {
|
|
10
|
+
"$schema": {
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "URL of the JSON schema for this file."
|
|
13
|
+
},
|
|
14
|
+
"datadogSite": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "The Datadog site (e.g. datadoghq.com, myorg.datadoghq.com). Mapped to auth.site in the vite plugin config."
|
|
17
|
+
},
|
|
18
|
+
"id": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"pattern": "^[0-9a-f]{32}$",
|
|
21
|
+
"description": "Permanent identifier for this app. Generated once during scaffolding — do NOT change it, and do NOT set it to the app's UUID from App Builder. Changing it will create a new app in Datadog under the new identifier."
|
|
22
|
+
},
|
|
23
|
+
"name": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "User-facing app name. Mapped to apps.name in the vite plugin config."
|
|
26
|
+
},
|
|
27
|
+
"description": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "Human-readable description of the app. Mapped to apps.description in the vite plugin config."
|
|
30
|
+
},
|
|
31
|
+
"selfService": {
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"default": false,
|
|
34
|
+
"description": "When true, the app appears in the Datadog self-service catalog."
|
|
35
|
+
},
|
|
36
|
+
"permissions": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"description": "Deployment and identity settings for the app.",
|
|
39
|
+
"additionalProperties": false,
|
|
40
|
+
"properties": {
|
|
41
|
+
"protectionLevel": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"enum": ["direct_publish", "approval_required"],
|
|
44
|
+
"description": "Controls whether publishing the app requires a second approver. 'direct_publish': any user with publish rights can deploy immediately. 'approval_required': a second user must approve before the app goes live."
|
|
45
|
+
},
|
|
46
|
+
"runAs": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"format": "uuid",
|
|
49
|
+
"description": "UUID of the service account the app's backend functions run as. When omitted the app runs as the uploading user. Only service accounts are accepted; arbitrary user UUIDs are rejected by the API."
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|