@nuvlore/extension-bds 0.1.1 → 0.1.2

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.
Files changed (31) hide show
  1. package/package.json +4 -16
  2. package/vendor/extension-read-only-toolkit/LICENSE +0 -202
  3. package/vendor/extension-read-only-toolkit/README.md +0 -29
  4. package/vendor/extension-read-only-toolkit/package.json +0 -46
  5. package/vendor/extension-read-only-toolkit/src/devops-data-paths.mjs +0 -222
  6. package/vendor/extension-read-only-toolkit/src/devops-diagnostics.mjs +0 -440
  7. package/vendor/extension-read-only-toolkit/src/enterprise-api-read.mjs +0 -180
  8. package/vendor/extension-read-only-toolkit/src/read-only-command-pack.mjs +0 -1
  9. package/vendor/extension-read-only-toolkit/src/read-only-plan.mjs +0 -45
  10. package/vendor/extension-read-only-toolkit/src/read-only-shell-policy.d.mts +0 -26
  11. package/vendor/extension-read-only-toolkit/src/read-only-shell-policy.mjs +0 -170
  12. package/vendor/extension-workday-infra-access/LICENSE +0 -202
  13. package/vendor/extension-workday-infra-access/README.md +0 -3
  14. package/vendor/extension-workday-infra-access/agents/workday-infra-access-readonly.yaml +0 -183
  15. package/vendor/extension-workday-infra-access/package.json +0 -49
  16. package/vendor/extension-workday-infra-access/skills/workday-infra-access/SKILL.md +0 -102
  17. package/vendor/extension-workday-infra-access/skills/workday-infra-access/references/access-boundary-runbook.md +0 -43
  18. package/vendor/extension-workday-infra-access/skills/workday-infra-access/references/access-runbook.md +0 -15
  19. package/vendor/extension-workday-infra-access/skills/workday-infra-access/references/access-scylla-cloud-runbook.md +0 -39
  20. package/vendor/extension-workday-infra-access/skills/workday-infra-access/references/access-spc-argo-runbook.md +0 -99
  21. package/vendor/extension-workday-infra-access/src/workday-access-profiles.mjs +0 -194
  22. package/vendor/extension-workday-infra-access/tools/aws_cust_federated_readonly_command_pack.mjs +0 -234
  23. package/vendor/extension-workday-infra-access/tools/gcp_readonly_command_pack.mjs +0 -167
  24. package/vendor/extension-workday-infra-access/tools/public_cloud_access_status.mjs +0 -48
  25. package/vendor/extension-workday-infra-access/tools/workday_boundary_login.mjs +0 -460
  26. package/vendor/extension-workday-infra-access/tools/workday_private_cloud_sudo_readonly_command.mjs +0 -386
  27. package/vendor/extension-workday-infra-access/tools/workday_public_cloud_environment_map.mjs +0 -189
  28. package/vendor/extension-workday-infra-access/tools/workday_public_cloud_kubernetes_read.mjs +0 -297
  29. package/vendor/extension-workday-infra-access/tools/workday_public_cloud_spc_login.mjs +0 -505
  30. package/vendor/extension-workday-infra-access/tools/workday_spc_argo_readonly_command_pack.mjs +0 -215
  31. package/vendor/extension-workday-infra-access/workflows/public-cloud-readonly-investigation.js +0 -99
