Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if any incidents are assigned to inactive user #178

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Open-Sourced community contributed and owned repository for Instance Scan Defini
### Check any assets assigned to inactive user
Check if any asset is assigned to inactive users.

### Check if any incidents are assigned to inactive users.
Check if any incidents are assigned to inactive user.

### Inactive User Check : Catalog Item
We should ensure that inactive users are removed from being assigned as Catalog item owners.

Expand Down
2 changes: 1 addition & 1 deletion ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
HTyLYLhnyO9jJ2-wVHbOdN5QH-XVqntqccC6pkvG7d1BybJs18Flv4aXZMFFi0UINXoIixTFVdpu_v2Jo1wDrgq6JHtdYyLYIAzAXNtfykYOcIVYQw0dInO3V6vz-ahJzRQuBv_z7sAvGLAWUQKADubjps7VDo8bEzPbCKDoFdpVsRacY2gQCQKygk6xoNrwLzznHwB3Izkq_nhWki_FPwJdiOJyMwkWRl9r9z94A4uo58WoFb3655hUHuFfGCnAdr0fC5n7NzznSREFMU_Oj2OW_NT8iRzBybmK_DJ3Vibe53W1Q86I7Hy3cRf1mV1VaDCLRYxr01lyiezxZu77TEYe7sOixnHommnqr3-Dxq-dyWGWCX2zRNcFKp9tGgZv8PryA8vf_AqVay6OnM_MiG0KhtG9-48c89zb7ugwS8fy046nadVy5M-qp_SszVp_4IMXhtohP2l57EfeIjGcWqgodxzIDl67r-dIfAUVjKcCGgMCDtzNzmsili-YNVZ5allJukpkCqcs5hbi_u1CAl99XqW5M3fU7u7wrfyl_QklnIVhnLTxGXm_h5jWuJ5BY_mEbDxXLEGAFM0W5ORtUTyTu_BlVx_RtjNr4k9hhVPS6Dabwtavu9VXAHekp9tSd68P10wq0_L9jQTAo8mGVcCtPNlTjsmuNwn8fvdSuaU
vqS62dwsHOftj0lK7PR87gomw2pIhK44opT0jPKRyjaGenHOsrTkyPCKzQ7rEUQHL5wJzSlMh2o7sx36ilRDd4i88RNzKdRmZQrAE43MBZiIP0vH5yIkRc9lrfiqlfrqlDa5QTwro6H3y4_p_S4sJaGSnLteaAJVb5sn7kboEKpPAvpdV8cgu-rlAKAzB9vegqMVyfgzrzzPlsZhChJpJZzGaqAhnN8h8VY1CH05130BFPqoo1M4DPdLevgSBoH_Hdx1UI4gh7XNIc722PYxnWc-suyoupr9vJk1mHKv0TtIG1UVf1UdlYuLplbA83Xjv-BGOzuHYCCBHy6DG97PjEYe_dHt5OE_51l59nDazeJXpYqQUQ21dEF4pnh1ZkKf3opqlxB7cHRtDL4-Fvj0HKemx8WjSoDC2ww_kGolUrR8KNWIewMS8de65BZMOFuvi0DvA2M0RjNSdxtDtGuJbGfd1gXuk8EO8B69uuyTDBD1q7hzowaVGXALNqKfLEk_BqsTv03-3sX1AAC7lU2VNjqCcESKEPimlLbYEh2xZUySwNJ3nsugjviNfHsGofds0xUjVfNJEoQtqEOu3VfMFK0zufXyLkCxLH-HFKwAy1tb2_Z0RvVK8MhrHfcqE5dQSbGTpOKW4J-OR939_Vx2KD1hwu901aNQmO6NMN5ix2c
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?><record_update table="scan_table_check">
<scan_table_check action="INSERT_OR_UPDATE">
<active>true</active>
<advanced>false</advanced>
<category>manageability</category>
<conditions table="incident">assigned_to.active=false^EQ<item endquery="false" field="assigned_to.active" goto="false" newquery="false" operator="=" or="false" value="false"/>
<item endquery="true" field="" goto="false" newquery="false" operator="=" or="false" value=""/>
</conditions>
<description>Check if any incidents are assigned to inactive user.</description>
<documentation_url/>
<finding_type>scan_finding</finding_type>
<name>Check inactive user:incident</name>
<priority>2</priority>
<resolution_details/>
<run_condition/>
<score_max>100</score_max>
<score_min>0</score_min>
<score_scale>1</score_scale>
<script><![CDATA[(function (engine) {

// Add your code here

})(engine);]]></script>
<short_description>Incident should not be assigned to inactive users.</short_description>
<sys_class_name>scan_table_check</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-11-01 01:11:37</sys_created_on>
<sys_id>7558925a83211210533ecc50ceaad346</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>Check inactive user:incident</sys_name>
<sys_package display_value="Example Instance Checks" source="x_appe_exa_checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_package>
<sys_policy/>
<sys_scope display_value="Example Instance Checks">ca8467c41b9abc10ce0f62c3b24bcbaa</sys_scope>
<sys_update_name>scan_table_check_7558925a83211210533ecc50ceaad346</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-11-01 01:11:37</sys_updated_on>
<table>incident</table>
<use_manifest>false</use_manifest>
</scan_table_check>
<sys_translated_text action="delete_multiple" query="documentkey=7558925a83211210533ecc50ceaad346"/>
</record_update>