Datasets:
|
Download cards/codeql-go-query-tests.md from Battam/training-data-foundation: direct link, hf CLI and curl.
- Browser
- Download file 3.36 kB
-
https://huggingface.co/datasets/Battam/training-data-foundation/resolve/main/cards/codeql-go-query-tests.md
- Command line
-
hf download hf://datasets/Battam/training-data-foundation/cards/codeql-go-query-tests.md
-
curl -L -o codeql-go-query-tests.md https://huggingface.co/datasets/Battam/training-data-foundation/resolve/main/cards/codeql-go-query-tests.md
3.36 kB
CodeQL Go XPath injection test: XPath queries built from user input (codeql-go-query-tests)
Kind: material set (task-ready). Units admitted from one source for building tasks, counted in units: each unit is a group of files its upstream publishes as one thing (unit_id).
1 unit (7 files) from 1 publisher.
Summary from sample files: not judged yet. The text above gives this release's counts of the source.
Domain and form
- Domain:
D8.4(application security and hardening). - Form:
detection-rules. Detection and code-scanning rules (Sigma, YARA, Semgrep, CodeQL and the like) with their own tests and expected findings.
Unit and scale
- 1 unit (7 files).
- Rows: 7.
- Size: Recorded size 35.3 KB; deduplicated size 35.3 KB; size check: 100.0% match (7 of the 7 rows read compared).
- Fetch check: all 7 sampled rows read fetched and matched their recorded size and hash (read 2026-11-17).
- Batches: 1 (
2026-10-s-security-detection-2). Collection: complete.
File types and sizes
| Type | Rows | Size |
|---|---|---|
go |
2 | 8.98 KB |
(none) |
1 | 128 B |
expected |
1 | 22.7 KB |
md |
1 | 2.35 KB |
mod |
1 | 1.05 KB |
qlref |
1 | 137 B |
Size quantiles: unknown (no size distribution recorded for this source).
License and access
- License:
MIT; license tierpermissive(reason codepermissive); training use: yes; redistribution: yes; files may be shipped: yes. - License statement: The units are under MIT, as recorded from their publishers; the licence file is campaign_files/2026-10-s-security-detection-2/codeql-go-query-tests/LICENSE.
- Login: no.
- How to fetch: not recorded on the card; the row's uri is fetched as it is.
Freshness
- Rows are counted for the release of 2026-11-17; the card's own sample and counts date from the card's writing (it has no snapshot date of its own).
Readiness
- Readiness level: not judged yet.
- Card review:
draft(adraftcard has not been reviewed as a whole). - Personal information read from samples: not judged yet.
Query this source at a fixed release
Pinned to the release tag release-2026-11-17.3.
SET VARIABLE files = (SELECT list('hf://datasets/Battam/training-data-foundation@release-2026-11-17.3/' || f) FROM (SELECT unnest(data_files) AS f FROM 'hf://datasets/Battam/training-data-foundation@release-2026-11-17.3/meta/catalog.parquet' WHERE source = 'codeql-go-query-tests'));
SELECT uri, ext, size_bytes, lower(hex(sha256)) AS sha256
FROM read_parquet(getvariable('files'))
WHERE source = 'codeql-go-query-tests'
LIMIT 10;
Sample files
campaign_files/2026-10-s-security-detection-2/codeql-go-query-tests/README.mdcampaign_files/2026-10-s-security-detection-2/codeql-go-query-tests/LICENSE
Parts not to use for tasks
- Parts to leave out: not judged yet.
- Benchmark overlap
none: every data file is compared with the benchmark list, and the default profile oftools/fetch.pyremoves none of the rows.
The card codeql-go-query-tests.yaml (card_version 5) holds every field with its evidence; values shown here as not judged yet have no judgment on the card so far.