You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,10 +18,10 @@ git checkout -b my-change
18
18
19
19
## Contributing Sample Scripts
20
20
21
-
- Add new scripts under `SampleScripts/` in the correct protocol folder:
22
-
-`SampleScripts/SSH/`
23
-
-`SampleScripts/HTTP/`
24
-
-`SampleScripts/Telnet/`
21
+
- Add new scripts under `samples/` in the correct protocol folder:
22
+
-`samples/ssh/`
23
+
-`samples/http/`
24
+
-`samples/telnet/`
25
25
- Follow the JSON structure in [docs/reference/script-structure.md](docs/reference/script-structure.md).
26
26
- Include the standard operations your target supports whenever possible. At minimum, include `CheckSystem` (the operation behind **Test Connection**) and `CheckPassword`, unless accounts change their own passwords on that platform (in which case `CheckSystem` may not apply).
27
27
- Use meaningful parameter names and sensible defaults.
Build and adapt custom platform scripts for Safeguard when built-in platforms do not fit your target system.
3
+
Build custom platform scripts for [Safeguard for Privileged Passwords (SPP)](https://www.oneidentity.com/products/safeguard-for-privileged-passwords/)when built-in platforms don't cover your target system.
4
4
5
-
## What is this?
5
+
Custom platform scripts are JSON definitions that teach SPP how to connect to any target — Linux hosts, network appliances, REST APIs, web portals, cloud services — and manage credentials (passwords, SSH keys, API keys) through SSH, HTTP, or Telnet.
6
6
7
-
Safeguard custom platform scripts are JSON-based definitions that tell Safeguard for Privileged Passwords (SPP) how to connect to a target, navigate its interface, and perform credential operations such as password changes, key updates, and account validation.
7
+
## Where Do I Start?
8
8
9
-
This repository is for asset administrators and automation teams who need to manage passwords or SSH keys on operating systems, appliances, network devices, web applications, or vendor-specific workflows not covered by built-in platforms. It includes practical guidance and examples for both SSH- and HTTP-based integrations, plus historical Telnet-related content.
9
+
| I want to... | Go here |
10
+
| --- | --- |
11
+
|**Get something working in 5 minutes**|[Quick Start](docs/quick-start/)|
12
+
|**Understand how custom platforms work**|[Concepts](docs/concepts/)|
13
+
|**Learn step by step with a tutorial**|[Tutorials](docs/tutorials/)|
14
+
|**Look up a specific command or parameter**|[Reference](docs/reference/)|
15
+
|**Deploy a tested sample script**|[Samples](samples/)|
16
+
|**Start a new script from a template**|[Templates](templates/)|
17
+
|**Solve a specific problem**|[Guides](docs/guides/)|
10
18
11
-
## Quick Start
19
+
## Repository Layout
12
20
13
-
If you want the docs and samples locally while you work, clone the repository first:
21
+
```
22
+
docs/
23
+
quick-start/ 5-minute guides to get a working platform fast
1.**Write.** Start with the closest template in `SampleScripts/Templates/`, then customize commands, prompts, parameters, and validation flow for your target.
21
-
2.**Upload.** Use `Import-SafeguardCustomPlatformScript` from `safeguard-ps` to upload the script to SPP.
22
-
3.**Test.** Validate against a safe test asset with `Test-SafeguardAssetAccountPassword -ExtendedLogging` before rolling into production.
23
-
24
-
## Documentation
25
43
26
-
Start with [`docs/`](docs/) to find the right level of detail for your task:
44
+
# Pick a template and customize it
45
+
code templates/TemplateSshMinimal.json
27
46
28
-
-[`docs/getting-started/`](docs/getting-started/) - Tutorials and first-script walkthroughs for new custom platform authors.
29
-
-[`docs/reference/`](docs/reference/) - Script structure, supported operations, parameters, and command behavior.
Browse [`SampleScripts/`](SampleScripts/) for working examples you can study or adapt. Samples are organized by protocol so you can quickly focus on the right category:
For detailed quick-start paths, see [docs/quick-start/](docs/quick-start/).
42
55
43
56
## Tools
44
57
45
-
Use [`tools/TestTool.ps1`](tools/TestTool.ps1) to test custom platform scripts locally before uploading them to SPP.
46
-
47
-
## Telnet / Pattern Files
48
-
49
-
Telnet pattern files have moved to [SafeguardAutomation](https://github.com/OneIdentity/SafeguardAutomation/tree/master/Terminal%20Pattern%20Files).
58
+
-[`tools/TestTool.ps1`](tools/TestTool.ps1) — Validate script JSON locally before uploading to SPP
59
+
-[`schema/custom-platform-script.schema.json`](schema/custom-platform-script.schema.json) — JSON Schema for IDE autocomplete (VS Code configured automatically)
50
60
51
61
## Contributing
52
62
53
-
Contributions are welcome, including new sample scripts, fixes, and documentation improvements. See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines, and feel free to share community-tested samples that others can adapt.
63
+
Contributions are welcome — new sample scripts, documentation improvements, and bug fixes. See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
54
64
55
65
## Support
56
66
@@ -59,20 +69,3 @@ One Identity open source projects are supported through [GitHub issues](https://
59
69
## License
60
70
61
71
See [LICENSE](LICENSE).
62
-
63
-
## Compatibility Matrix
64
-
65
-
> Approximate only — check your SPP release notes for exact availability in your build.
0 commit comments