-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Spelling #1375
base: main
Are you sure you want to change the base?
Spelling #1375
Changes from all commits
b508531
f770eaf
344c512
01f574e
a9530f0
df8296f
c32672c
f75bd10
7b0ecb5
4b2249b
2c17a77
aff5627
d3ef82f
5b2c020
1dfaefb
08e89cc
7b75081
d785cc2
e5ff8e8
4188d0c
79e1ae7
2ab7cac
2a9b5e3
7bc3f7f
52b04eb
7e600b8
a87859c
8e50f9a
2a477e8
2db3e1c
faf1efc
13829e5
cdf1a8b
e845a85
c22a00c
e2ad9c0
6c6c3e4
355ee3a
c84dbe7
8e025b3
627d450
790ac14
6d113f6
8ee4393
9d012bd
765d63e
b84dd70
e698321
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
ClairV4 implements a notification system. | ||
|
||
The notifier service will keep track of new security database updates and inform an interested client if new or removed vulnerabilites affect an indexed manifest. | ||
The notifier service will keep track of new security database updates and inform an interested client if new or removed vulnerabilities affect an indexed manifest. | ||
|
||
The interested client can subscribe to notifications via several mechanisms: | ||
* Webhook delivery | ||
|
@@ -58,7 +58,7 @@ When you configure notifier for webhook delivery you provide the service with th | |
When the notifier has determined an updated security database has changed the affected status of an indexed manifest, it will deliver the following JSON body to the configured target: | ||
```json | ||
{ | ||
"notifiction_id": {uuid_string}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ? |
||
"notification_id": {uuid_string}, | ||
"callback": {url_to_notifications} | ||
} | ||
``` | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Contribuion | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change will break external deep links to this anchor. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's fine, they'll end up dumped in the same spot. |
||
# Contribution | ||
The following sections provides information on how to contribute to Clair. | ||
|
||
- [Commit Style](./contribution/commit_style.md) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ title: ClairV4 v0.1 | |
language_tabs: | ||
- python: Python | ||
- go: Golang | ||
- javascript: Javascript | ||
- javascript: JavaScript | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. appears harmless |
||
language_clients: | ||
- python: "" | ||
- go: "" | ||
|
@@ -1184,7 +1184,7 @@ Notification | |
|---|---|---|---|---| | ||
|id|string|false|none|a unique identifier for this notification| | ||
|manifest|string|false|none|The hash of the manifest affected by the provided vulnerability.| | ||
|reason|string|false|none|the reason for the notifcation, [added | removed]| | ||
|reason|string|false|none|the reason for the notification, [added | removed]| | ||
|vulnerability|[VulnSummary](#schemavulnsummary)|false|none|A summary of a vulnerability| | ||
|
||
<h2 id="tocS_Environment">Environment</h2> | ||
|
@@ -1285,7 +1285,7 @@ IndexReport | |
|» **additionalProperties**|[Distribution](#schemadistribution)|false|none|An indexed distribution discovered in a layer. See<br>https://www.freedesktop.org/software/systemd/man/os-release.html<br>for explanations and example of fields.| | ||
|environments|object|true|none|A map of lists containing Environment objects keyed by the<br>associated Package.id.| | ||
|» **additionalProperties**|[[Environment](#schemaenvironment)]|false|none|[The environment a particular package was discovered in.]| | ||
|success|boolean|true|none|A bool indicating succcessful index| | ||
|success|boolean|true|none|A bool indicating successful index| | ||
|err|string|true|none|An error message on event of unsuccessful index| | ||
|
||
<h2 id="tocS_VulnerabilityReport">VulnerabilityReport</h2> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -564,7 +564,7 @@ An address in `<host>:<post>` syntax where traces can be submitted. | |
#### `$.trace.jaeger.collector.username` | ||
a string value | ||
|
||
#### `$.trace.jaeger.collector.passwordd` | ||
#### `$.trace.jaeger.collector.password` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a noteworthy bug fix |
||
a string value | ||
|
||
#### `$.trace.jaeger.service_name` | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,19 +76,19 @@ notifier: | |
callback: "http://clair-notifier/notifier/api/v1/notifications" | ||
tls: | ||
root_ca: "optional/path/to/rootca" | ||
cert: "madatory/path/to/cert" | ||
key: "madatory/path/to/key" | ||
cert: "mandatory/path/to/cert" | ||
key: "mandatory/path/to/key" | ||
stomp: | ||
desitnation: "notifications" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ? |
||
destination: "notifications" | ||
direct: false | ||
callback: "http://clair-notifier/notifier/api/v1/notifications" | ||
login: | ||
login: "username" | ||
passcode: "passcode" | ||
tls: | ||
root_ca: "optional/path/to/rootca" | ||
cert: "madatory/path/to/cert" | ||
key: "madatory/path/to/key" | ||
cert: "mandatory/path/to/cert" | ||
key: "mandatory/path/to/key" | ||
|
||
|
||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ func TestDiscoveryEndpoint(t *testing.T) { | |
if _, ok := m["openapi"]; !ok { | ||
t.Fatalf("returned json did not container openapi key at the root") | ||
} | ||
t.Logf("openapi verion: %v", m["openapi"]) | ||
t.Logf("openapi version: %v", m["openapi"]) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Logging output change |
||
} | ||
|
||
func TestDiscoveryFailure(t *testing.T) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not entirely certain