CBPApproveHash Deprecated

Deprecated. Use the cbp-fileRule-createOrUpdate command instead.

python · Carbon Black Enterprise Protection

Source

import demistomock as demisto  # noqa: F401
from CommonServerPython import *  # noqa: F401

CBP_HASH_APPROVED = '2'
demisto.results(demisto.executeCommand("cbp-fileRule-createOrUpdate",
                {"fileState": CBP_HASH_APPROVED, "hash": demisto.args()["hash"]}))

README

Approve/add to allow list a hash in CBEP/Bit9

Script Data


Name Description
Script Type python
Tags carbon-black-protection, bit9

Dependencies


This script uses the following commands and scripts.

  • cbp-fileRule-update

Inputs


Argument Name Description
hash The hash value to approve.

Outputs


There are no outputs for this script.