diff --git a/detect_secrets/core/secrets_collection.py b/detect_secrets/core/secrets_collection.py index a71fe199c..d2da8b740 100644 --- a/detect_secrets/core/secrets_collection.py +++ b/detect_secrets/core/secrets_collection.py @@ -139,6 +139,7 @@ def load_baseline_from_dict(cls, data): secret='will be replaced', lineno=item['line_number'], is_secret=item.get('is_secret'), + output_raw=result.output_raw, ) secret.secret_hash = item['hashed_secret'] result.data[filename][secret] = secret diff --git a/will_be_mocked b/will_be_mocked deleted file mode 100644 index 546f98962..000000000 --- a/will_be_mocked +++ /dev/null @@ -1,26 +0,0 @@ -{ - "exclude": { - "files": "", - "lines": "" - }, - "generated_at": "2020-01-13T18:02:29Z", - "plugins_used": [ - { - "base64_limit": 4.5, - "name": "Base64HighEntropyString" - }, - { - "hex_limit": 3, - "name": "HexHighEntropyString" - }, - { - "name": "PrivateKeyDetector" - } - ], - "results": {}, - "version": "0.13.0-ibm.7-dss", - "word_list": { - "file": null, - "hash": null - } -}