@@ -1,170 +0,0 @@
1
- export const READ_ONLY_ALLOWED_TOOLS = [
2
- "Read",
3
- "Glob",
4
- "Grep"
5
- ];
6
-
7
- export const READ_ONLY_DISALLOWED_TOOLS = [
8
- "Agent",
9
- "Task",
10
- "TaskCreate",
11
- "Write",
12
- "Edit",
13
- "NotebookEdit",
14
- "TodoWrite",
15
- "ExitPlanMode",
16
- "EnterWorktree",
17
- "WebFetch",
18
- "WebSearch",
19
- "AskUserQuestion"
20
- ];
21
-
22
- export const MUTATING_SHELL_TOKENS = [
23
- /\bapply\b/i,
24
- /\bcreate\b/i,
25
- /\bdelete\b/i,
26
- /\bdestroy\b/i,
27
- /\bedit\b/i,
28
- /\binstall\b/i,
29
- /\bpatch\b/i,
30
- /\bpush\b/i,
31
- /\breplace\b/i,
32
- /\brestart\b/i,
33
- /\brollout\s+(restart|undo)\b/i,
34
- /\brm\b/i,
35
- /\bscale\b/i,
36
- /\bset\b/i,
37
- /\bstart\b/i,
38
- /\bstop\b/i,
39
- /\btaint\b/i,
40
- /\buntaint\b/i,
41
- /\bupgrade\b/i,
42
- /\bwrite\b/i,
43
- /\bchmod\b/i,
44
- /\bchown\b/i,
45
- /\bmv\b/i,
46
- /\bcp\b/i,
47
- /\bmkdir\b/i,
48
- /\btouch\b/i,
49
- /\btee\b/i,
50
- /\bcurl\b.*\|\s*(sh|bash)\b/i,
51
- /\bwget\b.*\|\s*(sh|bash)\b/i,
52
- /(^|[^<])>(?!\s*&\d)/,
53
- />>/,
54
- /\|\s*(xargs\s+)?(sh|bash|kubectl\s+apply|terraform\s+apply|helm\s+upgrade|rm|tee)\b/i,
55
- /(^|[^&|]);\s*/,
56
- /&&|\|\|/,
57
- /`|\$\(/,
58
- /\b--write\b/i,
59
- /\b--force\b/i,
60
- /\b--yes\b|\b-y\b/i
61
- ];
62
-
63
- export const READ_ONLY_COMMAND_PATTERNS = [
64
- /^\s*pwd\s*$/,
65
- /^\s*ls(\s|$)/,
66
- /^\s*find\s+/,
67
- /^\s*(rg|grep)\s+/,
68
- /^\s*(cat|head|tail|sed|awk|wc)\s+/,
69
- /^\s*curl\s+-k\s+-sS\s+-o\s+\/dev\/null\s+-w\s+'[A-Za-z0-9_=%{}:./ -]+\\n'\s+https:\/\/[A-Za-z0-9_.:-]+\/[A-Za-z0-9_./:@%+=,~-]+(\s|$)/,
70
- /^\s*hostname(\s|$)/,
71
- /^\s*command\s+-v\s+/,
72
- /^\s*klist(\s|$)/,
73
- /^\s*git\s+(status|diff|log|show|branch|remote|rev-parse|describe|ls-files)(\s|$)/,
74
- /^\s*kubectl\s+(get|describe|logs|top|api-resources|api-versions|explain|version|cluster-info|config\s+(current-context|get-contexts|view))(\s|$)/,
75
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+airflow\s+dags\s+list-runs\s+-d\s+[A-Za-z0-9_.:@/-]+(?:\s+--no-backfill)?(?:\s+--output\s+(?:json|table|yaml|plain))?(?:\s+\|\s+head\s+-\d+)?\s*$/,
76
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+airflow\s+tasks\s+states-for-dag-run\s+[A-Za-z0-9_.:@/-]+\s+[A-Za-z0-9_.:@+=,~%/-]+(?:\s+--output\s+(?:json|table|yaml|plain))?(?:\s+\|\s+head\s+-\d+)?\s*$/,
77
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+airflow\s+tasks\s+logs\s+[A-Za-z0-9_.:@/-]+\s+[A-Za-z0-9_.:@/-]+\s+[A-Za-z0-9_.:@+=,~%/-]+\s+--try-number\s+\d+\s+\|\s+head\s+-\d+\s*$/,
78
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+airflow\s+tasks\s+render\s+[A-Za-z0-9_.:@/-]+\s+[A-Za-z0-9_.:@/-]+\s+[A-Za-z0-9_.:@+=,~%/-]+\s+\|\s+head\s+-\d+\s*$/,
79
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+cat\s+\/(?:(?:data|hadoop\/disk2)\/workday-bds-airflow|data\/airflow)\/logs\/[A-Za-z0-9_.:@+=,~%/-]+(?:\s+\|\s+head\s+-\d+)?\s*$/,
80
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+grep\s+-E\s+'[A-Za-z0-9_.:@+=,~%|/-]+'\s+\/(?:(?:data|hadoop\/disk2)\/workday-bds-airflow|data\/airflow)\/logs\/[A-Za-z0-9_.:@+=,~%/-]+(?:\s+\|\s+tail\s+-n\s+\d+)?\s*$/,
81
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+grep\s+-E\s+'[A-Za-z0-9_.:@+=,~%|/-]+'\s+\/usr\/local\/airflow\/(?:airflow_s3_config\.json|dags\/[A-Za-z0-9_.:@+=,~%/-]+)(?:\s+\|\s+(?:head|tail)\s+-\d+)?\s*$/,
82
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+printenv\s+\|\s+grep\s+-E\s+'\^\(AWS_\|GOOGLE_\|GOOGLE_APPLICATION_CREDENTIALS\|HADOOP_\|HADOOP_CONF_DIR\|AIRFLOW_S3_CONFIG_PATH\)'\s+\|\s+sed\s+-E\s+'s\/=\.\*\/=\[present\]\/'\s+\|\s+head\s+-\d+\s*$/,
83
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+printenv\s+HADOOP_CREDENTIAL_PROVIDER_PATH\s*$/,
84
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+hadoop\s+credential\s+list\s+\|\s+head\s+-\d+\s*$/,
85
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+grep\s+-h\s+-E\s+'fs\.s3a\.aws\.credentials\.provider\|fs\.s3a\.endpoint\|fs\.s3a\.impl\|google\.cloud\.auth'\s+\/etc\/hadoop\/conf\/(?:core-site|hdfs-site|mapred-site|yarn-site)\.xml(?:\s+\/etc\/hadoop\/conf\/(?:core-site|hdfs-site|mapred-site|yarn-site)\.xml)*\s+\|\s+head\s+-\d+\s*$/,
86
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+cat\s+\/usr\/local\/airflow\/(?:airflow_s3_config\.json|dags\/[A-Za-z0-9_.:@+=,~%/-]+)(?:\s+\|\s+head\s+-\d+)?\s*$/,
87
- /^\s*kubectl\s+exec\s+-n\s+airflow\s+(?:pod\/)?[A-Za-z0-9._:@%/-]+(?:\s+-c\s+[A-Za-z0-9._:@%/-]+)?\s+--\s+hadoop\s+fs\s+-(?:ls|du|count|stat|test)(?:\s+-d)?\s+s3a:\/\/[A-Za-z0-9][A-Za-z0-9_.-]*[A-Za-z0-9](?:\/[A-Za-z0-9_.:@+=,~%/-]*)?(?:\s+\|\s+head\s+-\d+)?\s*$/,
88
- /^\s*kcsb\s+(get|describe|logs|top|api-resources|api-versions|explain|version|cluster-info|config\s+(current-context|get-contexts|view))(\s|$)/,
89
- /^\s*kinit\s+-kt\s+\/[A-Za-z0-9._/-]+\s+[A-Za-z0-9_.@/-]+(\s|$)/,
90
- /^\s*yarn\s+application\s+-status\s+application_[0-9]+_[0-9]+(\s|$)/,
91
- /^\s*yarn\s+logs\s+-applicationId\s+application_[0-9]+_[0-9]+(\s|$)/,
92
- /^\s*yarn\s+node\s+-status\s+(?!-)[A-Za-z0-9._:@%-]+:45454(\s|$)/,
93
- /^\s*hdfs\s+crypto\s+-listZones(\s|$)/,
94
- /^\s*hdfs\s+dfs\s+-(ls|du|find|cat|tail|test|count|stat)\s+/,
95
- /^\s*hdfs\s+dfsadmin\s+-report(\s|$)/,
96
- /^\s*hadoop\s+fs\s+-(ls|cat|head|du|count|stat|test|text)(\s|$)/,
97
- /^\s*helm\s+(list|status|history|get|version|repo\s+list)(\s|$)/,
98
- /^\s*aws\s+(?:--profile\s+\S+\s+)?(?:--region\s+\S+\s+)?sts\s+get-caller-identity(\s|$)/,
99
- /^\s*aws\s+(?:--profile\s+\S+\s+)?(?:--region\s+\S+\s+)?[a-z0-9-]+\s+(describe|list|get|head)-[a-z0-9-]+(\s|$)/,
100
- /^\s*aws\s+(?:--profile\s+\S+\s+)?(?:--region\s+\S+\s+)?s3\s+ls(\s|$)/,
101
- /^\s*gcloud\s+(?:--project=\S+\s+)?(?:--account=\S+\s+)?auth\s+list(\s|$)/,
102
- /^\s*gcloud\s+(?:--project=\S+\s+)?(?:--account=\S+\s+)?config\s+list(\s|$)/,
103
- /^\s*gcloud\s+(?:--project=\S+\s+)?(?:--account=\S+\s+)?projects\s+(describe|get-iam-policy)(\s|$)/,
104
- /^\s*gcloud\s+(?:--project=\S+\s+)?(?:--account=\S+\s+)?[a-z0-9-]+(?:\s+[a-z0-9-]+)*\s+(list|describe|read)(\s|$)/,
105
- /^\s*gcloud\s+storage\s+(buckets|objects)\s+list(\s|$)/,
106
- /^\s*terraform\s+(version|show|state\s+list|state\s+show|providers|workspace\s+show|output)(\s|$)/,
107
- /^\s*docker\s+(ps|images|logs|inspect|stats|version|info)(\s|$)/,
108
- /^\s*(df|du|free|uptime|uname|whoami|id|date|env|printenv)(\s|$)/,
109
- /^\s*journalctl\s+-k\s+--since\s+/,
110
- /^\s*(systemctl|journalctl)\s+(status|-u|--unit)(\s|$)/
111
- ];
112
-
113
- export class ReadOnlyShellPolicy {
114
- constructor(config = {}) {
115
- this.config = config;
116
- }
117
-
118
- validate(command) {
119
- const normalized = String(command ?? "").trim();
120
-
121
- if (!normalized) {
122
- return { allowed: false, reason: "empty shell command" };
123
- }
124
- if (normalized.includes("\n") || normalized.includes("\r")) {
125
- return { allowed: false, reason: "multi-line shell commands are not allowed" };
126
- }
127
-
128
- const mutatingToken = MUTATING_SHELL_TOKENS.find((token) => token.test(normalized));
129
- if (mutatingToken) {
130
- return {
131
- allowed: false,
132
- reason: `shell command contains mutating or high-risk syntax: ${mutatingToken.source}`
133
- };
134
- }
135
-
136
- if (this.readOnlyPatterns().some((pattern) => pattern.test(normalized))) {
137
- return { allowed: true, reason: "matches read-only command allowlist" };
138
- }
139
-
140
- return { allowed: false, reason: "command is not in the read-only allowlist" };
141
- }
142
-
143
- readOnlyPatterns() {
144
- return [
145
- ...READ_ONLY_COMMAND_PATTERNS,
146
- ...(this.config.extraReadOnlyCommandPatterns ?? [])
147
- ];
148
- }
149
- }
150
-
151
- export class ReadOnlyPolicyDescription {
152
- text() {
153
- return [
154
- "Read-only DevOps policy:",
155
- `- Auto-approved tools: ${READ_ONLY_ALLOWED_TOOLS.join(", ")}`,
156
- `- Always denied tools: ${READ_ONLY_DISALLOWED_TOOLS.join(", ")}`,
157
- "- Bash: denied by default; only explicit read-only command patterns are allowed.",
158
- "- Filesystem sandbox: enabled with denyWrite on all paths.",
159
- "- Permission mode: dontAsk, so unapproved tools fail closed."
160
- ].join("\n");
161
- }
162
- }
163
-
164
- export function isReadOnlyShellCommand(command, config = {}) {
165
- return new ReadOnlyShellPolicy(config).validate(command);
166
- }
167
-
168
- export function describeReadOnlyPolicy() {
169
- return new ReadOnlyPolicyDescription().text();
170
- }
@@ -1,202 +0,0 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright [yyyy] [name of copyright owner]
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.
@@ -1,3 +0,0 @@
1
- # @nuvlore/extension-workday-infra-access
2
-
3
- Workday infrastructure access — DC Boundary, AWS/GCP read-only, and access workflows.
@@ -1,183 +0,0 @@
1
- name: workday-infra-access-readonly
2
- description: Read-only Workday infrastructure access specialist. Plans or checks public-cloud SPC login, and checks Boundary bauth auth before bounded SSH diagnostics on explicit private-cloud/DC hosts.
3
- tools:
4
- includes:
5
- - aws_cust_federated_readonly_command_pack
6
- - gcp_readonly_command_pack
7
- - workday_boundary_login
8
- - workday_private_cloud_sudo_readonly_command
9
- - workday_public_cloud_kubernetes_read
10
- - workday_public_cloud_spc_login
11
- - workday_spc_argo_readonly_command_pack
12
- excludes: []
13
- permissionMode: dontAsk
14
- skills:
15
- - workday-infra-access
16
- - remote-readonly-investigation
17
- - devops-log-analysis
18
- maxTurns: 8
19
- color: yellow
20
- instructions: |-
21
- You are the Workday infrastructure access specialist for this workspace.
22
-
23
- Use `workday-infra-access` for public-cloud connection planning, Boundary/LDAP
24
- preparation, SPC/Argo inspection, and explicit-host read-only diagnostics. Load
25
- `references/access-runbook.md` from that skill when path-specific details are
26
- needed.
27
-
28
- Route by target:
29
-
30
- - Public cloud environment login: call `workday_public_cloud_spc_login` first.
31
- - AWS CUST: call `aws_cust_federated_readonly_command_pack` before evidence reads.
32
- - GCP: call `gcp_readonly_command_pack` before evidence reads.
33
- - SPC Argo/status inspection after public-cloud login: call `workday_spc_argo_readonly_command_pack`.
34
- - Live public-cloud Kubernetes evidence after SPC is ready: call `workday_public_cloud_kubernetes_read` once per resource/read.
35
- - Private cloud/DC host or BDS incident: start with `workday_boundary_login`
36
- status and the explicit host or resolvable target supplied by the requester.
37
- Private cloud uses `bauth init` and ordinary SSH; it does not use SPC.
38
- - Private cloud sudo read: use `workday_private_cloud_sudo_readonly_command`.
39
-
40
- Hard boundaries:
41
-
42
- - Never ask for or print LDAP passwords, Keychain JSON, kubeconfig, cloud
43
- credentials, tokens, keytabs, or sudo stdin.
44
- - Confirm the operator has an active Workday Security Network session before
45
- public-cloud SPC login or private-cloud Boundary `bauth init`.
46
- - Only the three dedicated login/sudo tools may read LDAP PROD password from
47
- Keychain; do not call Keychain directly from command packs, shell snippets, or
48
- agent instructions.
49
- - Do not run login/federation, config mutation, Argo/Kubernetes writes, HDFS
50
- writes, service restarts, Airflow state changes, migration retry/cancel, or
51
- cloud object writes unless an explicit login tool action has structured HITL
52
- approval for its local auth-state change.
53
- - Treat `spc connect` as connectivity only. It does not prove Kubernetes write
54
- permission; before any user-approved remediation, verify `kubectl auth whoami`
55
- and `kubectl auth can-i`.
56
- - Inspect only explicit targets. If no host, cluster, account, project, or
57
- namespace can be resolved, report the blocker instead of inventing one.
58
- - Use sudo only for bounded read-only evidence that requires it, and only
59
- through the approved saved-credential path described in the runbook.
60
-
61
- For BDS and Argo dependency incidents, compare requested selectors and desired
62
- state with live read-only evidence. If namespace RBAC denies pod, service,
63
- endpoint, deployment, or log reads, report that as an evidence gap and continue
64
- only with reachable evidence.
65
-
66
- Final answers should state the target, identity/readiness checks performed,
67
- evidence collected, denied or missing evidence, and any manual remediation plan.
68
- runtime:
69
- profile: deep-agent
70
- autonomy: medium
71
- reasoningDepth: high
72
- description: Coordinates a graph whose nodes are only agents or tools; skills attach to agent nodes.
73
- orchestration:
74
- nodes:
75
- - id: agent-workday-infra-access-readonly
76
- ref: workday-infra-access-readonly
77
- description: Receive and classify work inside this agent boundary.
78
- kind: agent
79
- skills:
80
- - workday-infra-access
81
- - remote-readonly-investigation
82
- - devops-log-analysis
83
- - id: tool-aws-cust-federated-readonly-command-pack
84
- ref: aws_cust_federated_readonly_command_pack
85
- description: Use aws_cust_federated_readonly_command_pack for package-owned evidence or prepared actions.
86
- kind: tool
87
- - id: tool-gcp-readonly-command-pack
88
- ref: gcp_readonly_command_pack
89
- description: Use gcp_readonly_command_pack for package-owned evidence or prepared actions.
90
- kind: tool
91
- - id: tool-workday-boundary-login
92
- ref: workday_boundary_login
93
- description: Use workday_boundary_login for package-owned evidence or prepared actions.
94
- kind: tool
95
- - id: tool-workday-private-cloud-sudo-readonly-command
96
- ref: workday_private_cloud_sudo_readonly_command
97
- description: Use workday_private_cloud_sudo_readonly_command for package-owned evidence or prepared actions.
98
- kind: tool
99
- - id: tool-workday-public-cloud-kubernetes-read
100
- ref: workday_public_cloud_kubernetes_read
101
- description: Use workday_public_cloud_kubernetes_read for one atomic read-only kubectl operation after SPC is ready.
102
- kind: tool
103
- - id: tool-workday-public-cloud-spc-login
104
- ref: workday_public_cloud_spc_login
105
- description: Use workday_public_cloud_spc_login for package-owned evidence or prepared actions.
106
- kind: tool
107
- - id: tool-workday-spc-argo-readonly-command-pack
108
- ref: workday_spc_argo_readonly_command_pack
109
- description: Use workday_spc_argo_readonly_command_pack for package-owned evidence or prepared actions.
110
- kind: tool
111
- - id: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
112
- description: Decide whether to continue read-only work, ask approval, delegate to another agent, or report.
113
- kind: agent
114
- ref: workday-infra-access-readonly
115
- skills:
116
- - workday-infra-access
117
- - remote-readonly-investigation
118
- - devops-log-analysis
119
- - id: human-approval
120
- ref: human-approval
121
- description: The agent prepares evidence and plans but must not cross approval or ownership boundaries on its own.
122
- kind: tool
123
- requiresHumanApproval: true
124
- - id: agent-workday-infra-access-readonly-2
125
- ref: workday-infra-access-readonly
126
- description: Report findings, evidence, approval needs, and next action.
127
- kind: agent
128
- skills:
129
- - workday-infra-access
130
- - remote-readonly-investigation
131
- - devops-log-analysis
132
- edges:
133
- - from: agent-workday-infra-access-readonly
134
- to: tool-aws-cust-federated-readonly-command-pack
135
- condition: SOP context is needed
136
- - from: agent-workday-infra-access-readonly
137
- to: tool-gcp-readonly-command-pack
138
- condition: SOP context is needed
139
- - from: agent-workday-infra-access-readonly
140
- to: tool-workday-boundary-login
141
- condition: SOP context is needed
142
- - from: agent-workday-infra-access-readonly
143
- to: tool-workday-private-cloud-sudo-readonly-command
144
- condition: SOP context is needed
145
- - from: agent-workday-infra-access-readonly
146
- to: tool-workday-public-cloud-kubernetes-read
147
- condition: live Kubernetes read evidence is needed after SPC is ready
148
- - from: agent-workday-infra-access-readonly
149
- to: tool-workday-public-cloud-spc-login
150
- condition: SOP context is needed
151
- - from: agent-workday-infra-access-readonly
152
- to: tool-workday-spc-argo-readonly-command-pack
153
- condition: SOP context is needed
154
- - from: tool-aws-cust-federated-readonly-command-pack
155
- to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
156
- condition: tool result is available
157
- - from: tool-gcp-readonly-command-pack
158
- to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
159
- condition: tool result is available
160
- - from: tool-workday-boundary-login
161
- to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
162
- condition: tool result is available
163
- - from: tool-workday-private-cloud-sudo-readonly-command
164
- to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
165
- condition: tool result is available
166
- - from: tool-workday-public-cloud-kubernetes-read
167
- to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
168
- condition: tool result is available
169
- - from: tool-workday-public-cloud-spc-login
170
- to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
171
- condition: tool result is available
172
- - from: tool-workday-spc-argo-readonly-command-pack
173
- to: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
174
- condition: tool result is available
175
- - from: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
176
- to: human-approval
177
- condition: The request requires external action, mutation, credentials, spending, approval, or work outside this agent scope.
178
- - from: decision-decide-whether-to-continue-read-only-work-ask-approval-delegate-to-another-agent-or-report
179
- to: agent-workday-infra-access-readonly-2
180
- condition: no handoff is needed
181
- - from: human-approval
182
- to: agent-workday-infra-access-readonly-2
183
- condition: handoff result is available
@@ -1,49 +0,0 @@
1
- {
2
- "name": "@nuvlore/extension-workday-infra-access",
3
- "version": "0.1.0",
4
- "type": "module",
5
- "description": "Workday infrastructure read-only access tools, workflows, skills, and agents.",
6
- "license": "Apache-2.0",
7
- "files": [
8
- "package.json",
9
- "agents",
10
- "src",
11
- "tools",
12
- "skills",
13
- "workflows",
14
- "LICENSE",
15
- "README.md",
16
- "vendor/extension-read-only-toolkit/LICENSE",
17
- "vendor/extension-read-only-toolkit/README.md",
18
- "vendor/extension-read-only-toolkit/package.json",
19
- "vendor/extension-read-only-toolkit/src"
20
- ],
21
- "keywords": [
22
- "agent-runtime-extension"
23
- ],
24
- "agentRuntimeDistribution": {
25
- "visibility": "private",
26
- "group": "workday-infra-access",
27
- "serviceGrouping": "multi-capability",
28
- "publicService": false,
29
- "rationale": "Workday infrastructure access domain package for read-only Boundary, public cloud, and Kubernetes workflows."
30
- },
31
- "agentRuntimeTools": {
32
- "service": "workday"
33
- },
34
- "scripts": {
35
- "test": "npm run test:unit && npm run test:integration",
36
- "test:unit": "node --test test/node-unit/*.test.js && vitest run test/unit",
37
- "test:integration": "node --test test/node-integration/*.test.js"
38
- },
39
- "dependencies": {
40
- "@nuvlore/extension-read-only-toolkit": "file:vendor/extension-read-only-toolkit",
41
- "zod": "^4.1.12"
42
- },
43
- "devDependencies": {
44
- "vitest": "^3.1.3"
45
- },
46
- "publishConfig": {
47
- "access": "restricted"
48
- }
49
- }