Skip to content

Commit 724dcaa

Browse files
Talia Rosingitbook-bot
authored andcommitted
GITBOOK-178: change request with no subject merged in GitBook
1 parent f75a857 commit 724dcaa

File tree

10 files changed

+52
-52
lines changed

10 files changed

+52
-52
lines changed

jfrog-applications/SUMMARY.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,17 @@
4646
* [JFrog CLI Plugins Developer Guide](jfrog-cli/cli-plugins/developer-guide.md)
4747
* [IDE](ide/README.md)
4848
* [Visual Studio Code](ide/visual-studio-code/README.md)
49+
* [VS Code Prerequsites Per Language](ide/visual-studio-code/behind-the-scenes.md)
4950
* [Supported Technologies](jfrog-applications/ide/visual-studio-code/supported-technologies.md)
50-
* [Install the JFrog VS Code Extension](ide/visual-studio-code/install-the-jfrog-vscode-extension.md)
51-
* [Connect VS Code to the JFrog Platform](ide/visual-studio-code/connect-vs-code-to-the-jfrog-platform.md)
52-
* [Using the JFrog Extension in VS Code](ide/visual-studio-code/using-the-jfrog-extension-in-vs-code.md)
53-
* [Analyze your Results](ide/visual-studio-code/analyze-your-results.md)
54-
* [Resolve Issues](ide/visual-studio-code/resolve-issues.md)
55-
* [Ignore Findings](ide/visual-studio-code/ignore-findings.md)
56-
* [Behind the Scenes](ide/visual-studio-code/behind-the-scenes.md)
57-
* [Extension Settings](ide/visual-studio-code/extension-settings.md)
58-
* [Xray Policies and Watches](ide/visual-studio-code/xray-policies-and-watches.md)
59-
* [Building and Testing the Sources](ide/visual-studio-code/building-and-testing-the-sources.md)
51+
* [Install the JFrog VS Code Extension](jfrog-applications/ide/visual-studio-code/install-the-jfrog-vscode-extension/README.md)
52+
* [Connect VS Code to the JFrog Platform](jfrog-applications/ide/visual-studio-code/install-the-jfrog-vscode-extension/connect-vs-code-to-the-jfrog-platform.md)
53+
* [Manage VS Code IDE](ide/visual-studio-code/extension-settings.md)
54+
* [Quick Start](ide/visual-studio-code/using-the-jfrog-extension-in-vs-code.md)
55+
* [How Tos](jfrog-applications/ide/visual-studio-code/how-tos/README.md)
56+
* [Analyze your Results](jfrog-applications/ide/visual-studio-code/how-tos/analyze-your-results/README.md)
57+
* [Resolve Issues](jfrog-applications/ide/visual-studio-code/how-tos/analyze-your-results/resolve-issues.md)
58+
* [Ignore Findings](jfrog-applications/ide/visual-studio-code/how-tos/analyze-your-results/ignore-findings.md)
59+
* [Building and Testing the Sources](jfrog-applications/ide/visual-studio-code/how-tos/building-and-testing-the-sources.md)
6060
* [JetBrains IDEs](ide/jetbrains-ides/README.md)
6161
* [Supported Technologies](jfrog-applications/ide/jetbrains-ides/supported-technologies.md)
6262
* [Install the JFrog IDEA Plugin](ide/jetbrains-ides/install-the-jfrog-idea-plugin.md)

jfrog-applications/ide/visual-studio-code/extension-settings.md

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Extension Settings
1+
# Manage VS Code IDE
22

33
To access the extension settings, click on the gear icon:
44

@@ -20,26 +20,23 @@ If your JFrog environment is behind an HTTP/S proxy, follow these steps to confi
2020

2121
#### Downloading External Resources Through Artifactory
2222

23-
JFrog VS Code extension requires necessary resources for scanning your projects.
24-
By default, the JFrog VS Code extension downloads the resources it requires from <https://releases.jfrog.io>. If the machine running JFrog VS Code extension has no access to it, follow these steps to allow the resources to be downloaded through an Artifactory instance, which the machine has access to:
23+
JFrog VS Code extension requires necessary resources for scanning your projects. By default, the JFrog VS Code extension downloads the resources it requires from [https://releases.jfrog.io](https://releases.jfrog.io). If the machine running JFrog VS Code extension has no access to it, follow these steps to allow the resources to be downloaded through an Artifactory instance, which the machine has access to:
2524

2625
1. Login to the JFrog Platform UI, with a user who has admin permissions.
26+
2. Create a Remote Repository with the following properties set:
2727

28-
2. Create a Remote Repository with the following properties set:
2928
* Under the `Basic` tab:
30-
* Package Type: Generic
31-
* Repository Key: jfrog-releases-repository
32-
* URL: <https://releases.jfrog.io>
29+
* Package Type: Generic
30+
* Repository Key: jfrog-releases-repository
31+
* URL: [https://releases.jfrog.io](https://releases.jfrog.io)
3332

3433
![ExternalResourcesThroughArtifactoryPart1](../../.gitbook/assets/externalResourcesThroughArtifactoryPart1.png)
3534

3635
* Under the `Advanced` tab:
37-
* Uncheck the 'Store Artifacts Locally' option
36+
* Uncheck the 'Store Artifacts Locally' option
3837

3938
![ExternalResourcesThroughArtifactoryPart2](../../.gitbook/assets/externalResourcesThroughArtifactoryPart2.png)
40-
4139
3. Navigate to the Settings in JFrog VS Code Extension
42-
4340
4. Insert the Repository Key you created in the Repository key text field
4441

4542
![externalResourcesRepository](../../.gitbook/assets/vscode/externalResourcesRepository.png)
@@ -50,7 +47,7 @@ Or set the `JFROG_IDE_RELEASES_REPO` environment variable with the Repository Ke
5047

5148
If your proxy server requires credentials, follow these steps:
5249

53-
1. Follow 1-3 steps under [Proxy configuration](extension-settings#proxy-configuration).
50+
1. Follow 1-3 steps under [Proxy configuration](extension-settings/#proxy-configuration).
5451

5552
**Basic authorization**
5653

@@ -80,6 +77,22 @@ settings.json:
8077
}
8178
```
8279

80+
## Xray Policies and Watches
81+
82+
You can configure the JFrog VS-Code extension to use the security policies you create in Xray. Policies enable you to create a set of rules, in which each rule defines security criteria, with a corresponding set of automatic actions according to your needs. Policies are enforced when applying them to Watches.
83+
84+
If you'd like to use a JFrog Project that is associated with the policy, follow these steps:
85+
86+
1. Create a [JFrog Project](https://www.jfrog.com/confluence/display/JFROG/Projects), or obtain the relevant JFrog Project key.
87+
2. Create a [Policy](https://www.jfrog.com/confluence/display/JFROG/Creating+Xray+Policies+and+Rules) on JFrog Xray.
88+
3. Create a [Watch](https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches) on JFrog Xray and assign your Policy and Project as resources to it.
89+
4. Configure your Project key in the [Extension Settings](extension-settings.md).
90+
91+
If however your policies are referenced through an Xray Watch or Watches, follow these steps instead:
92+
93+
1. Create one or more [Watches](https://www.jfrog.com/confluence/display/JFROG/Configuring+Xray+Watches) on JFrog Xray.
94+
2. Configure your Watches in the [Extension Settings](extension-settings.md).
95+
8396
### Troubleshooting
8497

8598
Change the log level to `debug`, `info`, `warn`, or `err` in the [Extension Settings](extension-settings.md).

jfrog-applications/ide/visual-studio-code/xray-policies-and-watches.md

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# How Tos
2+

jfrog-applications/ide/visual-studio-code/analyze-your-results.md renamed to jfrog-applications/jfrog-applications/ide/visual-studio-code/how-tos/analyze-your-results/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Each file node in the tree is interactive, click and expand it to view its child
1212

1313
In addition, the locations with vulnerabilities will be marked in the editor. By clicking on the light bulb icon next to a vulnerable location in the editor, we can instantly jump to the corresponding entry in the tree view.
1414

15-
<figure><img src="../../.gitbook/assets/image (3).png" alt=""><figcaption></figcaption></figure>
15+
<figure><img src="../../../../../.gitbook/assets/image (3).png" alt=""><figcaption></figcaption></figure>
1616

1717
Clicking on a CVE in the list will open the location with the issue in the editor and a vulnerability details view. This view contains information about the vulnerability, the vulnerable component, fixed versions, impact paths, and much more.
1818

19-
<figure><img src="../../.gitbook/assets/image (4).png" alt=""><figcaption></figcaption></figure>
19+
<figure><img src="../../../../../.gitbook/assets/image (4).png" alt=""><figcaption></figcaption></figure>
2020

21-
<figure><img src="../../.gitbook/assets/image (5).png" alt=""><figcaption></figcaption></figure>
21+
<figure><img src="../../../../../.gitbook/assets/image (5).png" alt=""><figcaption></figcaption></figure>
2222

2323
<details>
2424

@@ -31,7 +31,7 @@ For selected security issues, get leverage-enhanced CVE data that is provided by
3131

3232
Check out what our research team is up to and stay updated on newly discovered issues by clicking on this [link](https://research.jfrog.com).
3333

34-
<img src="../../.gitbook/assets/vscode/research.png" alt="JFrog_Research" data-size="original">
34+
<img src="../../../../../.gitbook/assets/vscode/research.png" alt="JFrog_Research" data-size="original">
3535

3636
</details>
3737

@@ -47,7 +47,7 @@ Xray automatically validates some high and very high impact vulnerabilities, suc
4747
* Vulnerability Contextual Analysis breakdown: An explanation provided by our research team as to why the CVE was found applicable or not applicable.
4848
* Remediation: Contextual mitigation steps and options provided by our research team that assist you with remediating the issues.
4949

50-
<img src="../../.gitbook/assets/vscode/contextualDetails.png" alt="Contextual_Analysis" data-size="original">
50+
<img src="../../../../../.gitbook/assets/vscode/contextualDetails.png" alt="Contextual_Analysis" data-size="original">
5151

5252
</details>
5353

@@ -64,7 +64,7 @@ SAST findings are presented in a way that will help you easily locate the vulner
6464
* **Data Flow Analysis**: Provides information on the overall code flow and the different entry points of the vulnerability up to the execution point of the vulnerability. At JFrog we understand the developers need to see the entire picture of their code, rather than just providing the specific vulnerability found in the code. With Data Analysis Flow you will be able to follow the entire lifecycle of the vulnerability.
6565
* **Fix Steps**: To help you fix the security issues, the JFrog security team provides you with detailed fixes and mitigation options for the vulnerabilities. Xray empowers you to make smart choices when creating the mitigation plan and choosing the paths with the highest return on investment. Along with the JFrog severity given, you can make informed decisions on what vulnerabilities are a priority to fix. For example, vulnerabilities with low JFrog security severity are considered less risky, as it would be very unlikely to exploit them in the real world, or the impact of the exploitation is low.
6666

67-
<img src="../../.gitbook/assets/vscode/sast.png" alt="Contextual_Analysis" data-size="original">
67+
<img src="../../../../../.gitbook/assets/vscode/sast.png" alt="Contextual_Analysis" data-size="original">
6868

6969
</details>
7070

@@ -76,7 +76,7 @@ _**NOTE:**_ Secrets Detection requires Xray version 3.66.5 or above and Enterpri
7676

7777
Detect any secrets left exposed inside the code. to prevent any accidental leak of internal tokens or credentials. To ignore detected secrets, you can add a comment which includes the phrase _jfrog-ignore_ above the line with the secret.
7878

79-
<img src="../../.gitbook/assets/vscode/secrets.png" alt="Secrets_Detection" data-size="original">
79+
<img src="../../../../../.gitbook/assets/vscode/secrets.png" alt="Secrets_Detection" data-size="original">
8080

8181
</details>
8282

@@ -88,6 +88,6 @@ _**NOTE:**_ Infrastructure as Code (IaC) requires Xray version 3.66.5 or above a
8888

8989
Scan Infrastructure as Code (Terraform) files for early detection of cloud and infrastructure misconfigurations.
9090

91-
<img src="../../.gitbook/assets/vscode/iac.png" alt="iac_scan" data-size="original">
91+
<img src="../../../../../.gitbook/assets/vscode/iac.png" alt="iac_scan" data-size="original">
9292

9393
</details>

jfrog-applications/ide/visual-studio-code/ignore-findings.md renamed to jfrog-applications/jfrog-applications/ide/visual-studio-code/how-tos/analyze-your-results/ignore-findings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
If Xray watches are used, on an icon vulnerability line a closed eye icon will appear by clicking on it you can create an [Ignore Rule](https://www.jfrog.com/confluence/display/JFROG/Ignore+Rules) in Xray.
44

5-
<figure><img src="../../.gitbook/assets/image (7).png" alt=""><figcaption></figcaption></figure>
5+
<figure><img src="../../../../../.gitbook/assets/image (7).png" alt=""><figcaption></figcaption></figure>

jfrog-applications/ide/visual-studio-code/resolve-issues.md renamed to jfrog-applications/jfrog-applications/ide/visual-studio-code/how-tos/analyze-your-results/resolve-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
Update a vulnerable direct dependency to a fixed version directly from the vulnerable location at the editor using the quick fix.
44

5-
<figure><img src="../../.gitbook/assets/image (6).png" alt=""><figcaption></figcaption></figure>
5+
<figure><img src="../../../../../.gitbook/assets/image (6).png" alt=""><figcaption></figcaption></figure>

jfrog-applications/ide/visual-studio-code/building-and-testing-the-sources.md renamed to jfrog-applications/jfrog-applications/ide/visual-studio-code/how-tos/building-and-testing-the-sources.md

File renamed without changes.

jfrog-applications/ide/visual-studio-code/install-the-jfrog-vscode-extension.md renamed to jfrog-applications/jfrog-applications/ide/visual-studio-code/install-the-jfrog-vscode-extension/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
The extension is available to install from the VS Code extensions marketplace. After installing the JFrog extension tab will appear in the activity bar.
44

5-
<figure><img src="../../.gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>
5+
<figure><img src="../../../../.gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>

jfrog-applications/ide/visual-studio-code/connect-vs-code-to-the-jfrog-platform.md renamed to jfrog-applications/jfrog-applications/ide/visual-studio-code/install-the-jfrog-vscode-extension/connect-vs-code-to-the-jfrog-platform.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
Once the JFrog Extension is installed in VS Code, click on the JFrog tab:
44

5-
![jfrogTab](../../.gitbook/assets/vscode/jfrogTab.png)
5+
![jfrogTab](../../../../.gitbook/assets/vscode/jfrogTab.png)
66

77
This will open the Sign in page:
88

9-
![SighInPage](../../.gitbook/assets/vscode/sighInPage.png)
9+
![SighInPage](../../../../.gitbook/assets/vscode/sighInPage.png)
1010

1111
Fill in your connection details and click on the `Sign In` button to start using the extension
1212

@@ -24,7 +24,7 @@ To sign in using SSO, follow these steps:
2424

2525
1. On the sign-in page, click the `Continue with SSO` button:
2626

27-
![SighInSsoButton](../../.gitbook/assets/vscode/ssoButton.png)
27+
![SighInSsoButton](../../../../.gitbook/assets/vscode/ssoButton.png)
2828

2929
2. After entering your JFrog platform URL, click on `Sign in With SSO`.
3030
3. It will take a few seconds for the browser to redirect you to the SSO sign in page.
@@ -34,7 +34,7 @@ To sign in using SSO, follow these steps:
3434

3535
If JFrog CLI is installed on your machine and is configured with your JFrog Platform connection details, then you should see the message popup in the Sigh in page:
3636

37-
![LoginPageJfrogCli](../../.gitbook/assets/vscode/sighInPageJFrogCli.png)
37+
![LoginPageJfrogCli](../../../../.gitbook/assets/vscode/sighInPageJFrogCli.png)
3838

3939
## Connect Using Environment Variables
4040

@@ -48,6 +48,6 @@ You may set the connection details using the following environment variables. VS
4848

4949
Once the above environment variables are configured, you can expect to see a message popup in the Sigh in page:
5050

51-
![LoginPageEnvVar](../../.gitbook/assets/vscode/sighInPageEnvVar.png)
51+
![LoginPageEnvVar](../../../../.gitbook/assets/vscode/sighInPageEnvVar.png)
5252

5353
**Note**: For security reasons, it is recommended to unset the environment variables after launching VS Code.

0 commit comments

Comments
 (0)