Fix packages + Implement working tests

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
This commit is contained in:
guillaume
2021-10-28 01:37:52 +02:00
parent 701be92dad
commit 3fb03cd2d7
7 changed files with 201 additions and 40 deletions

View File

@@ -8,17 +8,40 @@ sidebar_label: trivy
import "alpha.dagger.io/trivy"
```
## trivy.#CLI
Re-usable CLI component
### trivy.#CLI Inputs
_No input._
### trivy.#CLI Outputs
_No output._
## trivy.#Config
Trivy configuration
Trivy Configuration
### trivy.#Config Inputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
|*username* | `dagger.#Secret` |- |
|*password* | `dagger.#Secret` |- |
_No input._
### trivy.#Config Outputs
_No output._
## trivy.#Image
Scan an Image
### trivy.#Image Inputs
_No input._
### trivy.#Image Outputs
| Name | Type | Description |
| ------------- |:-------------: |:-------------: |
|*ref* | `string` |Reference analyzed |