Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Easy to use Python client for IBM Security Identity Manager (ISIM/ITIM) web services (SOAP and REST APIs)
Python client for IBM Security Identity Manager (ISIM / ITIM) web services (SOAP and REST APIs)
Tested on ISIM 7.0.1 FP13 and ISIM 7.0.2 FP2
Due to API limitations some functionalities are served through ISIM's REST API and some other through ISIM SOAP Web Services.
You can read the full documentation here
Look for the tests/
folder in our Github repo to see some more detailed examples.
from pyisim.auth import Session
user="itim manager"
password="secret"
cert="./my_certificate.cer"
url="iam.isim.com"
sess=Session(url,user,password,cert)
Every example after assumes you have already a valid Session object named sess
from pyisim.entities import Person
info_persona={
"employeenumber": "1015463230",
"correo": "cazdlt@gmail.com",
"title": "Especialista de producto",
"departmentnumber":"IBM",
}
persona = Person(sess, person_attrs=info_persona)
persona.add(sess,"my org","my justification")
from pyisim import search
persona = search.people(sess,Person,"employeenumber","1015463230",limit=1)[0]
persona.title="CEO"
persona.modify(sess,"my justification")
from pyisim import Person
from pyisim import search
class MyBPPerson(Person):
profile_name="BPPerson"
def __init__(self,info,first_name=None):
if first_name is None:
first_name = "Andrés"
info["givenname"] = first_name
super().__init__(person_attrs=info)
MyBPPerson({"sn":"Zamora"}).add(sess,"my org","New BPPerson")
from pyisim import search
accesses=search.access(sess,search_filter="*Consulta*",limit=5)
person=search.people(session,by="givenname",search_filter="Juan",limit=1)[0]
response=person.request_access(session,accesses,"justification")
request_id=response.request.id # easily get request id
request_id="9585474949338"
actividad=search.activities(session,by="requestId",search_filter=request_id,limit=1)[0]
actividad.complete(sess,"approve","justification")
request_id="123483274614"
form=[
{
"name":"description",
"value":[dn_rol],
},
...
]
actividad=search.activities(session,by="requestId",search_filter=request_id)[0]
actividad.complete(sess,form,"justification")
from pyisim.va.auth import VASession
from pyisim.va.configure import update_property
u="admin@local"
p="secret"
url="iam.isimva.com"
cert="./mycert.cer"
s=VASession(u,p,url,cert)
property_file="CustomLabels.properties"
property_name="scriptframework.properties"
property_value="ITIM.java.access.util"
update_property.create_or_update_property(s,property_file,property_name,property_value)
Entities\Operations | Search | DN Lookup | Add | Delete | Suspend | Restore | Modify |
---|---|---|---|---|---|---|---|
People | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Dynamic Roles | ✓ | ✓ | ✓ | ✓ | ✓ | ||
Static Roles | ✓ | ✓ | ✓ | ✓ | ✓ | ||
Provisioning Policies | ✓ | ✓ | ✓ | ✓ | |||
Activities | ✓ | (Complete) | |||||
Organizational Containers | ✓ | ✓ | |||||
Services | ✓ | ||||||
Access | ✓ | (Request) | |||||
Groups | ✓ | ||||||
Accounts | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ (and orphan) |
in priority order
FAQs
Easy to use Python client for IBM Security Identity Manager (ISIM/ITIM) web services (SOAP and REST APIs)
We found that pyisim demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.