@arbium/enterprise-agent-connect 0.1.2-dev.d2aa5ca → 0.2.1-dev.7b4e802
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 +19 -7
- package/dist/connectors/adestra/connector.json +336 -0
- package/dist/connectors/adobe-admin-console/connector.json +212 -0
- package/dist/connectors/argo-cd/connector.json +210 -0
- package/dist/connectors/automox/connector.json +376 -0
- package/dist/connectors/churnzero/connector.json +238 -0
- package/dist/connectors/confluence/connector.json +168 -0
- package/dist/connectors/cvent/connector.json +287 -0
- package/dist/connectors/datadog/connector.json +188 -0
- package/dist/connectors/drata/connector.json +447 -0
- package/dist/connectors/druva/connector.json +258 -0
- package/dist/connectors/dynamics-365/connector.json +16 -1
- package/dist/connectors/dynamics-365/index.d.ts +1 -4
- package/dist/connectors/dynamics-365/index.js.map +1 -1
- package/dist/connectors/entra/index.d.ts +1 -1
- package/dist/connectors/forsta-decipher/connector.json +164 -0
- package/dist/connectors/gitlab/connector.json +263 -0
- package/dist/connectors/gong/vendor.d.ts +1 -1
- package/dist/connectors/gong/vendor.js +24 -32
- package/dist/connectors/gong/vendor.js.map +1 -1
- package/dist/connectors/grafana/connector.json +162 -0
- package/dist/connectors/http/index.d.ts +7 -7
- package/dist/connectors/http/index.js +66 -9
- package/dist/connectors/http/index.js.map +1 -1
- package/dist/connectors/http/openapi.d.ts +62 -0
- package/dist/connectors/http/openapi.js +342 -0
- package/dist/connectors/http/openapi.js.map +1 -0
- package/dist/connectors/intercom/connector.json +249 -0
- package/dist/connectors/intune/index.d.ts +1 -1
- package/dist/connectors/jamf/vendor.js +5 -1
- package/dist/connectors/jamf/vendor.js.map +1 -1
- package/dist/connectors/jira/connector.json +3 -3
- package/dist/connectors/jira/vendor.d.ts +1 -1
- package/dist/connectors/jira/vendor.js +8 -2
- package/dist/connectors/jira/vendor.js.map +1 -1
- package/dist/connectors/lusha/connector.json +59 -0
- package/dist/connectors/lusha/index.d.ts +8 -0
- package/dist/connectors/lusha/index.js +7 -0
- package/dist/connectors/lusha/index.js.map +1 -0
- package/dist/connectors/lusha/tools.d.ts +2 -0
- package/dist/connectors/lusha/tools.js +113 -0
- package/dist/connectors/lusha/tools.js.map +1 -0
- package/dist/connectors/lusha/vendor.d.ts +4 -0
- package/dist/connectors/lusha/vendor.js +72 -0
- package/dist/connectors/lusha/vendor.js.map +1 -0
- package/dist/connectors/microsoft/client.d.ts +11 -3
- package/dist/connectors/microsoft/client.js +62 -8
- package/dist/connectors/microsoft/client.js.map +1 -1
- package/dist/connectors/netsuite/connector.json +4 -2
- package/dist/connectors/netsuite/vendor.d.ts +1 -1
- package/dist/connectors/netsuite/vendor.js +5 -6
- package/dist/connectors/netsuite/vendor.js.map +1 -1
- package/dist/connectors/odata/index.d.ts +1 -4
- package/dist/connectors/odata/index.js +12 -5
- package/dist/connectors/odata/index.js.map +1 -1
- package/dist/connectors/okta/connector.json +3 -2
- package/dist/connectors/okta/vendor.d.ts +1 -1
- package/dist/connectors/okta/vendor.js +7 -6
- package/dist/connectors/okta/vendor.js.map +1 -1
- package/dist/connectors/outlook-calendar/index.d.ts +1 -1
- package/dist/connectors/outlook-mail/index.d.ts +1 -1
- package/dist/connectors/pagerduty/connector.json +247 -0
- package/dist/connectors/qualys/connector.json +271 -0
- package/dist/connectors/safebase/connector.json +221 -0
- package/dist/connectors/salesforce/vendor.d.ts +1 -1
- package/dist/connectors/salesforce/vendor.js +9 -3
- package/dist/connectors/salesforce/vendor.js.map +1 -1
- package/dist/connectors/sap-s4hana/connector.json +1 -0
- package/dist/connectors/servicenow/vendor.d.ts +0 -1
- package/dist/connectors/servicenow/vendor.js +7 -10
- package/dist/connectors/servicenow/vendor.js.map +1 -1
- package/dist/connectors/sharepoint-files/connector.json +34 -3
- package/dist/connectors/sharepoint-files/documents.d.ts +7 -0
- package/dist/connectors/sharepoint-files/documents.js +212 -0
- package/dist/connectors/sharepoint-files/documents.js.map +1 -0
- package/dist/connectors/sharepoint-files/docx-worker.d.ts +7 -0
- package/dist/connectors/sharepoint-files/docx-worker.js +41 -0
- package/dist/connectors/sharepoint-files/docx-worker.js.map +1 -0
- package/dist/connectors/sharepoint-files/docx.d.ts +96 -0
- package/dist/connectors/sharepoint-files/docx.js +823 -0
- package/dist/connectors/sharepoint-files/docx.js.map +1 -0
- package/dist/connectors/sharepoint-files/index.d.ts +1 -4
- package/dist/connectors/sharepoint-files/index.js +2 -1
- package/dist/connectors/sharepoint-files/index.js.map +1 -1
- package/dist/connectors/sharepoint-files/ooxml.d.ts +19 -0
- package/dist/connectors/sharepoint-files/ooxml.js +179 -0
- package/dist/connectors/sharepoint-files/ooxml.js.map +1 -0
- package/dist/connectors/sharepoint-files/paging.d.ts +15 -0
- package/dist/connectors/sharepoint-files/paging.js +87 -0
- package/dist/connectors/sharepoint-files/paging.js.map +1 -0
- package/dist/connectors/sharepoint-files/parse-host.mjs +78 -0
- package/dist/connectors/sharepoint-files/pdf-worker.mjs +108 -0
- package/dist/connectors/sharepoint-files/pdf.d.ts +16 -0
- package/dist/connectors/sharepoint-files/pdf.js +19 -0
- package/dist/connectors/sharepoint-files/pdf.js.map +1 -0
- package/dist/connectors/sharepoint-files/sandbox.d.ts +19 -0
- package/dist/connectors/sharepoint-files/sandbox.js +176 -0
- package/dist/connectors/sharepoint-files/sandbox.js.map +1 -0
- package/dist/connectors/sharepoint-files/tools.d.ts +6 -0
- package/dist/connectors/sharepoint-files/tools.js +79 -4
- package/dist/connectors/sharepoint-files/tools.js.map +1 -1
- package/dist/connectors/slack/vendor.d.ts +1 -1
- package/dist/connectors/slack/vendor.js +32 -38
- package/dist/connectors/slack/vendor.js.map +1 -1
- package/dist/connectors/soap/index.d.ts +1 -4
- package/dist/connectors/soap/index.js +4 -3
- package/dist/connectors/soap/index.js.map +1 -1
- package/dist/connectors/sonarqube/connector.json +165 -0
- package/dist/connectors/sprout-social/connector.json +158 -0
- package/dist/connectors/sql/index.d.ts +1 -4
- package/dist/connectors/sql/index.js +2 -0
- package/dist/connectors/sql/index.js.map +1 -1
- package/dist/connectors/synthesia/connector.json +113 -0
- package/dist/connectors/teams/index.d.ts +1 -1
- package/dist/connectors/teams/tools.d.ts +6 -1
- package/dist/connectors/teams/tools.js +3 -2
- package/dist/connectors/teams/tools.js.map +1 -1
- package/dist/connectors/wordpress/connector.json +203 -0
- package/dist/connectors/workday/connector.json +6 -4
- package/dist/connectors/workday/vendor.d.ts +1 -1
- package/dist/connectors/workday/vendor.js +8 -4
- package/dist/connectors/workday/vendor.js.map +1 -1
- package/dist/connectors/zephyr/connector.json +192 -0
- package/dist/packages/connector-kit/src/common.d.ts +4 -5
- package/dist/packages/connector-kit/src/common.js +4 -1
- package/dist/packages/connector-kit/src/common.js.map +1 -1
- package/dist/packages/connector-kit/src/connector.d.ts +82 -34
- package/dist/packages/connector-kit/src/connector.js +163 -21
- package/dist/packages/connector-kit/src/connector.js.map +1 -1
- package/dist/packages/connector-kit/src/fetch.d.ts +6 -0
- package/dist/packages/connector-kit/src/fetch.js +44 -0
- package/dist/packages/connector-kit/src/fetch.js.map +1 -0
- package/dist/packages/connector-kit/src/index.d.ts +3 -3
- package/dist/packages/connector-kit/src/index.js +1 -0
- package/dist/packages/connector-kit/src/index.js.map +1 -1
- package/dist/packages/connector-kit/src/oauth.d.ts +3 -1
- package/dist/packages/connector-kit/src/oauth.js +16 -6
- package/dist/packages/connector-kit/src/oauth.js.map +1 -1
- package/dist/packages/connector-kit/src/types.d.ts +4 -1
- package/dist/packages/connector-kit/src/types.js.map +1 -1
- package/dist/packages/server/migrations/0008_internal_apps.sql +16 -0
- package/dist/packages/server/migrations/rollback/to-legacy.sql +2 -0
- package/dist/packages/server/src/api.d.ts +2486 -257
- package/dist/packages/server/src/api.js +84 -1
- package/dist/packages/server/src/api.js.map +1 -1
- package/dist/packages/server/src/app.js +26 -1
- package/dist/packages/server/src/app.js.map +1 -1
- package/dist/packages/server/src/builtin.d.ts +7 -3
- package/dist/packages/server/src/builtin.js +32 -0
- package/dist/packages/server/src/builtin.js.map +1 -1
- package/dist/packages/server/src/events/runtime.js +17 -10
- package/dist/packages/server/src/events/runtime.js.map +1 -1
- package/dist/packages/server/src/events/store.d.ts +2 -2
- package/dist/packages/server/src/index.d.ts +3 -3
- package/dist/packages/server/src/index.js +32 -22
- package/dist/packages/server/src/index.js.map +1 -1
- package/dist/packages/server/src/service.d.ts +1134 -14
- package/dist/packages/server/src/service.js +266 -21
- package/dist/packages/server/src/service.js.map +1 -1
- package/dist/packages/server/src/store.d.ts +43 -4
- package/dist/packages/server/src/store.js +79 -0
- package/dist/packages/server/src/store.js.map +1 -1
- package/package.json +4 -1
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "argo-cd",
|
|
3
|
+
"name": "Argo CD",
|
|
4
|
+
"description": "Let agents read your Argo CD applications: whether each is synced and healthy, what was last deployed, the Kubernetes resources behind it and their recent events. For release checks and failed deployment triage.",
|
|
5
|
+
"logo": "/brand/registry/argo-cd.svg",
|
|
6
|
+
"identity": "An Argo CD local account that can only sign in with an API token, bound to a read-only role.",
|
|
7
|
+
"accountKey": "host",
|
|
8
|
+
"connectionKind": "guided",
|
|
9
|
+
"setup": [
|
|
10
|
+
{
|
|
11
|
+
"title": "Create a read-only account for agents",
|
|
12
|
+
"body": "Argo CD accounts and roles live in its argocd-cm and argocd-rbac-cm ConfigMaps. The first command adds a local account that can only use API tokens. The second opens argocd-rbac-cm: under data, add the line g, ai-agents, role:readonly to policy.csv to give it the built-in read-only role. To keep it to some Argo CD projects instead, bind it to a role that may only get applications in those projects, such as p, role:agents, applications, get, payments/*, allow.",
|
|
13
|
+
"link": {
|
|
14
|
+
"label": "Argo CD: user management",
|
|
15
|
+
"href": "https://argo-cd.readthedocs.io/en/stable/operator-manual/user-management/"
|
|
16
|
+
},
|
|
17
|
+
"clickUnavailable": true,
|
|
18
|
+
"copy": [
|
|
19
|
+
"kubectl -n argocd patch configmap argocd-cm --type merge -p '{\"data\":{\"accounts.ai-agents\":\"apiKey\"}}'",
|
|
20
|
+
"kubectl -n argocd edit configmap argocd-rbac-cm"
|
|
21
|
+
],
|
|
22
|
+
"shell": "bash"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"title": "Create an API token for the account",
|
|
26
|
+
"body": "Sign in to the argocd command line as an admin and create a token for the account. You can test the token with the curl line: it shows the account's name and changes nothing.",
|
|
27
|
+
"link": {
|
|
28
|
+
"label": "Argo CD: RBAC configuration",
|
|
29
|
+
"href": "https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/"
|
|
30
|
+
},
|
|
31
|
+
"clickUnavailable": true,
|
|
32
|
+
"copy": [
|
|
33
|
+
"argocd account generate-token --account ai-agents",
|
|
34
|
+
"curl -s -H \"Authorization: Bearer $ARGOCD_TOKEN\" \"https://argocd.example.com/api/v1/session/userinfo\""
|
|
35
|
+
],
|
|
36
|
+
"shell": "bash"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"afterConnect": [],
|
|
40
|
+
"fields": [
|
|
41
|
+
{
|
|
42
|
+
"id": "host",
|
|
43
|
+
"label": "Argo CD address",
|
|
44
|
+
"help": "The host name of your Argo CD, such as argocd.example.com, without https://.",
|
|
45
|
+
"placeholder": "argocd.example.com",
|
|
46
|
+
"secret": false
|
|
47
|
+
},
|
|
48
|
+
{ "id": "token", "label": "API token", "secret": true }
|
|
49
|
+
],
|
|
50
|
+
"capabilities": [
|
|
51
|
+
{
|
|
52
|
+
"id": "read",
|
|
53
|
+
"label": "Read applications",
|
|
54
|
+
"description": "List applications with their sync and health status, read one application, its resource tree, its Kubernetes events and the commit behind a deployed revision. Lists projects.",
|
|
55
|
+
"required": true,
|
|
56
|
+
"note": "Read-only. Reaches every application the account's role allows unless you keep a key to chosen projects.",
|
|
57
|
+
"scopes": [],
|
|
58
|
+
"permissions": [],
|
|
59
|
+
"tools": [
|
|
60
|
+
"argocd_list_applications",
|
|
61
|
+
"argocd_get_application",
|
|
62
|
+
"argocd_get_resource_tree",
|
|
63
|
+
"argocd_list_events",
|
|
64
|
+
"argocd_get_revision_metadata"
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
],
|
|
68
|
+
"limits": [
|
|
69
|
+
{
|
|
70
|
+
"id": "projects",
|
|
71
|
+
"label": "Argo CD projects",
|
|
72
|
+
"help": "Optional: only applications in these Argo CD projects. Leave empty for every project the account can read.",
|
|
73
|
+
"kind": "list",
|
|
74
|
+
"required": false,
|
|
75
|
+
"pattern": "^[A-Za-z0-9._-]{1,253}$"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"verify": {
|
|
79
|
+
"method": "GET",
|
|
80
|
+
"path": "/api/v1/session/userinfo",
|
|
81
|
+
"label": "Argo CD account",
|
|
82
|
+
"show": "username"
|
|
83
|
+
},
|
|
84
|
+
"discover": {
|
|
85
|
+
"method": "GET",
|
|
86
|
+
"path": "/api/v1/projects",
|
|
87
|
+
"label": "Argo CD projects",
|
|
88
|
+
"show": "items[].metadata.name"
|
|
89
|
+
},
|
|
90
|
+
"revoke": "Delete the account's token with argocd account delete-token --account ai-agents <token id>, or remove the accounts.ai-agents line from argocd-cm. Agents lose access to Argo CD at once.",
|
|
91
|
+
"http": {
|
|
92
|
+
"baseUrl": "https://{host}",
|
|
93
|
+
"auth": { "type": "bearer", "token": "token" },
|
|
94
|
+
"tools": [
|
|
95
|
+
{
|
|
96
|
+
"name": "argocd_list_applications",
|
|
97
|
+
"description": "List applications with their project, destination, sync status, health and last operation.",
|
|
98
|
+
"method": "GET",
|
|
99
|
+
"path": "/api/v1/applications",
|
|
100
|
+
"params": {
|
|
101
|
+
"projects": {
|
|
102
|
+
"type": "array",
|
|
103
|
+
"items": "string",
|
|
104
|
+
"description": "Only applications in these Argo CD projects",
|
|
105
|
+
"in": "query",
|
|
106
|
+
"required": false,
|
|
107
|
+
"limit": "projects"
|
|
108
|
+
},
|
|
109
|
+
"selector": { "type": "string", "description": "A Kubernetes label selector, such as team=payments", "in": "query", "required": false },
|
|
110
|
+
"repo": { "type": "string", "description": "Only applications deployed from this Git repository address", "in": "query", "required": false }
|
|
111
|
+
},
|
|
112
|
+
"result": {
|
|
113
|
+
"items": "items",
|
|
114
|
+
"fields": [
|
|
115
|
+
"metadata.name",
|
|
116
|
+
"spec.project",
|
|
117
|
+
"spec.destination.server",
|
|
118
|
+
"spec.destination.namespace",
|
|
119
|
+
"status.sync.status",
|
|
120
|
+
"status.sync.revision",
|
|
121
|
+
"status.health.status",
|
|
122
|
+
"status.operationState.phase",
|
|
123
|
+
"status.operationState.finishedAt",
|
|
124
|
+
"status.reconciledAt"
|
|
125
|
+
]
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "argocd_get_application",
|
|
130
|
+
"description": "Read one application: where it deploys from and to, its sync and health status, conditions such as errors, the last sync operation and the deployment history.",
|
|
131
|
+
"method": "GET",
|
|
132
|
+
"path": "/api/v1/applications/{name}",
|
|
133
|
+
"params": { "name": { "type": "string", "description": "The application name", "in": "path" } },
|
|
134
|
+
"answerLimits": [{ "field": "spec.project", "limit": "projects" }],
|
|
135
|
+
"result": {
|
|
136
|
+
"fields": [
|
|
137
|
+
"metadata.name",
|
|
138
|
+
"spec",
|
|
139
|
+
"status.sync",
|
|
140
|
+
"status.health",
|
|
141
|
+
"status.conditions",
|
|
142
|
+
"status.operationState",
|
|
143
|
+
"status.history",
|
|
144
|
+
"status.summary",
|
|
145
|
+
"status.reconciledAt"
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "argocd_get_resource_tree",
|
|
151
|
+
"description": "List the Kubernetes resources an application manages, with each one's health, to find what is failing.",
|
|
152
|
+
"method": "GET",
|
|
153
|
+
"path": "/api/v1/applications/{name}/resource-tree",
|
|
154
|
+
"params": {
|
|
155
|
+
"name": { "type": "string", "description": "The application name", "in": "path" },
|
|
156
|
+
"project": {
|
|
157
|
+
"type": "string",
|
|
158
|
+
"description": "The application's Argo CD project; Argo CD answers not found when the application is in another",
|
|
159
|
+
"in": "query",
|
|
160
|
+
"required": false,
|
|
161
|
+
"limit": "projects"
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"result": {
|
|
165
|
+
"items": "nodes",
|
|
166
|
+
"fields": ["kind", "name", "namespace", "health.status", "health.message", "images", "createdAt"]
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "argocd_list_events",
|
|
171
|
+
"description": "List recent Kubernetes events for an application, or for one of its resources, such as failed pulls or crash loops.",
|
|
172
|
+
"method": "GET",
|
|
173
|
+
"path": "/api/v1/applications/{name}/events",
|
|
174
|
+
"params": {
|
|
175
|
+
"name": { "type": "string", "description": "The application name", "in": "path" },
|
|
176
|
+
"project": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"description": "The application's Argo CD project; Argo CD answers not found when the application is in another",
|
|
179
|
+
"in": "query",
|
|
180
|
+
"required": false,
|
|
181
|
+
"limit": "projects"
|
|
182
|
+
},
|
|
183
|
+
"resource_name": { "type": "string", "description": "Only events for this resource name", "in": "query", "name": "resourceName", "required": false },
|
|
184
|
+
"resource_namespace": { "type": "string", "description": "That resource's namespace", "in": "query", "name": "resourceNamespace", "required": false }
|
|
185
|
+
},
|
|
186
|
+
"result": {
|
|
187
|
+
"items": "items",
|
|
188
|
+
"fields": ["type", "reason", "message", "involvedObject.kind", "involvedObject.name", "count", "lastTimestamp"]
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "argocd_get_revision_metadata",
|
|
193
|
+
"description": "Read the commit behind a deployed revision: author, date, message and tags.",
|
|
194
|
+
"method": "GET",
|
|
195
|
+
"path": "/api/v1/applications/{name}/revisions/{revision}/metadata",
|
|
196
|
+
"params": {
|
|
197
|
+
"name": { "type": "string", "description": "The application name", "in": "path" },
|
|
198
|
+
"revision": { "type": "string", "description": "The revision, such as status.sync.revision of the application", "in": "path" },
|
|
199
|
+
"project": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"description": "The application's Argo CD project; Argo CD answers not found when the application is in another",
|
|
202
|
+
"in": "query",
|
|
203
|
+
"required": false,
|
|
204
|
+
"limit": "projects"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
}
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "automox",
|
|
3
|
+
"name": "Automox",
|
|
4
|
+
"description": "Let agents read your Automox devices, their missing patches and software, policies and compliance, and, if you allow it, ask a device to scan itself again. For helpdesk triage, compliance checks and troubleshooting.",
|
|
5
|
+
"logo": "/brand/registry/automox.svg",
|
|
6
|
+
"identity": "An Automox organization API key. It can do whatever its owner's role allows in that organization, so create it as a user whose role only reads devices, packages, policies and reports.",
|
|
7
|
+
"accountKey": "host",
|
|
8
|
+
"connectionKind": "guided",
|
|
9
|
+
"setup": [
|
|
10
|
+
{
|
|
11
|
+
"title": "Use an account that can only read",
|
|
12
|
+
"body": "An Automox API key acts with its owner's role. Create the key as a user, or a service user, whose role has read permissions for the organization, devices, packages, policies and reports, and nothing else. Add device manage permission only if agents may ask devices to scan. The user also needs Personal API Key: Manage to create its own key.",
|
|
13
|
+
"link": {
|
|
14
|
+
"label": "Automox: using API keys and their permissions",
|
|
15
|
+
"href": "https://docs.automox.com/product/Developer/Using_Global_API_Keys.htm"
|
|
16
|
+
},
|
|
17
|
+
"click": [
|
|
18
|
+
"In the Automox console, sign in as the user agents should act as.",
|
|
19
|
+
"Check that its role grants Organization: Read, Devices: Read, Packages: Read, Policies: Read and Reports: Read."
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"title": "Create an API key",
|
|
24
|
+
"body": "Create the key while signed in as the user from the step before. A key can be given an expiration date; Automox stops it working then.",
|
|
25
|
+
"link": {
|
|
26
|
+
"label": "Automox: managing keys",
|
|
27
|
+
"href": "https://docs.automox.com/product/Product_Documentation/Settings/Managing_Keys.htm"
|
|
28
|
+
},
|
|
29
|
+
"click": [
|
|
30
|
+
"Go to Settings, then Secrets & Keys.",
|
|
31
|
+
"Under Organization API Keys, select Add.",
|
|
32
|
+
"Enter a name, optionally an expiration date, and select Create.",
|
|
33
|
+
"Select Copy next to the key."
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"afterConnect": [],
|
|
38
|
+
"fields": [
|
|
39
|
+
{
|
|
40
|
+
"id": "api_key",
|
|
41
|
+
"label": "API key",
|
|
42
|
+
"secret": true
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"capabilities": [
|
|
46
|
+
{
|
|
47
|
+
"id": "read",
|
|
48
|
+
"label": "Read devices and compliance",
|
|
49
|
+
"description": "List devices and read one: operating system, last seen, missing patches and policy status. Read a device's software and patches, the devices that need attention, policies and how many devices each policy has made compliant.",
|
|
50
|
+
"required": true,
|
|
51
|
+
"note": "An organization API key reaches only the organization it was created in. Read-only.",
|
|
52
|
+
"scopes": [],
|
|
53
|
+
"permissions": [],
|
|
54
|
+
"tools": [
|
|
55
|
+
"automox_list_devices",
|
|
56
|
+
"automox_get_device",
|
|
57
|
+
"automox_list_device_software",
|
|
58
|
+
"automox_devices_needing_attention",
|
|
59
|
+
"automox_list_policies",
|
|
60
|
+
"automox_policy_compliance"
|
|
61
|
+
]
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": "scan",
|
|
65
|
+
"label": "Scan devices",
|
|
66
|
+
"description": "Ask a device to scan itself now, so its patches and software are up to date before an agent looks again.",
|
|
67
|
+
"note": "Needs Devices: Manage in the key owner's role. A scan installs nothing and does not restart the device.",
|
|
68
|
+
"scopes": [],
|
|
69
|
+
"permissions": [],
|
|
70
|
+
"tools": ["automox_scan_device"]
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"limits": [
|
|
74
|
+
{
|
|
75
|
+
"id": "organizations",
|
|
76
|
+
"label": "Organizations",
|
|
77
|
+
"help": "Optional: only these Automox organizations, by their numeric id (shown under Automox organizations after connecting). Leave empty for every organization the key can see.",
|
|
78
|
+
"kind": "list",
|
|
79
|
+
"required": false,
|
|
80
|
+
"pattern": "^\\d{1,20}$"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"verify": {
|
|
84
|
+
"method": "GET",
|
|
85
|
+
"path": "/orgs",
|
|
86
|
+
"label": "Automox organizations",
|
|
87
|
+
"show": "[].id",
|
|
88
|
+
"name": "[].name"
|
|
89
|
+
},
|
|
90
|
+
"discover": {
|
|
91
|
+
"method": "GET",
|
|
92
|
+
"path": "/orgs",
|
|
93
|
+
"label": "Automox organizations",
|
|
94
|
+
"show": "[].id",
|
|
95
|
+
"name": "[].name"
|
|
96
|
+
},
|
|
97
|
+
"revoke": "In Automox, go to Settings, then Secrets & Keys, and delete the key. Agents lose access to Automox at once.",
|
|
98
|
+
"http": {
|
|
99
|
+
"baseUrl": "https://console.automox.com/api",
|
|
100
|
+
"auth": { "type": "bearer", "token": "api_key" },
|
|
101
|
+
"tools": [
|
|
102
|
+
{
|
|
103
|
+
"name": "automox_list_devices",
|
|
104
|
+
"description": "List the devices in an Automox organization, 50 at a time by default. Filter by group, policy, pending patches or whether a policy manages them. Pass page 1, 2 and so on for more; a page shorter than limit is the last.",
|
|
105
|
+
"method": "GET",
|
|
106
|
+
"path": "/servers",
|
|
107
|
+
"params": {
|
|
108
|
+
"org_id": {
|
|
109
|
+
"type": "integer",
|
|
110
|
+
"description": "The Automox organization id",
|
|
111
|
+
"in": "query",
|
|
112
|
+
"name": "o",
|
|
113
|
+
"limit": "organizations"
|
|
114
|
+
},
|
|
115
|
+
"group_id": {
|
|
116
|
+
"type": "integer",
|
|
117
|
+
"description": "Only devices in this server group",
|
|
118
|
+
"in": "query",
|
|
119
|
+
"name": "groupId",
|
|
120
|
+
"required": false
|
|
121
|
+
},
|
|
122
|
+
"policy_id": {
|
|
123
|
+
"type": "integer",
|
|
124
|
+
"description": "Only devices linked to this policy",
|
|
125
|
+
"in": "query",
|
|
126
|
+
"name": "policyId",
|
|
127
|
+
"required": false
|
|
128
|
+
},
|
|
129
|
+
"pending": {
|
|
130
|
+
"type": "integer",
|
|
131
|
+
"enum": [0, 1],
|
|
132
|
+
"description": "1: only devices with patches waiting to install; 0: only devices without",
|
|
133
|
+
"in": "query",
|
|
134
|
+
"required": false
|
|
135
|
+
},
|
|
136
|
+
"managed": {
|
|
137
|
+
"type": "integer",
|
|
138
|
+
"enum": [0, 1],
|
|
139
|
+
"description": "1: only devices a policy manages; 0: only unmanaged devices",
|
|
140
|
+
"in": "query",
|
|
141
|
+
"required": false
|
|
142
|
+
},
|
|
143
|
+
"limit": {
|
|
144
|
+
"type": "integer",
|
|
145
|
+
"description": "How many devices per page, 1 to 500",
|
|
146
|
+
"in": "query",
|
|
147
|
+
"default": 50
|
|
148
|
+
},
|
|
149
|
+
"page": {
|
|
150
|
+
"type": "integer",
|
|
151
|
+
"description": "The page, starting at 0",
|
|
152
|
+
"in": "query",
|
|
153
|
+
"default": 0
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"result": {
|
|
157
|
+
"fields": [
|
|
158
|
+
"id",
|
|
159
|
+
"uuid",
|
|
160
|
+
"name",
|
|
161
|
+
"display_name",
|
|
162
|
+
"organization_id",
|
|
163
|
+
"server_group_id",
|
|
164
|
+
"os_family",
|
|
165
|
+
"os_name",
|
|
166
|
+
"os_version",
|
|
167
|
+
"agent_version",
|
|
168
|
+
"connected",
|
|
169
|
+
"last_disconnect_time",
|
|
170
|
+
"last_refresh_time",
|
|
171
|
+
"needs_reboot",
|
|
172
|
+
"needs_attention",
|
|
173
|
+
"pending_patches",
|
|
174
|
+
"compliant",
|
|
175
|
+
"status",
|
|
176
|
+
"serial_number",
|
|
177
|
+
"last_logged_in_user",
|
|
178
|
+
"tags"
|
|
179
|
+
]
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "automox_get_device",
|
|
184
|
+
"description": "Read one device: its operating system, network addresses, last scan, missing patches, linked policies and their status, and hardware details.",
|
|
185
|
+
"method": "GET",
|
|
186
|
+
"path": "/servers/{device_id}",
|
|
187
|
+
"params": {
|
|
188
|
+
"device_id": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"description": "The device's numeric id or its UUID",
|
|
191
|
+
"in": "path"
|
|
192
|
+
},
|
|
193
|
+
"org_id": {
|
|
194
|
+
"type": "integer",
|
|
195
|
+
"description": "The Automox organization id",
|
|
196
|
+
"in": "query",
|
|
197
|
+
"name": "o",
|
|
198
|
+
"limit": "organizations"
|
|
199
|
+
},
|
|
200
|
+
"include_details": {
|
|
201
|
+
"type": "integer",
|
|
202
|
+
"enum": [0, 1],
|
|
203
|
+
"description": "1 to include hardware and system details",
|
|
204
|
+
"in": "query",
|
|
205
|
+
"default": 1
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "automox_list_device_software",
|
|
211
|
+
"description": "List a device's software and patches: what is installed, what is waiting to install, severity and CVEs, 100 at a time by default. Pass page 1, 2 and so on for more.",
|
|
212
|
+
"method": "GET",
|
|
213
|
+
"path": "/servers/{device_id}/packages",
|
|
214
|
+
"params": {
|
|
215
|
+
"device_id": {
|
|
216
|
+
"type": "integer",
|
|
217
|
+
"description": "The device's numeric id",
|
|
218
|
+
"in": "path"
|
|
219
|
+
},
|
|
220
|
+
"org_id": {
|
|
221
|
+
"type": "integer",
|
|
222
|
+
"description": "The Automox organization id",
|
|
223
|
+
"in": "query",
|
|
224
|
+
"name": "o",
|
|
225
|
+
"limit": "organizations"
|
|
226
|
+
},
|
|
227
|
+
"limit": {
|
|
228
|
+
"type": "integer",
|
|
229
|
+
"description": "How many per page, 1 to 500",
|
|
230
|
+
"in": "query",
|
|
231
|
+
"default": 100
|
|
232
|
+
},
|
|
233
|
+
"page": {
|
|
234
|
+
"type": "integer",
|
|
235
|
+
"description": "The page, starting at 0",
|
|
236
|
+
"in": "query",
|
|
237
|
+
"default": 0
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"result": {
|
|
241
|
+
"fields": [
|
|
242
|
+
"display_name",
|
|
243
|
+
"name",
|
|
244
|
+
"version",
|
|
245
|
+
"installed",
|
|
246
|
+
"ignored",
|
|
247
|
+
"severity",
|
|
248
|
+
"cves",
|
|
249
|
+
"cve_score",
|
|
250
|
+
"requires_reboot",
|
|
251
|
+
"patch_scope",
|
|
252
|
+
"create_time"
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "automox_devices_needing_attention",
|
|
258
|
+
"description": "The devices that need attention in an organization, with counts by vulnerability severity.",
|
|
259
|
+
"method": "GET",
|
|
260
|
+
"path": "/reports/needs-attention",
|
|
261
|
+
"params": {
|
|
262
|
+
"org_id": {
|
|
263
|
+
"type": "integer",
|
|
264
|
+
"description": "The Automox organization id",
|
|
265
|
+
"in": "query",
|
|
266
|
+
"name": "o",
|
|
267
|
+
"limit": "organizations"
|
|
268
|
+
},
|
|
269
|
+
"group_id": {
|
|
270
|
+
"type": "integer",
|
|
271
|
+
"description": "Only devices in this server group",
|
|
272
|
+
"in": "query",
|
|
273
|
+
"name": "groupId",
|
|
274
|
+
"required": false
|
|
275
|
+
},
|
|
276
|
+
"limit": {
|
|
277
|
+
"type": "integer",
|
|
278
|
+
"description": "How many devices to return",
|
|
279
|
+
"in": "query",
|
|
280
|
+
"default": 100
|
|
281
|
+
},
|
|
282
|
+
"offset": {
|
|
283
|
+
"type": "integer",
|
|
284
|
+
"description": "How many devices to skip, for the next page",
|
|
285
|
+
"in": "query",
|
|
286
|
+
"default": 0
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "automox_list_policies",
|
|
292
|
+
"description": "List an organization's policies: patch, required software and custom policies, with their schedules and settings. Pass page 1, 2 and so on for more.",
|
|
293
|
+
"method": "GET",
|
|
294
|
+
"path": "/policies",
|
|
295
|
+
"params": {
|
|
296
|
+
"org_id": {
|
|
297
|
+
"type": "integer",
|
|
298
|
+
"description": "The Automox organization id",
|
|
299
|
+
"in": "query",
|
|
300
|
+
"name": "o",
|
|
301
|
+
"limit": "organizations"
|
|
302
|
+
},
|
|
303
|
+
"limit": {
|
|
304
|
+
"type": "integer",
|
|
305
|
+
"description": "How many per page, 1 to 500",
|
|
306
|
+
"in": "query",
|
|
307
|
+
"default": 100
|
|
308
|
+
},
|
|
309
|
+
"page": {
|
|
310
|
+
"type": "integer",
|
|
311
|
+
"description": "The page, starting at 0",
|
|
312
|
+
"in": "query",
|
|
313
|
+
"default": 0
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"result": {
|
|
317
|
+
"fields": [
|
|
318
|
+
"id",
|
|
319
|
+
"name",
|
|
320
|
+
"policy_type_name",
|
|
321
|
+
"status",
|
|
322
|
+
"notes",
|
|
323
|
+
"server_groups",
|
|
324
|
+
"server_count",
|
|
325
|
+
"schedule_days",
|
|
326
|
+
"schedule_time",
|
|
327
|
+
"create_time"
|
|
328
|
+
]
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "automox_policy_compliance",
|
|
333
|
+
"description": "For each policy in an organization, how many devices are compliant, not compliant and pending.",
|
|
334
|
+
"method": "GET",
|
|
335
|
+
"path": "/policystats",
|
|
336
|
+
"params": {
|
|
337
|
+
"org_id": {
|
|
338
|
+
"type": "integer",
|
|
339
|
+
"description": "The Automox organization id",
|
|
340
|
+
"in": "query",
|
|
341
|
+
"name": "o",
|
|
342
|
+
"limit": "organizations"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "automox_scan_device",
|
|
348
|
+
"description": "Ask a device to scan itself now. It reports its software and missing patches again the next time it checks in. Installs nothing.",
|
|
349
|
+
"method": "POST",
|
|
350
|
+
"path": "/servers/{device_id}/queues",
|
|
351
|
+
"params": {
|
|
352
|
+
"device_id": {
|
|
353
|
+
"type": "integer",
|
|
354
|
+
"description": "The device's numeric id",
|
|
355
|
+
"in": "path"
|
|
356
|
+
},
|
|
357
|
+
"org_id": {
|
|
358
|
+
"type": "integer",
|
|
359
|
+
"description": "The Automox organization id",
|
|
360
|
+
"in": "query",
|
|
361
|
+
"name": "o",
|
|
362
|
+
"limit": "organizations"
|
|
363
|
+
},
|
|
364
|
+
"command": {
|
|
365
|
+
"type": "string",
|
|
366
|
+
"enum": ["GetOS"],
|
|
367
|
+
"description": "GetOS: scan the device",
|
|
368
|
+
"in": "body",
|
|
369
|
+
"name": "command_type_name",
|
|
370
|
+
"default": "GetOS"
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
}
|
|
376
|
+
}
|