Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitLeaks does not detect Jira api keys in source code #1402

Open
Maksym-Hrabar opened this issue May 7, 2024 · 0 comments
Open

GitLeaks does not detect Jira api keys in source code #1402

Maksym-Hrabar opened this issue May 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Maksym-Hrabar
Copy link

During the use of gitleaks, it was found that it does not detect Jira API keys.

We found a rule that should check these key types, but it doesn't work:

[[rules]]
id = "atlassian-api-token"
description = "Detected an Atlassian API token, posing a threat to project management and collaboration tool security and data confidentiality."
regex = '''(?i)(?:atlassian|confluence|jira)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{24})(?:['|\"|\n|\r|\s|\x60|;]|$)'''
keywords = [
    "atlassian","confluence","jira",
]

For the test, we used this key: "ATATT3xFfGF0K3irG5tKKi-6u-wwaXQFeGwZ-IHR-hQ3CulkKtMSuteRQFfLZ6jihHThzZCg_UjnDt-4Wl_gIRf4zrZJs5JqaeuBhsfJ4W5GD6yGg3W7903gbvaxZPBjxIQQ7BgFDSkPS8oPispw4KLz56mdK-G6CIvLO6hHRrZHY0Q3tvJ6JxE=C63992E6"

This key in the source code wasn't detected.

@Maksym-Hrabar Maksym-Hrabar added the bug Something isn't working label May 7, 2024
@Maksym-Hrabar Maksym-Hrabar changed the title GitLaks does not detect Jira api keys in source code GitLeaks does not detect Jira api keys in source code May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant