Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d43c1f16c0 | ||
|
|
5f1841df8d |
@@ -1,7 +1,7 @@
|
|||||||
name: "build"
|
name: "build"
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
env:
|
env:
|
||||||
TRIVY_VERSION: 0.48.0
|
TRIVY_VERSION: 0.48.1
|
||||||
BATS_LIB_PATH: '/usr/lib/'
|
BATS_LIB_PATH: '/usr/lib/'
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM ghcr.io/aquasecurity/trivy:0.48.0
|
FROM ghcr.io/aquasecurity/trivy:0.48.1
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
RUN apk --no-cache add bash curl npm
|
RUN apk --no-cache add bash curl npm
|
||||||
RUN chmod +x /entrypoint.sh
|
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.
|
- `image-ref`: If using `image` scan.
|
||||||
- `scan-type`: To define the scan type, e.g. `image`, `fs`, `repo`, etc.
|
- `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:
|
Trivy uses [Viper](https://github.com/spf13/viper) which has a defined precedence order for options. The order is as follows:
|
||||||
- GitHub Action flag
|
- GitHub Action flag
|
||||||
- Environment variable
|
- Environment variable
|
||||||
|
|||||||
@@ -307,7 +307,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"version": "0.48.0"
|
"version": "0.48.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"results": [
|
"results": [
|
||||||
@@ -612,7 +612,7 @@
|
|||||||
"columnKind": "utf16CodeUnits",
|
"columnKind": "utf16CodeUnits",
|
||||||
"originalUriBaseIds": {
|
"originalUriBaseIds": {
|
||||||
"ROOTPATH": {
|
"ROOTPATH": {
|
||||||
"uri": "file:///Users/simarpreetsingh/repos/trivy-action/"
|
"uri": "file:///home/runner/work/trivy-action/trivy-action/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"SchemaVersion": 2,
|
"SchemaVersion": 2,
|
||||||
"CreatedAt": "2023-12-08T11:02:54.295987-07:00",
|
"CreatedAt": "2024-01-02T23:40:12.036390742Z",
|
||||||
"ArtifactName": ".",
|
"ArtifactName": ".",
|
||||||
"ArtifactType": "filesystem",
|
"ArtifactType": "filesystem",
|
||||||
"Metadata": {
|
"Metadata": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"SchemaVersion": 2,
|
"SchemaVersion": 2,
|
||||||
"CreatedAt": "2023-12-08T11:02:56.571535-07:00",
|
"CreatedAt": "2024-01-02T23:40:15.166517221Z",
|
||||||
"ArtifactName": ".",
|
"ArtifactName": ".",
|
||||||
"ArtifactType": "filesystem",
|
"ArtifactType": "filesystem",
|
||||||
"Metadata": {
|
"Metadata": {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"SchemaVersion": 2,
|
"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/",
|
"ArtifactName": "https://github.com/krol3/demo-trivy/",
|
||||||
"ArtifactType": "repository",
|
"ArtifactType": "repository",
|
||||||
"Metadata": {
|
"Metadata": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"SchemaVersion": 2,
|
"SchemaVersion": 2,
|
||||||
"CreatedAt": "2023-12-08T11:03:02.76948-07:00",
|
"CreatedAt": "2024-01-02T16:27:32.841193-07:00",
|
||||||
"ArtifactName": "test/data",
|
"ArtifactName": "test/data",
|
||||||
"ArtifactType": "filesystem",
|
"ArtifactType": "filesystem",
|
||||||
"Metadata": {
|
"Metadata": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"SchemaVersion": 2,
|
"SchemaVersion": 2,
|
||||||
"CreatedAt": "2023-12-08T11:03:01.877209-07:00",
|
"CreatedAt": "2024-01-02T23:40:21.039454971Z",
|
||||||
"ArtifactName": "alpine:3.10",
|
"ArtifactName": "alpine:3.10",
|
||||||
"ArtifactType": "container_image",
|
"ArtifactType": "container_image",
|
||||||
"Metadata": {
|
"Metadata": {
|
||||||
@@ -106,8 +106,8 @@
|
|||||||
"https://nvd.nist.gov/vuln/detail/CVE-2021-36159",
|
"https://nvd.nist.gov/vuln/detail/CVE-2021-36159",
|
||||||
"https://www.cve.org/CVERecord?id=CVE-2021-36159"
|
"https://www.cve.org/CVERecord?id=CVE-2021-36159"
|
||||||
],
|
],
|
||||||
"PublishedDate": "2021-08-03T14:15:00Z",
|
"PublishedDate": "2021-08-03T14:15:08.233Z",
|
||||||
"LastModifiedDate": "2023-11-07T03:36:00Z"
|
"LastModifiedDate": "2023-11-07T03:36:43.337Z"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user