supergnaw / phantom-devtools

A collection of files to store locally to develop your Splunk Phantom applications and playbooks in your favorite IDE.
0 stars 0 forks source link

missing `encryption_helper.py` #1

Open supergnaw opened 4 months ago

supergnaw commented 4 months ago

encryption_helper.py has been identified as existing and has both encrypt() and decrypt() functions, thus these should be added, along with any other functions that might be present

supergnaw commented 4 months ago

Got some goodies out of inspecting this one:

{
    "encryption_helper":{
        "SecretStorageType":"function(value, names=None, *, module=None, qualname=None, type=None, start=1)",
        "decrypt":"function(cipher, salt)",
        "encrypt":"function(plain, salt)",
        "encryption_manager":"(<class 'phantom_common.encryption.on_prem.OnPremEncryptionStore'>) <phantom_common.encryption.on_prem.OnPremEncryptionStore object at 0x7f8215d28460>",
        "get_encryption_backend":"function(secret_storage_type: phantom_common.encryption.encryption_manager_factory.SecretStorageType = <SecretStorageType.PLATFORM: 2>) -> phantom_common.encryption.base.EncryptionStore"
    }
}