Compare commits

...

2 Commits

Author SHA1 Message Date
Lucas Bickel d43c1f16c0
docs: fix typo in README.md (#293)
Signed-off-by: Lucas Bickel <hairmare@purplehaze.ch>
5 months ago
Martin Kemp 5f1841df8d
Update Trivy to 0.48.1 (#291)
* Update Trivy to 0.48.1

Signed-off-by: Martin Kemp <me@martinke.mp>

* update tests

---------

Signed-off-by: Martin Kemp <me@martinke.mp>
Co-authored-by: Simar <simar@linux.com>
5 months ago

@ -1,7 +1,7 @@
name: "build"
on: [push, pull_request]
env:
TRIVY_VERSION: 0.48.0
TRIVY_VERSION: 0.48.1
BATS_LIB_PATH: '/usr/lib/'
jobs:
build:

@ -1,4 +1,4 @@
FROM ghcr.io/aquasecurity/trivy:0.48.0
FROM ghcr.io/aquasecurity/trivy:0.48.1
COPY entrypoint.sh /
RUN apk --no-cache add bash curl npm
RUN chmod +x /entrypoint.sh

@ -86,7 +86,7 @@ It is possible to define all options in the `trivy.yaml` file. Specifying indivi
- `image-ref`: If using `image` scan.
- `scan-type`: To define the scan type, e.g. `image`, `fs`, `repo`, etc.
#### Order of prerference for options
#### Order of preference for options
Trivy uses [Viper](https://github.com/spf13/viper) which has a defined precedence order for options. The order is as follows:
- GitHub Action flag
- Environment variable

@ -307,7 +307,7 @@
}
}
],
"version": "0.48.0"
"version": "0.48.1"
}
},
"results": [
@ -612,7 +612,7 @@
"columnKind": "utf16CodeUnits",
"originalUriBaseIds": {
"ROOTPATH": {
"uri": "file:///Users/simarpreetsingh/repos/trivy-action/"
"uri": "file:///home/runner/work/trivy-action/trivy-action/"
}
}
}

@ -1,6 +1,6 @@
{
"SchemaVersion": 2,
"CreatedAt": "2023-12-08T11:02:54.295987-07:00",
"CreatedAt": "2024-01-02T23:40:12.036390742Z",
"ArtifactName": ".",
"ArtifactType": "filesystem",
"Metadata": {

@ -1,6 +1,6 @@
{
"SchemaVersion": 2,
"CreatedAt": "2023-12-08T11:02:56.571535-07:00",
"CreatedAt": "2024-01-02T23:40:15.166517221Z",
"ArtifactName": ".",
"ArtifactType": "filesystem",
"Metadata": {

@ -1,6 +1,6 @@
{
"SchemaVersion": 2,
"CreatedAt": "2023-12-08T11:02:50.045151-07:00",
"CreatedAt": "2024-01-02T23:40:04.647712097Z",
"ArtifactName": "https://github.com/krol3/demo-trivy/",
"ArtifactType": "repository",
"Metadata": {

@ -1,6 +1,6 @@
{
"SchemaVersion": 2,
"CreatedAt": "2023-12-08T11:03:02.76948-07:00",
"CreatedAt": "2024-01-02T16:27:32.841193-07:00",
"ArtifactName": "test/data",
"ArtifactType": "filesystem",
"Metadata": {

@ -1,6 +1,6 @@
{
"SchemaVersion": 2,
"CreatedAt": "2023-12-08T11:03:01.877209-07:00",
"CreatedAt": "2024-01-02T23:40:21.039454971Z",
"ArtifactName": "alpine:3.10",
"ArtifactType": "container_image",
"Metadata": {
@ -106,8 +106,8 @@
"https://nvd.nist.gov/vuln/detail/CVE-2021-36159",
"https://www.cve.org/CVERecord?id=CVE-2021-36159"
],
"PublishedDate": "2021-08-03T14:15:00Z",
"LastModifiedDate": "2023-11-07T03:36:00Z"
"PublishedDate": "2021-08-03T14:15:08.233Z",
"LastModifiedDate": "2023-11-07T03:36:43.337Z"
}
]
}

Loading…
Cancel
Save