Skip to content

Add body check for Jira detector #4245

Open
@dxa4481

Description

@dxa4481

Someone identified sometimes the Jira detector can get a 200 back, but the results are HTML or not valid.

We should add a body check to esnure the response matches the expected graphql response the verifier is looking for:

https://github.com/trufflesecurity/trufflehog/blob/main/pkg/detectors/jiratoken/v1/jiratoken.go#L138

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions