diff --git a/assets/tasks/container_grype_check.yaml b/assets/tasks/container_grype_check.yaml index 53168ea97..28a57231b 100644 --- a/assets/tasks/container_grype_check.yaml +++ b/assets/tasks/container_grype_check.yaml @@ -1,7 +1,7 @@ ID: "container-vulnerability-scanner" Name: "Container Vulnerability Scanner" Description: "Check if all container artifacts are free of vulnerabilities" -ImageURL: "ghcr.io/opengovern/og-task-container-vulnerability:local-v0.0.57" +ImageURL: "ghcr.io/opengovern/og-task-container-vulnerability:local-v0.0.61" Command: "/og-task-container-vulnerability" ResultType: "oci_container_vulnerabilities" WorkloadType: "deployment" diff --git a/pkg/cloudql/tables/table_platform_artifact_vulnerabilities.go b/pkg/cloudql/tables/table_platform_artifact_vulnerabilities.go index 728b8a2a7..9678f0fc3 100644 --- a/pkg/cloudql/tables/table_platform_artifact_vulnerabilities.go +++ b/pkg/cloudql/tables/table_platform_artifact_vulnerabilities.go @@ -22,17 +22,17 @@ func tablePlatformArtifactVulnerabilities(_ context.Context) *plugin.Table { Columns: []*plugin.Column{ { Name: "image_url", - Transform: transform.FromQual("imageUrl"), + Transform: transform.FromField("imageUrl"), Type: proto.ColumnType_STRING, }, { Name: "artifact_digest", - Transform: transform.FromQual("artifactDigest"), + Transform: transform.FromField("artifactDigest"), Type: proto.ColumnType_STRING, }, { Name: "vulnerabilities", - Transform: transform.FromQual("Vulnerabilities"), + Transform: transform.FromField("Vulnerabilities"), Type: proto.ColumnType_JSON, }, },