Audit rules loaded as part of the structure of the application

SVN:code[118]
This commit is contained in:
Romain Quetiez
2009-09-07 14:25:04 +00:00
parent 37cad7579e
commit 3d4b45de26
4 changed files with 3 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<AuditCategory id="1">
<name>Devices in production</name>
<description>Checking all devices in production</description>
<definition_set>bizDevice: status = &apos;production&apos;</definition_set>
</AuditCategory>
</Set>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<Set>
<AuditRule id="1">
<name>Devices in production on a Location not in production</name>
<description></description>
<query>bizDevice: location_id IN (bizLocation: status != &apos;production&apos;)</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 = &apos;Monitoring&apos;))</query>
<valid_flag>true</valid_flag>
<category_id>1</category_id>
</AuditRule>
</Set>

View File

@@ -13,4 +13,7 @@ wget --output-document=13.profileprojection.xml --post-data="auth_user=%USER%&au
wget --output-document=14.actiongrant.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT URP_ActionGrant&format=xml"
wget --output-document=15.attributegrant.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT URP_AttributeGrant&format=xml"
wget --output-document=16.stimulusgrant.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT URP_StimulusGrant&format=xml"
wget --output-document=21.auditcategories.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT AuditCategory&format=xml"
wget --output-document=22.auditrules.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%EXPORT%?expression=SELECT AuditRule&format=xml"
pause