Skip to content

Commit

Permalink
Fix spelling in schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 5, 2024
1 parent 836f464 commit a5152b7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
4 changes: 4 additions & 0 deletions .github/spell-ignore-words.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Snyk
dpkg
pipenv
datasource
8 changes: 4 additions & 4 deletions AUDIT-CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
- **Items** _(string)_
- **`pipenv-sync-arguments`** _(array)_: Arguments to pass to pipenv sync. Default: `[]`.
- **Items** _(string)_
- **`monitor-arguments`** _(array)_: Arguments to pass to snyk monitor. Default: `["--all-projects"]`.
- **`monitor-arguments`** _(array)_: Arguments to pass to Snyk monitor. Default: `["--all-projects"]`.
- **Items** _(string)_
- **`test-arguments`** _(array)_: Arguments to pass to snyk test. Default: `["--all-projects", "--severity-threshold=medium"]`.
- **`test-arguments`** _(array)_: Arguments to pass to Snyk test. Default: `["--all-projects", "--severity-threshold=medium"]`.
- **Items** _(string)_
- **`fix-arguments`** _(array)_: Arguments to pass to snyk fix. Default: `["--all-projects"]`.
- **`fix-arguments`** _(array)_: Arguments to pass to Snyk fix. Default: `["--all-projects"]`.
- **Items** _(string)_
- **`dpkg`** _(object)_: Cannot contain additional properties.
- **`enabled`** _(boolean)_: Enable Dpkg audit. Default: `true`.
- **`enabled`** _(boolean)_: Enable dpkg audit. Default: `true`.
- **`sources`** _(object)_: Can contain additional properties. Default: `{"ubuntu_22_04": [{"url": "http://archive.ubuntu.com/ubuntu", "distribution": "jammy", "components": ["main", "restricted", "universe", "multiverse"]}, {"url": "http://security.ubuntu.com/ubuntu", "distribution": "jammy-security", "components": ["main", "restricted", "universe", "multiverse"]}, {"url": "http://security.ubuntu.com/ubuntu", "distribution": "jammy-updates", "components": ["main", "restricted", "universe", "multiverse"]}], "ubuntu_24_04": [{"url": "http://archive.ubuntu.com/ubuntu", "distribution": "noble", "components": ["main", "restricted", "universe", "multiverse"]}, {"url": "http://security.ubuntu.com/ubuntu", "distribution": "noble-security", "components": ["main", "restricted", "universe", "multiverse"]}, {"url": "http://security.ubuntu.com/ubuntu", "distribution": "noble-updates", "components": ["main", "restricted", "universe", "multiverse"]}], "debian_11": [{"url": "http://deb.debian.org/debian", "distribution": "bullseye", "components": ["main", "contrib", "non-free"]}, {"url": "http://deb.debian.org/debian", "distribution": "bullseye-updates", "components": ["main", "contrib", "non-free"]}, {"url": "http://security.debian.org/debian-security", "distribution": "bullseye-security", "components": ["main", "contrib", "non-free"]}], "debian_12": [{"url": "http://deb.debian.org/debian", "distribution": "bookworm", "components": ["main", "contrib", "non-free"]}, {"url": "http://deb.debian.org/debian", "distribution": "bookworm-updates", "components": ["main", "contrib", "non-free"]}, {"url": "http://security.debian.org/debian-security", "distribution": "bookworm-security", "components": ["main", "contrib", "non-free"]}]}`.
- **Additional properties** _(array)_
- **Items** _(object)_
Expand Down
10 changes: 5 additions & 5 deletions github_app_geo_project/module/audit/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ class DpkgConfiguration(TypedDict, total=False):

enabled: bool
"""
Enable Dpkg.
Enable dpkg.
Enable Dpkg audit
Enable dpkg audit
default: True
"""
Expand Down Expand Up @@ -262,22 +262,22 @@ class DpkgConfiguration(TypedDict, total=False):
"pipenv-sync-arguments": list[str],
# Snyk monitor arguments.
#
# Arguments to pass to snyk monitor
# Arguments to pass to Snyk monitor
#
# default:
# - --all-projects
"monitor-arguments": list[str],
# Snyk test arguments.
#
# Arguments to pass to snyk test
# Arguments to pass to Snyk test
#
# default:
# - --all-projects
# - --severity-threshold=medium
"test-arguments": list[str],
# Snyk fix arguments.
#
# Arguments to pass to snyk fix
# Arguments to pass to Snyk fix
#
# default:
# - --all-projects
Expand Down
10 changes: 5 additions & 5 deletions github_app_geo_project/module/audit/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"monitor-arguments": {
"type": "array",
"title": "Snyk monitor arguments",
"description": "Arguments to pass to snyk monitor",
"description": "Arguments to pass to Snyk monitor",
"default": ["--all-projects"],
"items": {
"type": "string"
Expand All @@ -60,7 +60,7 @@
"test-arguments": {
"type": "array",
"title": "Snyk test arguments",
"description": "Arguments to pass to snyk test",
"description": "Arguments to pass to Snyk test",
"default": ["--all-projects", "--severity-threshold=medium"],
"items": {
"type": "string"
Expand All @@ -69,7 +69,7 @@
"fix-arguments": {
"type": "array",
"title": "Snyk fix arguments",
"description": "Arguments to pass to snyk fix",
"description": "Arguments to pass to Snyk fix",
"default": ["--all-projects"],
"items": {
"type": "string"
Expand All @@ -84,8 +84,8 @@
"properties": {
"enabled": {
"type": "boolean",
"title": "Enable Dpkg",
"description": "Enable Dpkg audit",
"title": "Enable dpkg",
"description": "Enable dpkg audit",
"default": true
},
"sources": {
Expand Down

0 comments on commit a5152b7

Please sign in to comment.