1
0
vault-redux/tools/semgrep/physical-storage.yml
Steven Clark 2b88002501
Update licensing across various source files - 1.14 (#24674)
* Fix licensing on various files

* Update CI and release files to BUSL-1.1

* Update offset within config_test_helpers.go

 - Fix a test the same way it's been fixed on main/1.15
2024-01-08 12:24:52 -05:00

13 lines
386 B
YAML

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
rules:
- id: physical-storage-bypass-encryption
patterns:
- pattern-either:
- pattern: $CORE.physical.Put(...)
- pattern: $CORE.underlyingPhysical.Put(...)
message: "Bypassing encryption by accessing physical storage directly"
languages: [go]
severity: WARNING