IBM-Security / ibmsecurity

Idempotent functions for IBM Security Appliance REST APIs. Currently covering ISAM and ISDS Appliances.
Apache License 2.0
47 stars 73 forks source link

Pypi merge back master #332

Closed svetterIO closed 1 year ago

svetterIO commented 2 years ago

PyPI published ibmsecurity-2021.9.22.0.tar.gz code contains additional files + folders around scim, hvdb databases, runtime cluster.

SCIM configuration tested for function set_all with:

p(ibmsecurity.isam.aac.scim.scim.set_all(isamAppliance=isam_server, settings={}))
p(ibmsecurity.isam.aac.scim.scim.set_all(isamAppliance=isam_server, settings={"urn:ietf:params:scim:schemas:core:2.0:User":{"connection_type":"ldap","enforce_password_policy": False,"ldap_connection":"Local ISVA embedded LDAP","ldap_object_classes":[{"name":"top"},{"name":"person"},{"name":"organizationalPerson"},{"name":"inetOrgPerson"}],"mappings":[{"mapping":{"source":"cn","type":"ldap"},"scim_attribute":"userName"},{"mapping":[{"scim_subattribute":"familyName","source":"sn","type":"ldap"},{"scim_subattribute":"givenName","source":"givenName","type":"ldap"}],"scim_attribute":"name"},{"mapping":{"source":"displayName","type":"ldap"},"scim_attribute":"displayName"},{"mapping":{"source":"title","type":"ldap"},"scim_attribute":"title"},{"mapping":{"source":"preferredLanguage","type":"ldap"},"scim_attribute":"preferredLanguage"},{"mapping":{"source":"userPassword","type":"ldap"},"scim_attribute":"password"},{"mapping":[{"extended_scim_attributes":[{"name":"type","source":"work","type":"fixed"},{"name":"primary","source":"true","type":"fixed"},{"name":"value","source":"mail","type":"ldap"}]}],"scim_attribute":"emails"},{"mapping":[{"extended_scim_attributes":[{"name":"type","source":"work","type":"fixed"},{"name":"primary","source":"true","type":"fixed"},{"name":"value","source":"telephoneNumber","type":"ldap"}]},{"extended_scim_attributes":[{"name":"type","source":"home","type":"fixed"},{"name":"primary","source":"false","type":"fixed"},{"name":"value","source":"homePhone","type":"ldap"}]},{"extended_scim_attributes":[{"name":"type","source":"mobile","type":"fixed"},{"name":"primary","source":"false","type":"fixed"},{"name":"value","source":"mobile","type":"ldap"}]},{"extended_scim_attributes":[{"name":"type","source":"pager","type":"fixed"},{"name":"primary","source":"false","type":"fixed"},{"name":"value","source":"pager","type":"ldap"}]}],"scim_attribute":"phoneNumbers"},{"mapping":[{"extended_scim_attributes":[{"name":"type","source":"home","type":"fixed"},{"name":"formatted","source":"homePostalAddress","type":"ldap"}]},{"extended_scim_attributes":[{"name":"type","source":"work","type":"fixed"},{"name":"formatted","source":"postalAddress","type":"ldap"},{"name":"streetAddress","source":"street","type":"ldap"},{"name":"postalCode","source":"postalCode","type":"ldap"},{"name":"locality","source":"l","type":"ldap"},{"name":"region","source":"st","type":"ldap"}]}],"scim_attribute":"addresses"}],"search_suffix":"cn=Users,secAuthority=Default","user_dn":"cn","user_id":"uid","user_suffix":"cn=Users,secAuthority=Default"},"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User":{"mappings":[{"mapping":{"source":"employeeNumber","type":"ldap"},"scim_attribute":"employeeNumber"},{"mapping":{"source":"o","type":"ldap"},"scim_attribute":"organization"},{"mapping":{"source":"departmentNumber","type":"ldap"},"scim_attribute":"department"},{"mapping":[{"scim_subattribute":"value","source":"manager","type":"ldap"}],"scim_attribute":"manager"}]}}))