save grype db cache on updates to avoid using stale cache db #421
docker-image-scan.yml
on: pull_request
Test Scan Docker Image
2m 16s
Download SBOM
5s
Annotations
39 warnings and 2 notices
Test Scan Docker Image
Failed minimum severity level. Found vulnerabilities with level 'critical' or higher
|
Test Scan Docker Image
Failed minimum severity level. Found vulnerabilities with level 'critical' or higher
|
Test Scan Docker Image
Failed minimum severity level. Found vulnerabilities with level 'critical' or higher
|
Test Scan Docker Image
Failed minimum severity level. Found vulnerabilities with level 'critical' or higher
|
Test Scan Docker Image
Failed minimum severity level. Found vulnerabilities with level 'critical' or higher
|
Test Scan Docker Image
Failed minimum severity level. Found vulnerabilities with level 'critical' or higher
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L198
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:198:1
|
198 | / pub unsafe extern "C" fn context_get_result(
199 | | context: &Context,
200 | | uuid_hex: *mut u8,
201 | | matched_field: *const i8,
... |
207 | | capture_values_len: *mut usize,
208 | | ) -> isize {
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L193
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:193:1
|
193 | pub unsafe extern "C" fn context_reset(context: &mut Context) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L167
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:167:1
|
167 | / pub unsafe extern "C" fn context_add_value(
168 | | context: &mut Context,
169 | | field: *const i8,
170 | | value: &CValue,
171 | | errbuf: *mut u8,
172 | | errbuf_len: *mut usize,
173 | | ) -> bool {
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L162
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:162:1
|
162 | pub unsafe extern "C" fn context_free(context: *mut Context) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L157
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:157:1
|
157 | pub unsafe extern "C" fn context_new(schema: &Schema) -> *mut Context {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L135
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:135:1
|
135 | / pub unsafe extern "C" fn router_get_fields(
136 | | router: &Router,
137 | | fields: *mut *const u8,
138 | | fields_len: *mut usize,
139 | | ) -> usize {
| |__________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L130
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:130:1
|
130 | pub unsafe extern "C" fn router_execute(router: &Router, context: &mut Context) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L118
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:118:1
|
118 | / pub unsafe extern "C" fn router_remove_matcher(
119 | | router: &mut Router,
120 | | priority: usize,
121 | | uuid: *const i8,
122 | | ) -> bool {
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L92
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:92:1
|
92 | / pub unsafe extern "C" fn router_add_matcher(
93 | | router: &mut Router,
94 | | priority: usize,
95 | | uuid: *const i8,
... |
98 | | errbuf_len: *mut usize,
99 | | ) -> bool {
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L86
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:86:1
|
86 | pub unsafe extern "C" fn router_free(router: *mut Router) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L81
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:81:1
|
81 | pub unsafe extern "C" fn router_new(schema: &Schema) -> *mut Router {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L72
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:72:1
|
72 | pub unsafe extern "C" fn schema_add_field(schema: &mut Schema, field: *const i8, typ: Type) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
|
unsafe function's docs miss `# Safety` section:
src/ffi.rs#L67
warning: unsafe function's docs miss `# Safety` section
--> src/ffi.rs:67:1
|
67 | pub unsafe extern "C" fn schema_free(schema: *mut Schema) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: `-W clippy::missing-safety-doc` implied by `-W clippy::style`
= help: to override `-W clippy::style` add `#[allow(clippy::missing_safety_doc)]`
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L313
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:313:31
|
313 | pub fn parse(source: &str) -> ParseResult<Expression> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L296
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:296:69
|
296 | fn parse_expression(pair: Pair<Rule>, pratt: &PrattParser<Rule>) -> ParseResult<Expression> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L284
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:284:63
|
284 | fn parse_term(pair: Pair<Rule>, pratt: &PrattParser<Rule>) -> ParseResult<Expression> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L270
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:270:6
|
270 | ) -> ParseResult<Expression> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L223
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:223:46
|
223 | fn parse_transform_func(pair: Pair<Rule>) -> ParseResult<Lhs> {
| ^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L188
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:188:41
|
188 | fn parse_predicate(pair: Pair<Rule>) -> ParseResult<Predicate> {
| ^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L166
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:166:43
|
166 | fn parse_int_literal(pair: Pair<Rule>) -> ParseResult<i64> {
| ^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L162
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:162:44
|
162 | fn parse_ipv6_literal(pair: Pair<Rule>) -> ParseResult<Ipv6Addr> {
| ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L159
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:159:44
|
159 | fn parse_ipv4_literal(pair: Pair<Rule>) -> ParseResult<Ipv4Addr> {
| ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L156
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:156:49
|
156 | fn parse_ipv6_cidr_literal(pair: Pair<Rule>) -> ParseResult<Ipv6Cidr> {
| ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L153
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:153:49
|
153 | fn parse_ipv4_cidr_literal(pair: Pair<Rule>) -> ParseResult<Ipv4Cidr> {
| ^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L126
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:126:46
|
126 | fn parse_rawstr_literal(pair: Pair<Rule>) -> ParseResult<String> {
| ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L110
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:110:43
|
110 | fn parse_str_literal(pair: Pair<Rule>) -> ParseResult<String> {
| ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L93
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:93:35
|
93 | fn parse_rhs(pair: Pair<Rule>) -> ParseResult<Value> {
| ^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L76
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:76:35
|
76 | fn parse_lhs(pair: Pair<Rule>) -> ParseResult<Lhs> {
| ^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L73
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:73:37
|
73 | fn parse_ident(pair: Pair<Rule>) -> ParseResult<String> {
| ^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L62
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:62:50
|
62 | fn parse_matcher(&mut self, source: &str) -> ParseResult<Expression> {
| ^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
|
the `Err`-variant returned from this function is very large:
src/parser.rs#L21
warning: the `Err`-variant returned from this function is very large
--> src/parser.rs:21:54
|
21 | fn into_parse_result(self, pair: &Pair<Rule>) -> ParseResult<T>;
| ^^^^^^^^^^^^^^ the `Err`-variant is at least 264 bytes
|
= help: try reducing the size of `parser::pest::error::Error<parser::Rule>`, for example by boxing large elements or replacing it with `Box<parser::pest::error::Error<parser::Rule>>`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_large_err
= note: `#[warn(clippy::result_large_err)]` on by default
|
package `atc-router` is missing `package.categories` metadata:
src/lib.rs#L1
warning: package `atc-router` is missing `package.categories` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
|
package `atc-router` is missing `package.keywords` metadata:
src/lib.rs#L1
warning: package `atc-router` is missing `package.keywords` metadata
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cargo_common_metadata
= note: `-W clippy::cargo-common-metadata` implied by `-W clippy::cargo`
= help: to override `-W clippy::cargo` add `#[allow(clippy::cargo_common_metadata)]`
|
Test Scan Docker Image
Grype DB is updated succesfully
|
Test Scan Docker Image
Grype DB is updated succesfully
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
kong-gateway-dev-linux-amd64-cis-report.json
Expired
|
710 Bytes |
|
kong-gateway-dev-linux-amd64-cve-report.json
Expired
|
204 Bytes |
|
kong-gateway-dev-linux-amd64-cve-report.sarif
Expired
|
206 Bytes |
|
kong-gateway-dev-linux-amd64-sbom.cyclonedx.json
Expired
|
26.7 KB |
|
kong-gateway-dev-linux-amd64-sbom.spdx.json
Expired
|
1.07 MB |
|
test.kong-gateway-dev-linux-arm64-cis-report.json
Expired
|
720 Bytes |
|
test.kong-gateway-dev-linux-arm64-cve-report.json
Expired
|
214 Bytes |
|
test.kong-gateway-dev-linux-arm64-cve-report.sarif
Expired
|
216 Bytes |
|
test.kong-gateway-dev-linux-arm64-sbom.cyclonedx.json
Expired
|
26.7 KB |
|
test.kong-gateway-dev-linux-arm64-sbom.spdx.json
Expired
|
1.07 MB |
|