FireEyeApiModule
Common FireEye code that will be appended to each FireEye integration when it is deployed.
python · ApiModules
Details
| ID | FireEyeApiModule |
|---|---|
| Language | python |
| From Version | 5.5.0 |
| Docker Image | demisto/python3:3.9.5.21272 |
| Tags | infra server |
README
The FireEye API handles the API Key generation from the user/password authentication.
- Manages the API Key and caches it for 10 minutes, to avoid 401 errors for consecutive API Key generation.
- Holds the client command calls to the WSAPIs v2.0.0.
- Includes a few generally used static function converters.
To use the common FireEye API logic, attach the from FireEyeApiModule import * # noqa: E402 line of code in the following location to import it. After you import the module, the FireEyeClient will be available for use.
def main():
...
from FireEyeApiModule import * # noqa: E402
if __name__ in ('__main__', '__builtin__', 'builtins'):
main()
For examples, see the FireEye Central Management integration.
commonfields: id: FireEyeApiModule version: -1 name: FireEyeApiModule script: '' type: python subtype: python3 tags: - infra - server comment: Common FireEye code that will be appended to each FireEye integration when it is deployed. scripttarget: 0 dependson: {} timeout: 0s dockerimage: demisto/python3:3.9.5.21272 fromversion: 5.5.0 tests: - No tests (auto formatted)