Can anyone please tell me where we can see the status of BitLocker in service now.

niveditakumari
Mega Sage

Hello,

I have a requirement when Service Now gets an update to the BitLocker status field then it will create an incident for the support group for that computer. Can anyone please suggest me that where we can see the BitLocker status field in service now.

Can anyone please help me with this.

 

Regards,

Nivedita

1 ACCEPTED SOLUTION

Hi,

Go to cmdb_ci.list and search with name --contains--locker and see if there is any record for bitlocker.

 

Yes, you can write business rule to create an incident. In BR, in when to run the condition can be status changes and in script field you may write below based on your requirement.

var incRec = new GlideRecord('incident');

incRec.newRecord();

incRec.short_description = 'bit locker status changed';

incRec.cmdb_ci = current.sys_id;

incRec.assignment_group ='sys_id_of_group';

incRec.insert();

 

View solution in original post

25 REPLIES 25

Hello Amaradiswamy,

Correct me if i am wrong.

 

Regards,

Nivedita

Hi,

Yes, you are correct. But, in which table the compliance status of bitlocker is stored. If you know then you can create a BR on that table.

Hello,

There is one field available in computers table So are you referring this or you are referring something else? Could you please elaborate that.

Please find the below screenshot : 

 

Regards,

Nivedita

Hello Nivedita,

YOu need to write after update business rule on Computer table and add following code:

When to Run Condition : Bitlocker status is Non-compliant

 

var incRec = new GlideRecord('incident');

incRec.initialize();

incRec.short_description = 'bit locker status changed';

incRec.cmdb_ci = current.sys_id;

incRec.assignment_group ='sys_id_of_group support group';

incRec.insert();

 

Mark answer correct/helpful,

Thanks you,

Bilbo

Hello Bilbo,

Thank you for your reply.

One more thing i need to ask that how i can test this shall i need to create one record in computers table and update that Bitlocker status field as "Noncompliant".

Correct me if i am wrong.

 

Regards,

Nivedita