How to know who accesses cmdb tables?

Felipe Macedo S
Tera Contributor

Hi all,

It's possible to identify the users that access the CMDB tables? Which table can we use to extract this information?

Thank you!

2 REPLIES 2

Hitoshi Ozawa
Giga Sage
Giga Sage

Hi Felipe,

Haven't tried it but can try to add an acl script to log on tables. Logging may decrease performance.

gs.info(gs.getUserName());  // log user name

SumanthDosapati
Mega Sage
Mega Sage

Hi @Felipe Macedo Santos 

Access to any data is restricted by ACLs in ServiceNow. You mentioned as access to CMDB tables but what access? Read or write ?

You can check these details in ACLs. You can simply open any record in cmdb table, right click on form header, Configure > Security rules.

You can see list of all ACLs that has access restrictions over cmdb related tables.

You can open any record and see which role or has restriction.

You can also use canRead() and canWrite() functions to check if a user has access to a record or a particular field as well.

 

Mark as correct and helpful if it answered your query.

Regards,

Sumanth