Skip to content

PR decoration not working [BUG]Β #183

@simonpayne1

Description

@simonpayne1

Describe the bug

When using the action the PR decoration is not produced

Expected behavior

PR decoration should be applied to the current PR

Actual behavior

Usage of the action does not produce the PR decoration and error message can be found in the logs

Steps to reproduce

  - name: Checkmarx AST CLI Action
    id: checkmarx_scan
    uses: checkmarx/ast-github-action@main
    with:
      base_uri: https://eu.ast.checkmarx.net/
      cx_tenant: {redacted}
      cx_client_id: ${{ secrets.CX_CLIENT_ID }}
      cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }}
      additional_params: --sast-filter !**/node_modules/** --sast-fast-scan

Additional comments

used with permissions: write-all

Logs

Checkmarx One - Scan Summary & Details: [https://eu.ast.checkmarx.net/projects/redacted]

Failed creating github PR Decoration: CODE: 0, 404 Not Found: "{"message":"Not Found","documentation_url":"https://docs.github.com/rest"}"

Creating Markdown Summary Report: cx_result.md

Scan completed

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions