Skip to content

Add body check for Jira detector #4245

@dxa4481

Description

@dxa4481
Collaborator

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

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @dxa4481@kashifkhan0771

    Issue actions

      Add body check for Jira detector · Issue #4245 · trufflesecurity/trufflehog