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/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/creating-and-working-with-codeql-packs.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ You can use the `pack` command in the {% data variables.product.prodname_codeql_
35
35
For more information about compatibility between published query packs and different {% data variables.product.prodname_codeql %} releases, see "[AUTOTITLE](/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/publishing-and-using-codeql-packs#about-codeql-pack-compatibility)."
36
36
{% endif %}
37
37
38
-
The standard {% data variables.product.prodname_codeql %} packages for all supported languages are published in the [{% data variables.product.prodname_container_registry %}](https://github.com/orgs/codeql/packages). The [{% data variables.product.prodname_codeql %} repository](https://github.com/github/codeql) contains source files for the standard {% data variables.product.prodname_codeql %} packs for all supported languages. The core query packs, which are included in the CodeQL CLI bundle, but you can otherwise download, are:
38
+
The standard {% data variables.product.prodname_codeql %} packages for all supported languages are published in the [{% data variables.product.prodname_container_registry %}](https://github.com/orgs/codeql/packages). The [{% data variables.product.prodname_codeql %} repository](https://github.com/github/codeql) contains source files for the standard {% data variables.product.prodname_codeql %} packs for all supported languages. The core query packs, which are included in the {% data variables.product.prodname_codeql %} CLI bundle, but you can otherwise download, are:
Copy file name to clipboardExpand all lines: content/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/creating-codeql-query-suites.md
-17Lines changed: 0 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -374,28 +374,11 @@ instruction:
374
374
- description: <name-of-query-suite>
375
375
```
376
376
377
-
This value is displayed when you run [AUTOTITLE](/code-security/codeql-cli/codeql-cli-manual/resolve-queries), if the suite is added to a "well-known"
378
-
directory. For more information, see "[Specifying well-known query suites](#specifying-well-known-query-suites)."
379
-
380
-
{% ifversion codeql-packs %}
381
-
382
377
## Saving a query suite
383
378
384
379
Save your query suite in a file with a `.qls` extension and add it to a {% data variables.product.prodname_codeql %}
385
380
pack. For more information, see "[AUTOTITLE](/code-security/codeql-cli/getting-started-with-the-codeql-cli/customizing-analysis-with-codeql-packs#custom-codeql-packs)."
386
381
387
-
## Specifying well-known query suites
388
-
389
-
You can use {% data variables.product.prodname_codeql %} packs to declare directories that contain "well-known" query
390
-
suites. You can use "well-known" query suites on the command line by referring
391
-
to their file name,
392
-
without providing their full path. This gives you a simple way of specifying a
393
-
set of queries, without needing to search inside {% data variables.product.prodname_codeql %} packs and distributions.
394
-
To declare a directory that contains "well-known" query suites, add the directory
395
-
to the `suites` property in the `qlpack.yml` file at the root of your {% data variables.product.prodname_codeql %} pack.
396
-
For more information, see "[AUTOTITLE](/code-security/codeql-cli/getting-started-with-the-codeql-cli/customizing-analysis-with-codeql-packs#codeqlpack-yml-properties)."
397
-
{% endif %}
398
-
399
382
## Using query suites with {% data variables.product.prodname_codeql %}
400
383
401
384
You can specify query suites on the command line for any command that accepts
Copy file name to clipboardExpand all lines: content/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/publishing-and-using-codeql-packs.md
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -300,12 +300,9 @@ The following properties are supported in `qlpack.yml` files.
300
300
301
301
#### `suites`
302
302
303
-
- Optional for packs that define query suites.
304
-
- Defines the path to a directory in the pack that contains the query suites you want to make known to the {% data variables.product.prodname_codeql_cli %}, defined relative to the pack directory. {% data variables.product.prodname_codeql %} pack users can run "well-known" suites stored in this directory by specifying the pack name, without providing their full path. This is not supported for {% data variables.product.prodname_codeql %} packs downloaded from the Container registry. For more information about query suites, see "[AUTOTITLE](/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/creating-codeql-query-suites)." For example:
305
-
306
-
```yaml
307
-
suites: octo-org-query-suites
308
-
```
303
+
- Optional for packs that define query suites. This allows users to run query suites stored in the specified directory by specifying the pack name, without providing the full path.
304
+
- Currently supported only for the standard query packs included in {% data variables.product.prodname_codeql %} CLI bundle.
305
+
- This option is not supported for {% data variables.product.prodname_codeql %} packs downloaded from the {% data variables.product.prodname_dotcom %} container registry.
309
306
310
307
#### `tests`
311
308
@@ -447,13 +444,10 @@ version: 1.2.3
447
444
dependencies:
448
445
codeql/cpp-all: ^0.1.2
449
446
my-github-user/my-custom-libraries: ^1.2.3
450
-
suites: my-custom-suites
451
447
```
452
448
453
449
where `codeql/cpp-all` is the name of the {% data variables.product.prodname_codeql %} pack for C/C++ analysis included in the {% data variables.product.prodname_codeql %} repository. The version range `^0.1.2` indicates that this pack is compatible with all versions of `codeql/cpp-all` that are greater than or equal to `0.1.2` and less than `0.2.0`. `my-github-user/my-custom-libraries` is the name of a {% data variables.product.prodname_codeql %} pack containing custom {% data variables.product.prodname_codeql %} libraries for C++. Any {% data variables.product.prodname_codeql %} library file (a file with a `.qll` extension) defined in this pack will be available to queries in the `my-github-user/my-custom-queries` pack.
454
450
455
-
The `suites` property indicates a directory where "well-known" query suites can be found. These suites can be used on the command line by referring to their name only, rather than their full path. For more information about query suites, see "[AUTOTITLE](/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/creating-codeql-query-suites)."
456
-
457
451
### {% data variables.product.prodname_codeql %} packs for custom tests
458
452
459
453
For custom {% data variables.product.prodname_codeql %} packs containing test files, you also need to include an
Copy file name to clipboardExpand all lines: content/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/testing-query-help-files.md
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,7 @@ You can test query help files by running the following command:
- the path to a directory containing queries and query help files.
47
-
- the path to a query suite, or the name of a well-known query suite for a {% data variables.product.prodname_codeql %} pack. For more information, see "[AUTOTITLE](/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/creating-codeql-query-suites)."
42
+
For this command `<qhelp|query|dir|suite>` must be the path to a `.qhelp` file, the path to a `.ql` file, the path to a directory containing queries and query help files, or the path to a query suite.
48
43
49
44
You must specify a `--format` option, which defines how the query help is rendered. Currently, you must specify `markdown` to render the query help as markdown.
Copy file name to clipboardExpand all lines: content/copilot/github-copilot-enterprise/overview/about-github-copilot-enterprise.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,6 @@ These features are in beta and subject to change. Additional features will be ad
30
30
31
31
You can nominate an enterprise that you're a member of for the [{% data variables.product.prodname_copilot_enterprise_short %} waitlist](https://github.com/github-copilot/copilot_enterprise_waitlist_signup/join). To join the waitlist, the enterprise must use {% data variables.product.prodname_ghe_cloud %} and have an active {% data variables.product.prodname_copilot_for_business %} subscription.
32
32
33
-
Nominating an enterprise for the waitlist does not guarantee access. By signing up to the waitlist, you are agreeing to the pre-release license terms. For more information, see "[AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-copilot-pre-release-license-terms)."
33
+
Nominating an enterprise for the waitlist does not guarantee access. By signing up to the waitlist, you are agreeing to the pre-release license terms. For more information, see "[AUTOTITLE](/free-pro-team@latest/site-policy/github-terms/github-pre-release-license-terms)."
34
34
35
35
If an enterprise is granted access to the {% data variables.product.prodname_copilot_enterprise_short %} beta, an administrator must enable the features before members can start using them. For more information, see {% ifversion ghec %}"[AUTOTITLE](/copilot/github-copilot-enterprise/overview/enabling-github-copilot-enterprise)."{% elsif fpt %}"[AUTOTITLE](/enterprise-cloud@latest/copilot/github-copilot-enterprise/overview/enabling-github-copilot-enterprise)" in the {% data variables.product.prodname_ghe_cloud %} documentation.{% endif %}
These terms apply to the pre-release software made available to you by GitHub. To the extent there is a conflict between these terms and any other Agreement you have with us, these terms govern.
17
18
@@ -38,17 +39,17 @@ These terms apply to the pre-release software made available to you by GitHub. T
38
39
Unless applicable law gives you more rights despite this limitation, you may use the software only as expressly permitted in this Agreement. In doing so, you must comply with any technical limitations in the software that only allow you to use it in certain ways. You may not:
39
40
40
41
a. work around any technical limitations in the software;
41
-
42
+
42
43
b. reverse engineer, decompile, or disassemble the software, or otherwise attempt to derive the source code for the software, except to the extent required by applicable third party licensing terms governing use of certain open source components that may be included in the software;
43
-
44
+
44
45
c. remove, minimize, block, or modify any notices of GitHub or its suppliers in the software;
45
-
46
+
46
47
d. share, publish, or lease the software;
47
-
48
+
48
49
e. provide the software as a stand-alone offering or combine it with any of your applications for others to use;
49
-
50
+
50
51
f. transfer the software or these terms to any third party; or
51
-
52
+
52
53
g. use the software to create or propagate malware, or in any way that is against the law
53
54
54
55
## 4. Data Collection and Usage.
@@ -57,7 +58,7 @@ These terms apply to the pre-release software made available to you by GitHub. T
57
58
58
59
b. **Use of Collected Data.** GitHub will use collected data for analytics and measurement to understand how our pre-release software and related products are used. The software will collect data and usage information about events generated when interacting with it. These events help us analyze and measure performance and features used. This usage information is used by GitHub and may be shared with affiliates and other third parties to help deliver, develop, evaluate, and improve the software and related products. We analyze data to ensure the pre-release software is working as intended, to evaluate the safety, reliability, and user experience of the software, and to investigate and detect potential abuse. We may combine the information we collect from the pre-release software with other data.
59
60
60
-
c. **Processing of Personal Data.** GitHub is the data controller in relation to the Personal Data processed in connection with the pre-release software.
61
+
c. **Processing of Personal Data.** GitHub is the data controller in relation to the Personal Data processed in connection with the pre-release software.
61
62
62
63
d. **Data Collection by You.** There may be some features in the pre-release software that enable you and GitHub to collect data from users of your applications. If you use these features, you must comply with all applicable laws on data collection, including providing appropriate notices to users of your applications as well as a copy of GitHub’s Privacy Statement. You can learn more about data collection and use in the software documentation.
0 commit comments