Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add owenrumney/squealer #9805

Merged
merged 2 commits into from
Feb 11, 2023

Conversation

CrystalMethod
Copy link
Contributor

owenrumney/squealer: Telling tales on you for leaking secrets

$ aqua g -i owenrumney/squealer

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

$ squealer --help
Telling tales on your secret leaking

Usage:
  squealer [flags]

Flags:
      --commits-file string    Provide a file with the commits to check per line (git rev-list master..HEAD)
      --concise                Reduced output.
      --config-file string     Path to the config file with the rules.
      --debug                  Include debug output.
      --everything             Scan all commits.... everywhere.
      --from-hash string       The hash to work back to from the starting hash.
  -h, --help                   help for squealer
      --no-git                 Scan as a directory rather than a git history.
  -f, --output-format string   The format that the output should come in (default, json, sarif.
      --redacted               Display the results redacted.
      --to-hash string         The most recent hash to start with.

[owenrumney/squealer](https://github.com/owenrumney/squealer): Telling tales on you for leaking secrets

```console
$ aqua g -i owenrumney/squealer
```

## How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

```console
$
```

If files such as configuration file are needed, please share them.

```
```

Reference

-
@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label Feb 11, 2023
@suzuki-shunsuke
Copy link
Member

Thanks!

@suzuki-shunsuke suzuki-shunsuke added this to the v3.130.0 milestone Feb 11, 2023
@suzuki-shunsuke suzuki-shunsuke merged commit 7b2509d into aquaproj:main Feb 11, 2023
@suzuki-shunsuke
Copy link
Member

@CrystalMethod CrystalMethod deleted the feat/owenrumney/squealer branch February 11, 2023 11:33
@CrystalMethod
Copy link
Contributor Author

out of curiosity: how do you identify old versions where a correction is needed?

@suzuki-shunsuke
Copy link
Member

I mainly check the number of assets of each release.
If the number of assets is changed, probably the setting is changed.
And I check release pages by the binary search method.

@suzuki-shunsuke
Copy link
Member

aqua gr supports specifying the version. This is useful to support old versions.

$ aqua gr owenrumney/squealer@v0.2.24
packages:
  - type: github_release
    repo_owner: owenrumney
    repo_name: squealer
    asset: squealer.{{.OS}}.{{.Arch}}
    format: raw
    description: Telling tales on you for leaking secrets
    supported_envs:
      - darwin
      - amd64
    rosetta2: true
    checksum:
      type: github_release
      asset: squealer_checksums.txt
      file_format: regexp
      algorithm: sha256
      pattern:
        checksum: "^(\\b[A-Fa-f0-9]{64}\\b)"
        file: "^\\b[A-Fa-f0-9]{64}\\b\\s+(\\S+)$"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants