Skip to content

Commit 1c61eb0

Browse files
authored
Merge branch 'master' into master
2 parents dc0442a + 3e765c6 commit 1c61eb0

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ GlideLDAP API usage is unsupported by ServiceNow and hence should be avoided, ra
149149
### Check for Orphaned Tickets
150150
Tickets from tables such as Incident, Change Request, Problem, and other task-related tables should always have an Assignment Group specified. These tickets represent issues or requests that require attention and action. Leaving the Assignment Group field empty can result in unresolved issues or delays in implementing fixes, as no team will be accountable for the resolution. Since the Assignment Group is meant to designate the responsible team for managing these tickets, it should never be left blank.
151151

152-
153152
## Category: Upgradability
154153

155154
### Call GlideRecord using new
@@ -306,6 +305,9 @@ In general, variables in JavaScript should be properly declared (e.g. using “v
306305
### Don't show unpublished knowledge articles
307306
Unpublished knowledge articles may contain sensitive information that should not be visible to anyone with read access. By preventing access to unpublished articles, reviewers are given the opportunity to verify the content before it is made accessible. This ensures that only properly reviewed and approved information is available to users with read access.
308307

308+
### Scripts in ACLs should be cleared when Advanced is not checked
309+
Scripts in ACLs ARE executed regardless of whether or not the Advanced checked box is checked off. As such, unnecessary scripts should be cleared from the field OR the Advanced checkbox should be checked in cases where scripts are required to provide better visibility to admins for troubleshooting purposes.
310+
309311
## Category: User Experience
310312

311313
### Added a Number Prefix which already exists
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
UBvFrDYpp6F473PapuKpJKvmmOUFgHEiVD5h695pnIT46m0IVAx59x1ktpNoZWBTXgM7AdJP1coxhN00Shmw9bNXm_HzYL92UD4dYmuICsujNrQr31qwCPeozLHR3BkzlPvWytL5BfPWcqGU-XSsarhtGPDjxgC2FP4hthcVI3uLDUY6HVQ8NAuLvOL3sEcCUuAMpVy6ZZjVZMVULf47a0Q8uS3aVM-Nn2UB4i5ifDA10sVReTr6N9HxC3A54aCwdMBDEY8kr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kriPZDimd3NcG3gpIJzV3AJOgqeE
2+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check">
2+
<scan_table_check action="INSERT_OR_UPDATE">
3+
<active>true</active>
4+
<advanced>false</advanced>
5+
<category>security</category>
6+
<conditions table="sys_security_acl">advanced=false^scriptISNOTEMPTY^active=true^EQ<item endquery="false" field="advanced" goto="false" newquery="false" operator="=" or="false" value="false"/>
7+
<item endquery="false" field="script" goto="false" newquery="false" operator="ISNOTEMPTY" or="false" value=""/>
8+
<item endquery="false" field="active" goto="false" newquery="false" operator="=" or="false" value="true"/>
9+
<item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
10+
</conditions>
11+
<description>Scripts in ACLs ARE executed regardless of whether or not the Advanced checked box is checked off. As such, unnecessary scripts should be cleared from the field OR the Advanced checkbox should be checked in cases where scripts are required to provide better visibility to admins for troubleshooting purposes.</description>
12+
<documentation_url>https://docs.servicenow.com/csh?topicname=t_CreateAnACLRule.html&amp;version=latest</documentation_url>
13+
<finding_type>scan_finding</finding_type>
14+
<name>Scripts in ACLs Should be Cleared when Advanced is not checked</name>
15+
<priority>3</priority>
16+
<resolution_details>Clear the Script box data if the script is unnecessary and Advanced is not checked off&#13;
17+
OR&#13;
18+
Check off the Advanced check box if there is a script in the Script box that is required for the ACL.</resolution_details>
19+
<run_condition/>
20+
<score_max>100</score_max>
21+
<score_min>0</score_min>
22+
<score_scale>1</score_scale>
23+
<script><![CDATA[(function (engine) {
24+
25+
// Add your code here
26+
27+
})(engine);]]></script>
28+
<short_description>Scripts in ACLs Should be Cleared when Advanced is not checked</short_description>
29+
<sys_class_name>scan_table_check</sys_class_name>
30+
<sys_created_by>nia.mccash</sys_created_by>
31+
<sys_created_on>2024-10-08 20:03:00</sys_created_on>
32+
<sys_id>9d4676f6c34d52d08dbc32f1b4013165</sys_id>
33+
<sys_mod_count>0</sys_mod_count>
34+
<sys_name>Scripts in ACLs Should be Cleared when Advanced is not checked</sys_name>
35+
<sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
36+
<sys_policy/>
37+
<sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
38+
<sys_update_name>scan_table_check_9d4676f6c34d52d08dbc32f1b4013165</sys_update_name>
39+
<sys_updated_by>nia.mccash</sys_updated_by>
40+
<sys_updated_on>2024-10-08 20:03:00</sys_updated_on>
41+
<table>sys_security_acl</table>
42+
<use_manifest>false</use_manifest>
43+
</scan_table_check>
44+
<sys_translated_text action="delete_multiple" query="documentkey=9d4676f6c34d52d08dbc32f1b4013165"/>
45+
</record_update>

0 commit comments

Comments
 (0)