Scripted audits
concept brazil Updated Sep 10, 2026 1 min read c_ScriptedAudits.md
A scripted audit enables users with the certification_admin role to conduct an audit from a script rather than using restrictive template conditions.
A scripted audit uses a certification filter to select the records to audit, and then creates standard follow-on tasks for remediation of any discrepancies. Use this type of audit to query for any values or states that a script can define. A scripted audit is a specific audit type that is activated together with the Desired State plugin. ServiceNow provides a sample audit script with configuration instructions.
21 lines · 1.5 KB
--- title: Scripted audits description: A scripted audit enables users with the certification\_admin role to conduct an audit from a script rather than using restrictive template conditions. locale: en-US canonical_url: https://www.servicenow.com/docs/r/servicenow-platform/configuration-management-database-cmdb/c\_ScriptedAudits.html release: brazil product: Configuration Management Database \(CMDB\) classification: configuration-management-database-cmdb topic_type: concept last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [CMDB Compliance, Configuration Management Database \(CMDB\), Configuration Management, Extend ServiceNow AI Platform capabilities] --- # Scripted audits A scripted audit enables users with the certification\_admin role to conduct an audit from a script rather than using restrictive template conditions. A scripted audit uses a [certification filter](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/servicenow-platform/configuration-management-database-cmdb/c_CertificationFilters.md) to select the records to audit, and then creates standard follow-on tasks for remediation of any discrepancies. Use this type of audit to query for any values or states that a script can define. A scripted audit is a specific audit type that is activated together with the [Desired State](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/servicenow-platform/configuration-management-database-cmdb/c_DesiredState.md) plugin. ServiceNow provides a sample audit script with configuration instructions.
| title | Scripted audits |
| description | A scripted audit enables users with the certification\_admin role to conduct an audit from a script rather than using restrictive template conditions. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/servicenow-platform/configuration-management-database-cmdb/c\_ScriptedAudits.html |
| release | brazil |
| product | Configuration Management Database \(CMDB\) |
| classification | configuration-management-database-cmdb |
| topic_type | concept |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | CMDB ComplianceConfiguration Management Database \(CMDB\)Configuration ManagementExtend ServiceNow AI Platform capabilities |