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

Fix aide setup instruction + SSH v2 check #448

Merged
merged 3 commits into from
Nov 18, 2024

Conversation

tas50
Copy link
Member

@tas50 tas50 commented Nov 17, 2024

More fixes to the Linux policy

This regex was matching on a new Ubuntu release

```
cnquery> package('openssh-server').version
package.version: "1:9.6p1-3ubuntu13.5"
```

Signed-off-by: Tim Smith <[email protected]>
Signed-off-by: Tim Smith <[email protected]>

This comment has been minimized.

Copy link

@check-spelling-bot Report

🔴 Please review

See the 📂 files view, the 📜action log, or 📝 job summary for details.

Unrecognized words (1)

aideinit

To accept these unrecognized words as correct, you could run the following commands

... in a clone of the [email protected]:mondoohq/cnspec-policies.git repository
on the tas50/more_linux_policy_updates_v2 branch (ℹ️ how do I use this?):

curl -s -S -L 'https://raw.githubusercontent.com/check-spelling/check-spelling/v0.0.24/apply.pl' |
perl - 'https://github.com/mondoohq/cnspec-policies/actions/runs/11883247792/attempts/2'
Available 📚 dictionaries could cover words (expected and unrecognized) not in the 📘 dictionary

This includes both expected items (197) from .github/actions/spelling/expect.txt and unrecognized words (1)

Dictionary Entries Covers Uniquely
cspell:node/dict/node.txt 891 9 3
cspell:k8s/dict/k8s.txt 153 3 3
cspell:php/dict/php.txt 1689 7 1
cspell:django/dict/django.txt 393 4 1
cspell:golang/dict/go.txt 2099 3 1

Consider adding them (in .github/workflows/spell-check.yaml) in jobs:/spelling: for uses: check-spelling/[email protected] in its with:

      with:
        extra_dictionaries: |
          cspell:node/dict/node.txt
          cspell:k8s/dict/k8s.txt
          cspell:php/dict/php.txt
          cspell:django/dict/django.txt
          cspell:golang/dict/go.txt

To stop checking additional dictionaries, add (in .github/workflows/spell-check.yaml) for uses: check-spelling/[email protected] in its with:

check_extra_dictionaries: ''
If the flagged items are false positives

If items relate to a ...

  • binary file (or some other file you wouldn't want to check at all).

    Please add a file path to the excludes.txt file matching the containing file.

    File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.

    ^ refers to the file's path from the root of the repository, so ^README\.md$ would exclude README.md (on whichever branch you're using).

  • well-formed pattern.

    If you can write a pattern that would match it,
    try adding it to the patterns.txt file.

    Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines.

    Note that patterns can't match multiline strings.

It doesn't reload on its own

Signed-off-by: Tim Smith <[email protected]>
@tas50 tas50 merged commit 4c55cf8 into main Nov 18, 2024
5 checks passed
@tas50 tas50 deleted the tas50/more_linux_policy_updates_v2 branch November 18, 2024 00:20
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants