Skip to content

Commit afc3259

Browse files
Ap misc (#164)
* Ready for review. * Now, ready. * Optimised images with calibre/image-actions --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 7a36f89 commit afc3259

24 files changed

+116
-1
lines changed

.vitepress/sidebars/guides.ts

+8
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ export const guidesSidebar: DefaultTheme.SidebarItem[] = [
140140
text: "Replay",
141141
link: "/guides/replay",
142142
},
143+
{
144+
text: "Using Environment Variables in Replay",
145+
link: "/guides/replay_environment_variables",
146+
},
143147
{
144148
text: "Automate",
145149
link: "/guides/automate",
@@ -201,6 +205,10 @@ export const guidesSidebar: DefaultTheme.SidebarItem[] = [
201205
text: "Contributing to the Documentation",
202206
link: "/guides/contributions/documentation",
203207
},
208+
{
209+
text: "Joining Caido's Discord Server",
210+
link: "/guides/discord",
211+
},
204212
],
205213
},
206214
];

.vitepress/sidebars/reference.ts

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ export const referenceSidebar: DefaultTheme.SidebarItem[] = [
88
text: "Introduction",
99
link: "/reference/",
1010
},
11+
{
12+
text: "Environment",
13+
link: "/reference/environment",
14+
},
1115
{
1216
text: "HTTPQL",
1317
link: "/reference/httpql",
37.3 KB
Loading
37 KB
Loading

src/_images/create_button.png

785 Bytes
Loading

src/_images/customers_channel.png

15.1 KB
Loading
2.58 KB
Loading

src/_images/env_interface.png

55.8 KB
Loading

src/_images/environment_selection.png

3.15 KB
Loading

src/_images/environments_list.png

5.17 KB
Loading

src/_images/global_environment.png

13.1 KB
Loading

src/_images/link_discord_account.png

3.71 KB
Loading
37 KB
Loading

src/_images/replay_placeholder.png

76.1 KB
Loading
3.38 KB
Loading
18.4 KB
Loading

src/_images/teams_channel.png

15.6 KB
Loading

src/_images/update_button.png

863 Bytes
Loading

src/_images/user_a_environment.png

13.4 KB
Loading

src/faq.md

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ We do not collect any data stored on your Instances nor interactions within the
3030

3131
You can ask for support and submit feature requests through our public <a href="https://links.caido.io/www-discord" target="_blank">Discord</a> or <a href="https://links.caido.io/www-github-issues" target="_blank">Github repository</a>. Both are great places to share feedback and help improve Caido.
3232

33+
## How do I gain access to the dedicated Discord support channels?
34+
35+
Caido Individual and Team level subscriptions come with prioritized customer support. To access these channels, you must first [link your Discord account](/guides/discord.md).
36+
3337
## What is the difference between Caido CLI and Caido Desktop?
3438

3539
The Caido CLI is self-contained binary that launches the Caido proxy (also called Instance). You can use it on remote servers or locally and access the Instance using your browser. The Caido Desktop acts a connection manager to your Instances and can also launch the Caido proxy in the background. It uses webviews to access the Instance instead of the browser.

src/guides/discord.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Joining Caido's Discord Server
2+
3+
To link your Caido account to your Discord account, visit [https://dashboard.caido.io/settings](https://dashboard.caido.io/settings) and click the `Sign in with Discord` button.
4+
5+
<img alt="Link Discord account." src="/_images/link_discord_account.png" center/>
6+
7+
## Customer Support
8+
9+
If you hold an active Individual tier subscription, you will receive prioritized customer support. Once you link your Caido account to your Discord account, you will be granted the Customer role and gain access to all of the Customers channels.
10+
11+
<img alt="Customers Discord channel." src="/_images/customers_channel.png" center/>
12+
13+
## Team Support
14+
15+
All Team tier subscriptions include a dedicated, private support channel. To request yours, send an email to [[email protected]](mailto:[email protected]).
16+
17+
<img alt="Teams Discord channel." src="/_images/teams_channel.png" center/>
+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# Using Environment Variables in Replay
2+
3+
When testing targets using `Replay`, you can easily switch context by leveraging your custom environments and associated variables.
4+
5+
## Creating Environment Variables
6+
7+
To create a new environment and define its variables, navigate to the `Environment` interface in Caido.
8+
9+
<img alt="Environment interface." src="/_images/env_interface.png" center/>
10+
11+
To define a new variable, click on the `+ Add` button. A new variable row will be added to the table.
12+
13+
Next, click on the pencil icon to edit it.
14+
15+
<img alt="Editing an environment variable." src="/_images/edit_global_env_variable.png" center/>
16+
17+
Once you have made the desired edits, click the floppy disk icon to save the variable.
18+
19+
<img alt="Saving an environment variable." src="/_images/save_global_env_variable.png" center/>
20+
21+
Then, depending on if the environment is new or existing, click on either the `Create` or `Update` button in the bottom left corner of the pane.
22+
23+
<img alt="Create button for environment variable." src="/_images/create_button.png" center/>
24+
25+
<img alt="Update button for environment." src="/_images/update_button.png" center/>
26+
27+
## Inserting an Environment Variable
28+
29+
With a defined environment variable, navigate to the [Replay](/guides/replay.md) interface. Within a request editing pane, click, hold, and drag the left mouse button over the value you want to be replaced and then click the `+` button to add it as a placeholder.
30+
31+
<img alt="Adding a placeholder in a Replay request." src="/_images/replay_placeholder.png" center/>
32+
33+
Next, click the edit button located to the right of the placeholder. Doing so will present the `Placeholder Settings` window. Select `Environment Variable` from the top dropdown menu. Then, select the desired environment variable by name from the other dropdown menu. Click on the `Add` button to save the configuration. The addition will be reflected in the list of `Active preprocessors`.
34+
35+
<img alt="Adding an environment variable to a Replay request." src="/_images/replay_global_variable.png" center/>
36+
37+
Close the settings window and send the request. To verify the addition was successful, you can view the request by navigating to the [Search](/guides/search.md) interface.
38+
39+
<img alt="Viewing the Replay request environment variable addition." src="/_images/search_env_variable_request.png" center/>

src/reference/environment.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Environment
2+
3+
The `Environment` interface allows you to define and manage sets of variables that can be used to quickly switch between different contexts.
4+
5+
<img alt="Environment interface." src="/_images/env_interface.png" center/>
6+
7+
## Global
8+
9+
The `Global` environment is always active within a [Project](/guides/projects.md), and all variables in this environment are accessible, regardless of the active environment selected.
10+
11+
<img alt="Global environment." src="/_images/global_environment.png" center/>
12+
13+
---
14+
15+
<img alt="Adding a global environment variable." src="/_images/add_global_env_variable.png" center/>
16+
17+
## Custom Environments
18+
19+
The variables of any custom environments created by you will only be accessible if actively selected.
20+
21+
<img alt="Custom environment." src="/_images/user_a_environment.png" center/>
22+
23+
---
24+
25+
<img alt="Selecting a custom environment." src="/_images/environment_selection.png" center/>
26+
27+
---
28+
29+
<img alt="Adding a custom environment variable." src="/_images/add_user_a_env_variable.png" center/>
30+
31+
::: warning NOTE
32+
If a `Global` environment variable and a custom environment variable share the same name, the custom variable value will take precedence.
33+
:::
34+
35+
::: info
36+
When creating an environment variable, you will be able to select between `Plaintext` and `Secret`. When an environment variable is `Secret`, it is obfuscated in the frontend as well as on disk.
37+
:::
38+
39+
## What's next?
40+
41+
[Learn how to use environment variables in Replay.](/guides/replay_environment_variables.md)
42+
43+
[Learn how to resign AWS requests by defining the components of the signing key as environment variables.](/tutorials/aws_signature.md)

src/reference/match_replace.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ The order of the rules in the Active Rules section determines the order in which
135135

136136
## What's next?
137137

138-
[Learn how to create match and replace rules for three different use cases here.](/guides/match_replace.md)
138+
[Learn how to create match and replace rules for three different use cases.](/guides/match_replace.md)

0 commit comments

Comments
 (0)