Skip to content
Open
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
154 changes: 128 additions & 26 deletions rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ clap = { version = "4.6.1", features = ["derive", "env"] }
futures = "0.3.32"
http-body = "1"
http-body-util = "0.1.3"
hyper = { version = "1", features = ["full"] }
hyper-util = { version = "0", features = ["tokio"] }
insta = { version = "1.48.0", features = ["redactions", "ron", "toml"] }
rustls = "0.23.41"
serde = { version = "1.0", features = ["derive"] }
Expand All @@ -34,6 +32,10 @@ once_cell = "1"
aes = "0.8.4"
aes-gcm = { version = "0.10.3" }
async-trait = "0.1.89"
axum = { version = "0.8", features = ["json", "macros"] }
axum-server = { version = "0.8", features = ["tls-rustls"] }
tower = { version = "0.5.3", features = ["limit", "util"] }
tower-service = { version = "0.3.3" }
base64 = "0.22.1"
blowfish = "0.9.1"
cbc = { version = "0.1.2", features = ["alloc"] }
Expand Down Expand Up @@ -91,8 +93,6 @@ ripemd = "0.2.0"
rsa = { version = "0.9.10", features = ["hazmat"] }
russh = "0.61"
rustls-native-certs = "0.8.4"
signal-hook-tokio = { version = "0.4.0", features = ["futures-v0_3"] }
signal-hook = "0.4.4"
search_path = "0.1.4"
sequoia-ipc = "0.36.1"
sequoia-openpgp = { version = "2.3.0", default-features = false, features = [
Expand All @@ -116,8 +116,6 @@ clap = { workspace = true }
futures = { workspace = true }
http-body = { workspace = true }
http-body-util = { workspace = true }
hyper = { workspace = true }
hyper-util = { workspace = true }
rustls = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
Expand Down
3 changes: 3 additions & 0 deletions rust/data/tests/scanner/config/basic_feed.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ lock_file_dir = "/tmp/"
[notus]
products_path = 'examples/feed/notus/products'
advisories_path = 'examples/feed/notus/advisories'

[endpoints]
enable_get_scans = true
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ max_connections = 1

[container_image_scanner.image]
batch_size = 1

[endpoints]
enable_get_scans = true
2 changes: 1 addition & 1 deletion rust/src/openvasd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Options:
--tls-client-certs <tls-client-certs>
path to client tls certs. Enables mtls. [env: TLS_CLIENT_CERTS=]
--enable-get-scans [<enable-get-scans>]
enable get scans endpoint. Default 'true'. [env: ENABLE_GET_SCANS=] [possible values: true, false]
enable get scans endpoint. Default 'false'. [env: ENABLE_GET_SCANS=] [possible values: true, false]
--enable-get-performance [<enable-get-performance>]
enable get performance endpoint. Default 'false'. [env: ENABLE_GET_PERFORMANCE=] [possible values: true, false]
--api-key <api-key>
Expand Down
Loading
Loading