GithubHelp home page GithubHelp logo

erzz / dockle-action Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 3.0 57 KB

Github Action to run Dockle and report in workflows, pipeline and PR's

License: MIT License

action best-practice container docker dockle github-action lint security

dockle-action's Introduction

Metrics

dockle-action's People

Contributors

dtaniwaki avatar erzz avatar nikleberg avatar renovate-bot avatar renovate[bot] avatar semantic-release-bot avatar sxd avatar zepatrik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

dockle-action's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

github-actions
.github/workflows/release.yml
.github/workflows/tests.yml
  • actions/checkout v4
  • actions/upload-artifact v4
  • actions/checkout v4
  • actions/upload-artifact v4

  • Check this box to trigger a request for Renovate to run again on this repository

Sarif report not processed

I see my report was not processed :

Waiting for processing to finish
  Analysis upload status is pending.
  Analysis upload status is failed.
  Error: Code Scanning could not process the submitted SARIF file:
  locationFromSarifResult: expected at least one location,locationFromSarifResult: expected at least one location,
  Error: Code Scanning could not process the submitted SARIF file:
  locationFromSarifResult: expected at least one location,locationFromSarifResult: expected at least one location,
      at Object.waitForProcessing (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-lib.js:334:[19](https://github.com/metacontroller/metacontroller/actions/runs/3056690261/jobs/4931107049#step:7:21))
      at async run (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:60:13)
      at async runWrapper (/home/runner/work/_actions/github/codeql-action/v2/lib/upload-sarif-action.js:75:9)

report

{
  "version": "2.1.0",
  "$schema": "https://json.schemastore.org/sarif-2.1.0-rtm.[5](https://github.com/metacontroller/metacontroller/actions/runs/3056690261/jobs/4931107049#step:6:6).json",
  "runs": [
    {
      "tool": {
        "driver": {
          "informationUri": "https://github.com/goodwithtech/dockle",
          "name": "Dockle",
          "rules": [
            {
              "id": "CIS-DI-0005",
              "shortDescription": {
                "text": "Enable Content trust for Docker"
              },
              "helpUri": "https://github.com/goodwithtech/dockle/blob/master/CHECKPOINT.md#CIS-DI-0005"
            },
            {
              "id": "CIS-DI-000[6](https://github.com/metacontroller/metacontroller/actions/runs/3056690261/jobs/4931107049#step:6:7)",
              "shortDescription": {
                "text": "Add HEALTHCHECK instruction to the container image"
              },
              "helpUri": "https://github.com/goodwithtech/dockle/blob/master/CHECKPOINT.md#CIS-DI-0006"
            }
          ]
        }
      },
      "results": [
        {
          "ruleId": "CIS-DI-0005",
          "ruleIndex": 0,
          "level": "note",
          "message": {
            "text": "export DOCKER_CONTENT_TRUST=1 before docker pull/build"
          }
        },
        {
          "ruleId": "CIS-DI-0006",
          "ruleIndex": 1,
          "level": "note",
          "message": {
            "text": "not found HEALTHCHECK statement"
          }
        }
      ]
    }
  ]
}

I suspect it expects some location for each element

dockle latest version

The parsing for the latest dockle version no longer works. The dockle repository seems to have deleted the v0.4.5 release or its tag. But it still works if I set dockle-version: "0.4.5".

update google auth examples

  • current examples are little outdated
  • perhaps also include an OIDC version
  • perhaps examples from other registry providers

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.