|
3 | 3 | <active>true</active>
|
4 | 4 | <advanced>true</advanced>
|
5 | 5 | <category>manageability</category>
|
6 |
| - <conditions table="sys_ui_policy">active=true^EQ<item endquery="false" field="active" goto="false" newquery="false" operator="=" or="false" value="true"/> |
| 6 | + <conditions table="sys_ui_policy">active=true^run_scripts=false^EQ<item endquery="false" field="active" goto="false" newquery="false" operator="=" or="false" value="true"/> |
| 7 | + <item endquery="false" field="run_scripts" goto="false" newquery="false" operator="=" or="false" value="false"/> |
7 | 8 | <item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
|
8 | 9 | </conditions>
|
9 | 10 | <description>UI policy should have any UI Policy Action defined</description>
|
10 | 11 | <documentation_url/>
|
11 | 12 | <finding_type>scan_finding</finding_type>
|
12 |
| - <name>Orphaned Catalog UI Policies</name> |
| 13 | + <name>Orphaned UI Policies</name> |
13 | 14 | <priority>3</priority>
|
14 | 15 | <resolution_details>If UI policy is not in use, it should be deleted or made inactive</resolution_details>
|
15 | 16 | <run_condition/>
|
|
26 | 27 |
|
27 | 28 |
|
28 | 29 | })(engine);]]></script>
|
29 |
| - <short_description>Orphaned Catalog UI Policies</short_description> |
| 30 | + <short_description>Orphaned UI Policies</short_description> |
30 | 31 | <sys_class_name>scan_table_check</sys_class_name>
|
31 | 32 | <sys_created_by>admin</sys_created_by>
|
32 | 33 | <sys_created_on>2024-11-01 11:38:07</sys_created_on>
|
33 | 34 | <sys_id>81492c6ac321121095ac1173e40131bf</sys_id>
|
34 |
| - <sys_mod_count>0</sys_mod_count> |
35 |
| - <sys_name>Orphaned Catalog UI Policies</sys_name> |
| 35 | + <sys_mod_count>1</sys_mod_count> |
| 36 | + <sys_name>Orphaned UI Policies</sys_name> |
36 | 37 | <sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
|
37 | 38 | <sys_policy/>
|
38 | 39 | <sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
|
39 | 40 | <sys_update_name>scan_table_check_81492c6ac321121095ac1173e40131bf</sys_update_name>
|
40 | 41 | <sys_updated_by>admin</sys_updated_by>
|
41 |
| - <sys_updated_on>2024-11-01 11:38:07</sys_updated_on> |
| 42 | + <sys_updated_on>2024-11-01 11:41:25</sys_updated_on> |
42 | 43 | <table>sys_ui_policy</table>
|
43 | 44 | <use_manifest>false</use_manifest>
|
44 | 45 | </scan_table_check>
|
45 | 46 | <sys_translated_text action="delete_multiple" query="documentkey=81492c6ac321121095ac1173e40131bf"/>
|
| 47 | + <sys_es_latest_script action="INSERT_OR_UPDATE"> |
| 48 | + <id>81492c6ac321121095ac1173e40131bf</id> |
| 49 | + <sys_created_by>admin</sys_created_by> |
| 50 | + <sys_created_on>2024-11-01 11:41:24</sys_created_on> |
| 51 | + <sys_id>090aaceac321121095ac1173e401311f</sys_id> |
| 52 | + <sys_mod_count>0</sys_mod_count> |
| 53 | + <sys_updated_by>admin</sys_updated_by> |
| 54 | + <sys_updated_on>2024-11-01 11:41:24</sys_updated_on> |
| 55 | + <table>scan_table_check</table> |
| 56 | + <use_es_latest>false</use_es_latest> |
| 57 | + </sys_es_latest_script> |
46 | 58 | </record_update>
|
0 commit comments