Skip to content

Commit 91c4c82

Browse files
ATFs usage Best practices (#144)
* Highly recommended practice to use ATFs for regression testing on instance upgrade and releases. * Update README.md Readme updated for ATF best practices * Update README.md --------- Co-authored-by: niamccash <[email protected]>
1 parent a01a2aa commit 91c4c82

File tree

3 files changed

+58
-1
lines changed

3 files changed

+58
-1
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Open-Sourced community contributed and owned repository for Instance Scan Defini
1212

1313
## Category: Manageability
1414

15+
### Create ATFs in sub production instance
16+
Highly recommended practice to use ATFs for regression testing on instance upgrade and releases.
17+
1518
### Avoid using javascript "document" object in Portal
1619
Always avoid using native js "document" object for DOM manipulation in service portal. Instead we should use AngularJS equivalent capabilities to achieve the same.
1720

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nhuHHs1aLCFq8_gazv38F27cJpjm5lhUjoMSHChokLB0jrGEjxXGNA1QVgIlG5E8wC4T1b49yi6F0XVm4u-H7cmfHK2zEbQx7CvOJuK9DoLRspSYHhLoI_DZN0vhui8lh-ihFSs1OJDV5d0UrksP4ZcVn2FKB7b3jsnNQ7f8zxADXi8Rs0r3moUfpHLVwxygWIRtOOfJ2Qlx1tdEfn4Ny1esDxnG02mPZ5RyiRtmRAlHYJhI1dE3OXBKNXN70e5njtLzB5pzTbe7idQ-SUshCNBkQS5ejYcDHtmAI1HEguWXfAqIY7YIw4ZiNwGfs3BrJJnie34bf336AO_EsUVu0iBlgzh7YMj6je-yxAxitsLvVh8W9MA71L2Uenuls95ATR80N9Uhy534pyr5uj5cN9GoZeoz8VcAqIqhxe-7sStkkWtAYKIJxeUT_0_XYdQXd0ovP0qS_U9j5y1I_29yq9u1-v8sQje62kbAzVtMEl6abEJ1A6bDtZmYmvMLGhpq4AI5qUWxndz8-DwvPuDzqbpzqKSMNR5IWBgnk05J9YYieOtMJcFXT3MrMNB_fhu0n8IcoyKBW9tPM7MjS4m56QbfHwEgq6m-3vEHX_6waYOHoCMl1bEaD-oTBe2kS8KdJCeupk9wVUW53KArlVn8qfJbBAkJPjlZtXwICt7SQMU
1+
2GmWsJ-o1b3QV3-6URGiSXSMI8C_MGtuzUzllO-E25BLlW8xY3T33MhCEIjrlR3Iagmuub4YikspwkRRYc_er66_c1onVimbRiN2socYSYWwCzxsJwJ_42oE5oqKePrOLryz7_pU_jzxOYRNa0xBvwEidli_M_kIXOSrwXflcA6Y_bMzciNW2YcnLDxK96tAoSooIaBQEw4x7xKxIIE-ejLeYlU6l11ELhmCn_wOXE-PnAkBU643SDLxBxPp8qsDW791X4ZPOM5_iL6U7Bdtrvb6Kn6mcHZNPFLJC8q7IrJ0wv19MuJlQp-Zi0BH9dg-oN6s5cIKOHYFiINFgINPK2wNocUSVJERDkqoHZOCq0T69m0FxKrEh3B4zujM0zgqx0uXCHVDK08hAyEGISYo7xFU6rUBZhBzLtaVLNHmOOlXlka3h9t8B9mEjYaBcInBbwzMwSgmTIYtN_GuwVekOY-L8R6Iz8ni3sNTd7s36vHxzmSKy0KHMRmzLCS7x8ig1LROAn2UWlX_yrv7AUtwSi1ENYOxw7ayF6mCwxU37FECms1bZVOJWpnfZtQH86cSsZc0FNGyswWUFJRi-XIS0fQA-zl7NVpElIJBONXSK_16Y3uTMx-nr3M5zOiQK5VBUN5SsAGfDucfu-VVwM9-O5HUSs_LGuA9J1Pt4xqKj-8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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>true</advanced>
5+
<category>manageability</category>
6+
<conditions table="sys_properties">name=sn_atf.runner^value=false^EQ<item endquery="false" field="name" goto="false" newquery="false" operator="=" or="false" value="sn_atf.runner"/>
7+
<item endquery="false" field="value" goto="false" newquery="false" operator="=" or="false" value="false"/>
8+
<item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
9+
</conditions>
10+
<description/>
11+
<documentation_url/>
12+
<finding_type>scan_finding</finding_type>
13+
<name>ATF usage instance</name>
14+
<priority>2</priority>
15+
<resolution_details/>
16+
<run_condition/>
17+
<score_max>100</score_max>
18+
<score_min>0</score_min>
19+
<score_scale>1</score_scale>
20+
<script><![CDATA[(function (finding, current) {
21+
// Checks if we are in a non-production instance
22+
if (gs.getProperty("glide.installation.production") === "false")
23+
finding.increment();
24+
25+
})(finding, current);]]></script>
26+
<short_description>Checking ATFs are using in Non production instances.</short_description>
27+
<sys_class_name>scan_table_check</sys_class_name>
28+
<sys_created_by>admin</sys_created_by>
29+
<sys_created_on>2024-10-16 14:19:07</sys_created_on>
30+
<sys_id>6f14fe555359161000b51901a0490ef9</sys_id>
31+
<sys_mod_count>0</sys_mod_count>
32+
<sys_name>ATF usage instance</sys_name>
33+
<sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
34+
<sys_policy/>
35+
<sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
36+
<sys_update_name>scan_table_check_6f14fe555359161000b51901a0490ef9</sys_update_name>
37+
<sys_updated_by>admin</sys_updated_by>
38+
<sys_updated_on>2024-10-16 14:19:07</sys_updated_on>
39+
<table>sys_properties</table>
40+
<use_manifest>false</use_manifest>
41+
</scan_table_check>
42+
<sys_translated_text action="delete_multiple" query="documentkey=6f14fe555359161000b51901a0490ef9"/>
43+
<sys_es_latest_script action="INSERT_OR_UPDATE">
44+
<id>6f14fe555359161000b51901a0490ef9</id>
45+
<sys_created_by>admin</sys_created_by>
46+
<sys_created_on>2024-10-16 14:19:06</sys_created_on>
47+
<sys_id>57a4ba915359161000b51901a0490e13</sys_id>
48+
<sys_mod_count>0</sys_mod_count>
49+
<sys_updated_by>admin</sys_updated_by>
50+
<sys_updated_on>2024-10-16 14:19:06</sys_updated_on>
51+
<table>scan_table_check</table>
52+
<use_es_latest>true</use_es_latest>
53+
</sys_es_latest_script>
54+
</record_update>

0 commit comments

Comments
 (0)