FireEyeApiModule

Common FireEye code that will be appended to each FireEye integration when it is deployed.

python · ApiModules

Details

IDFireEyeApiModule
Languagepython
From Version5.5.0
Docker Imagedemisto/python3:3.9.5.21272
Tagsinfra 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)