Possible Removal of Bitbucket Secret Scanning Rule (via audit)

This rule detects when secret scanning rule is deleted for the project or repository.

Sigmalowv1
sigma
title: Possible Removal of Bitbucket Secret Scanning Rule (via audit)
id: 347f5d31-6ac2-5bd7-8a6d-1e06d7c4ef30
status: stable
description: This rule detects when secret scanning rule is deleted for the project or repository.
references:
    - https://attack.mitre.org/techniques/T1685/
    - https://confluence.atlassian.com/bitbucketserver/audit-log-events-776640423.html
    - https://confluence.atlassian.com/bitbucketserver/secret-scanning-1157471613.html
author: Huntrule Team
date: 2026-04-02
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    product: bitbucket
    service: audit
    definition: 'Requirements: "Basic" log level is required to receive these audit events.'
detection:
    selection:
        auditType.category:
            - 'Projects'
            - 'Repositories'
        auditType.action:
            - 'Project secret scanning rule deleted'
            - 'Repository secret scanning rule deleted'
    condition: selection
falsepositives:
    - Unknown
level: low

Known false positives

  • Unknown

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.