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: content/code-security/code-scanning/managing-your-code-scanning-configuration/codeql-query-suites.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ The built-in {% data variables.product.prodname_codeql %} query suites, `default
44
44
* Relative to the `default` query suite, the `security-extended` suite may return a greater number of false positive {% data variables.product.prodname_code_scanning %} results.
45
45
* This query suite is available for use with default setup for {% data variables.product.prodname_code_scanning %}, and is referred to as the "Extended" query suite on {% data variables.product.prodname_dotcom %}.
46
46
47
-
For a complete list of queries included in each query suite for every language, see [AUTOTITLE](/code-security/code-scanning/reference).
47
+
For a complete list of queries included in each query suite for every language, see [AUTOTITLE](/code-security/code-scanning/reference/code-ql-built-in-queries).
Copy file name to clipboardExpand all lines: content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-automatic-dependency-submission-for-your-repository.md
+51Lines changed: 51 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,57 @@ Once enabled, automatic dependency submission jobs will run on the self-hosted r
69
69
70
70
>[!NOTE] For Maven or Gradle projects that use self-hosted runners with private Maven registries, you need to modify the Maven server settings file to allow the dependency submission workflows to connect to the registries. For more information about the Maven server settings file, see [Security and Deployment Settings](https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#transitive-dependencies) in the Maven documentation.
71
71
72
+
### Configuring network access for self-hosted runners
73
+
74
+
If your self-hosted runners operate behind a firewall with restricted outbound internet access, you must add certain URLs to the allowlist for automatic dependency submission. The required URLs depend on the ecosystems your repositories use.
75
+
76
+
#### Required URLs for all ecosystems
77
+
78
+
These URLs are required for all automatic dependency submission workflows:
79
+
80
+
*`https://github.com`—Required for accessing {% data variables.product.github %} and downloading actions.
81
+
*`https://api.github.com`—Required for {% data variables.product.github %} API access.
82
+
*`https://*.githubusercontent.com`—Required for downloading action source code and releases (including `raw.githubusercontent.com`, `github-releases.githubusercontent.com`, and `objects.githubusercontent.com`).
83
+
84
+
#### Ecosystem-specific URLs
85
+
86
+
Depending on the ecosystems you use, you may need to allowlist additional URLs.
87
+
88
+
##### Go
89
+
90
+
*`https://go.dev`—For downloading the Go toolchain.
91
+
*`https://golang.org`—Alternate domain for Go downloads.
92
+
*`https://proxy.golang.org`—Official Go module proxy for downloading Go modules during dependency detection.
93
+
94
+
> [!NOTE]
95
+
> The `actions/go-versions` repository is accessed via `https://raw.githubusercontent.com`, which is already covered in the general requirements.
96
+
97
+
##### Java (Maven and Gradle)
98
+
99
+
*`https://repo.maven.apache.org`—Maven Central repository for downloading dependencies.
100
+
*`https://api.adoptium.net`—For downloading Adoptium/Temurin JDK distributions (default distribution used by `actions/setup-java`).
101
+
102
+
If you use a different JDK distribution, you may also need:
103
+
*`https://aka.ms` and `https://download.microsoft.com`—For Microsoft Build of OpenJDK (note: `aka.ms` is also used for .NET downloads).
104
+
*`https://download.oracle.com`—For Oracle JDK.
105
+
*`https://api.azul.com`—For Azul Zulu OpenJDK.
106
+
107
+
##### .NET (C#, F#, Visual Basic)
108
+
109
+
*`https://aka.ms`—Microsoft URL shortener that redirects to .NET download locations.
110
+
*`https://builds.dotnet.microsoft.com`—Primary feed for .NET SDK and runtime downloads.
111
+
*`https://ci.dot.net`—Secondary feed for .NET builds.
112
+
113
+
> [!NOTE]
114
+
> The `microsoft/component-detection` tool used by .NET autosubmission is downloaded from {% data variables.product.github %} releases, which is already covered in the general requirements (`https://github.com` and `https://*.githubusercontent.com`).
> The `actions/python-versions` repository and `microsoft/component-detection` releases are accessed via URLs already covered in the general requirements (`https://*.githubusercontent.com` and `https://github.com`).
122
+
72
123
## Using {% data variables.product.company_short %}-hosted {% data variables.actions.hosted_runners %} for automatic dependency submission
73
124
74
125
{% data variables.product.prodname_team %} or {% data variables.product.prodname_ghe_cloud %} users can use {% data variables.actions.hosted_runners %} to run automatic dependency submissions jobs.
0 commit comments