如何获取权利分配的历史记录?

时间:2019-03-08 14:07:30

标签: identity amazon-iam oim

我想获得OIM撤销权利的历史记录吗?因为可以在“帐户”标签中看到已撤销的帐户,但不能在授权中看到。

1 个答案:

答案 0 :(得分:1)

您可以使用ENT_ASSIGN_HIST表。

select 
ENT_ASSIGN_HIST.ENT_ASSIGN_HIST_KEY  
,ENT_ASSIGN_HIST.ENT_LIST_KEY         
,ENT_ASSIGN_HIST.VALID_FROM_DATE      
,ENT_ASSIGN_HIST.VALID_TO_DATE        
,usr.usr_login              
,ENT_ASSIGN_HIST.ACT_KEY              
,ENT_ASSIGN_HIST.OIU_KEY              
,ENT_ASSIGN_HIST.OIO_KEY              
,ENT_ASSIGN_HIST.CREATED_BY           
,ENT_ASSIGN_HIST.CREATED_ON          
from  ENT_ASSIGN_HIST, usr
where ENT_ASSIGN_HIST.usr_key=usr.usr_key
and ent_list_key='<ent_key>';