Task 05: Configure Desired State Audit Rule

Laim McKenzie
Tera Contributor

Hi,

 

This is driving me mad because as far as I can tell, everything is right - I've compared it to other posts on here as well and the configuration looks identical?

 

Task:

REQUIREMENT:

1. As the Cloud Dimensions CMDB administrator, using CI Class Manager, configure a desired state audit to meet the following requirements:

Certification Filter:

  • Named Windows Servers Filter and includes all Windows Servers
  • Note: The certification filter defines the scope of the audit which in this case includes all Windows Servers in the CMDB

Certification Template:

  • Named Windows Servers Template and includes certification attribute conditions for Operating Systems that are Windows 2012 R2 Standard, Windows 2016 Standard, Windows 2019 Datacenter
  • Note: The certification template determines what criteria is being used to pass the audit, which in this case includes the 3 operating systems listed

Audit:

  • Named: Windows Audit and is configured to audit which Windows Servers are certified on Windows 2012 R2 Standard, Windows 2016 Standard, Windows 2019 Datacenter and which Windows Servers are not
  • Note: The audit references the template and when run, fails all Windows Servers that are NOT 2012 R2, 2016, or 2019

 

2. From CI Class Manager, from the Windows Server class, run the audit and verify the results.

 

//

 

Screenshots for what I have: (Audit results shows more as I ran it again after it failed verification)

 

 

 

7 REPLIES 7

Laim McKenzie
Tera Contributor

Tried it with the Cert Filter not having a filter on contains Windows, recreated the Audit, etc. still doesn't work. 

 

This is the error I get:

Have you created a Certification Template that references the Certification Filter you just created?
Have you created a Certification Attribute Condition in the Certification Template that uses the 'Is One Of' filter choice for the specified OSes?

Make sure that you check the name very carefully vs what you type.  Ex:  Windows ServerS Filter, vs Windows Server Filter, etc.

I can't see what you have, vs. the lab notes, but I recall at least one of them I had a similar issue and it came down to the letter, 's,' either being there, or not being there.

Yeah triple triple checked, copy and pasted, typed it letter by letter - it's driving me insane lol

Tanushree Maiti
Tera Patron

Hi @Laim McKenzie 

 

Refer :  

https://www.servicenow.com/community/cmdb-forum/task-05-configure-desired-state-audit-rule/td-p/3538...

 

Operating Systems is one of  

Windows 2012 R2 Standard

Windows 2016 Standard

Windows 2019 Datacenter 

 

Also refer :

https://www.servicenow.com/community/cmdb-forum/task-05-configure-desired-state-audit-rule-content-c...

 

https://www.servicenow.com/community/cmdb-forum/task-05-configure-desired-state-audit-rule/m-p/35382...

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti