yq is a portable command-line YAML, JSON, XML, CSV, TOML, HCL and properties processor
16 matches across 5 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | acceptance_tests/nul-separator.sh | 81 | testBasicUsageRaw() { |
| LOW | examples/data2.yaml | 1 | # -------------------------------------------------- |
| LOW | scripts/extract-checksum.sh | 1 | #!/bin/bash |
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need |
| LOW | .github/workflows/codeql.yml | 61 | # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun |
| LOW | .github/workflows/scorecard.yml | 41 | - name: "Run analysis" |
| LOW | pkg/yqlib/encoder_shellvariables.go | 101 | // Since yaml names can contain basically any character, we will process them according to these steps: |
| LOW | pkg/yqlib/goccy_yaml_test.go | 101 | // description: "basic - head comment", |
| LOW | pkg/yqlib/goccy_yaml_test.go | 161 | // description: "doc separator", |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | examples/sample.tf | 19 | # Define an S3 bucket resource |
| MEDIUM | scripts/release-deb.sh | 106 | # Define the folders with the source project and the build artifacts and files |
| MEDIUM | scripts/coverage.sh | 16 | # Create a simple approach using grep and sed to extract file coverage |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | pkg/yqlib/encoder_kyaml.go | 127 | // and this ensures all quoted strings have a trailing `",` as requested. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | examples/data2.yaml | 1 | # -------------------------------------------------- |
| MEDIUM | examples/data2.yaml | 3 | # -------------------------------------------------- |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | scripts/coverage.sh | 38 | # Display results with status indicators |