Skip to content

Commit

Permalink
Merge pull request #215 from silversword411/main
Browse files Browse the repository at this point in the history
global keystore and env var updates
  • Loading branch information
silversword411 authored Nov 14, 2023
2 parents ed8567d + d2f3c2d commit 1eba941
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
Binary file added docs/functions/images/2023-11-14-12-29-49.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions docs/functions/keystore.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ To Add/Edit values in the Global Key Store, browse to **Settings > Global Settin
You can reference values from the key store in script arguments by using the {{global.key_name}} syntax.

!!!info
Everything between {{}} is CaSe sEnSiTive
Everything between {{}} is CaSe sEnSiTive. `global.` must be all lower case.

See [Scripts](scripting.md) for more information.
![](images/2023-11-14-12-29-49.png)

See [Scripts](scripting.md) for more information.
8 changes: 4 additions & 4 deletions docs/functions/scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ In the dashboard, browse to **Settings > Scripts Manager**. Click the **New** bu
- Python
- Shell (use for Linux/macOS scripts)

- **Script Arguments** - Optional way to set default arguments for scripts. These will auto populate when running scripts and can be changed at runtime.
- **Script Arguments** - Optional way to set default arguments for scripts. These will auto populate when running scripts and can be changed at runtime. Logged on Windows Event Viewer > Applications and Services Logs > Microsoft > Windows> PowerShell > Operational
- **Environment vars** - Optional way to set default arguments for scripts using Environment Variables. These will auto populate when running scripts and can be changed at runtime. Not logged, better to use when passing data you don't want logged
- **Default Timeout** - Sets the default timeout of the script and will stop script execution if the duration surpasses the configured timeout. Can be changed at script runtime.
- **Favorite** - Favorites the script.

Expand Down Expand Up @@ -73,10 +74,9 @@ and `()` indicates a default parameter if none is specified.

Starting with 0.15.4 you can use environment variables to pass them too!

## Video Walkthru

<div class="video-wrapper">
<iframe width="400" height="225" src="https://www.youtube.com/embed/pN80ljSwT7M" frameborder="0" allowfullscreen></iframe>
<iframe width="400" height="225" src="https://www.youtube.com/embed/YrnN11XPot8" frameborder="0" allowfullscreen></iframe>
<iframe width="400" height="225" src="https://www.youtube.com/embed/jLpfN2SOD1U" frameborder="0" allowfullscreen></iframe>
</div>


Expand Down

0 comments on commit 1eba941

Please sign in to comment.