IAMApiModule

Common code that will be appended into each IAM integration when it's deployed.

python · ApiModules

Details

IDIAMApiModule
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.8.6.13358
Tagsinfra server

README

To use the common IAM API logic, run the following command to import the IAMApiModule.

def main():
    ...


from IAMApiModule import *  # noqa: E402

if __name__ in ["builtins", "__main__"]:
    main()

Then, the IAMApiModule will be available for usage. For examples, see the Workday IAM or Okta IAM integrations.

The IAMApiModule contains the following classes:

  1. IAMErrors - to manually handle errors in IAM integrations.
  2. IAMActions - contains all the IAM actions (e.g. get, update, create, etc.)
  3. IAMVendorActionResult - used in IAMUserProfile class to represent actions data.
  4. IAMUserProfile - a User Profile object class for IAM integrations.
  5. IAMUserAppData - holds user attributes retrieved from an application.
  6. IAMCommand - implements the IAM CRUD commands.
commonfields:
  id: IAMApiModule
  version: -1
name: IAMApiModule
script: ''
type: python
subtype: python3
tags:
- infra
- server
comment: Common code that will be appended into each IAM integration when it's deployed.
system: true
scripttarget: 0
dependson: {}
timeout: 0s
dockerimage: demisto/python3:3.8.6.13358
fromversion: 6.0.0
tests:
- No tests