Skip to content

CodeQL Not catching known CWE's, not failing build for caught CWE #107

Closed
@myoung34

Description

@myoung34

Got them to run as expected per PR #104

However this pr should definitely cause a failure for:

It did catch CWE-377, but it did not fail the build:

It also didnt show much info. I did not realize it caught this until I accidentally clicked on the changes:

It does show as a check, but only if you happen to expand it.
The default view:

If I expand it:

This is very very easy to miss and not at all a good UX. I would think that the action itself would fail the build, or that the check would be easier to spot a failure. At a glance the PR looks mergeable.

That said, it still never caught CWE-78

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions