mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-18 16:18:47 +02:00
Obsoleted the SibusQL and the keyword pkey (still allowed as a placeholder in the templates)
SVN:trunk[372]
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -3,6 +3,6 @@
|
||||
<AuditCategory id="1">
|
||||
<name>Devices in production</name>
|
||||
<description>Checking all devices in production</description>
|
||||
<definition_set>bizDevice: status = 'production'</definition_set>
|
||||
<definition_set>SELECT bizDevice AS d WHERE d.status = 'production'</definition_set>
|
||||
</AuditCategory>
|
||||
</Set>
|
||||
</Set>
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
<AuditRule id="1">
|
||||
<name>Devices in production on a Location not in production</name>
|
||||
<description></description>
|
||||
<query>bizDevice: location_id IN (bizLocation: status != 'production')</query>
|
||||
<query>SELECT bizDevice AS d JOIN bizLocation AS l ON d.location_id = l.id WHERE l.status != 'production'</query>
|
||||
<valid_flag>false</valid_flag>
|
||||
<category_id>1</category_id>
|
||||
</AuditRule>
|
||||
<AuditRule id="2">
|
||||
<name>Devices not attached to a monitoring group</name>
|
||||
<description></description>
|
||||
<query>bizDevice: PKEY IS infra_id IN (lnkInfraGrouping: infra_group_id IN (bizInfraGroup: type = 'Monitoring'))</query>
|
||||
<query>SELECT bizDevice AS d JOIN lnkInfraGrouping AS l ON l.infra_id = d.id JOIN bizInfraGroup AS g ON l.infra_group_id = g.id WHERE g.type = 'Monitoring'</query>
|
||||
<valid_flag>true</valid_flag>
|
||||
<category_id>1</category_id>
|
||||
</AuditRule>
|
||||
</Set>
|
||||
</Set>
|
||||
|
||||
Reference in New Issue
Block a user