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 typos #1790

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions rust/examples/openvasd/config.example.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Openvasd contains several modes to control the behaviour of it.
# Openvasd contains several modes to control the behavior of it.
# Service enables nasl and notus feed observations all endpoints.
mode = "service"
# Notus disables /scan endpoints and just observes the notus feed.
Expand All @@ -7,7 +7,7 @@ mode = "service"
[feed]
# Path to the openvas feed. This is required for the /vts endpoint.
path = "/var/lib/openvas/plugins"
# Disables or enables the signnature check
# Disables or enables the signature check
signature_check = true

[feed.check_interval]
Expand Down Expand Up @@ -88,7 +88,7 @@ url = "redis://localhost:6379"
[storage.fs]
# Sets the storage root directory if the storage.type is set to `fs`.
path = "/var/lib/openvasd/storage"
# Sets the key used to ecrypt the storage data. It is recommended to set it via the `STORAGE_KEY` environment variable.
# Sets the key used to encrypt the storage data. It is recommended to set it via the `STORAGE_KEY` environment variable.
#key = "changeme"

[scheduler]
Expand Down
2 changes: 1 addition & 1 deletion rust/src/storage/item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ impl From<QodType> for i64 {
pub type TagValue = types::Primitive;

impl TagValue {
/// Parhse the given Value based on the key to TagValue
/// Parse the given Value based on the key to TagValue
// TODO move naslvalue out of syntax to own crate so we can use it here
pub fn parse<V: ToString>(key: TagKey, value: V) -> Result<Self, StorageError> {
let error = || StorageError::UnexpectedData(format!("{key:?} => {}", value.to_string()));
Expand Down
Loading