Skip to content

Check any asset assigned to inactive user #174

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

Merged
Show file tree
Hide file tree
Changes from all 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 @@ -12,6 +12,9 @@ Open-Sourced community contributed and owned repository for Instance Scan Defini

## Category: Manageability

### Check any assets assigned to inactive user
Check if any asset is assigned to inactive users.

### 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 @@
uTtI4o90QWk2giM8-uXZ_tS99axtH6tt4ufWIybm3AOX5QnKW5ZHLipIhVtx2peKcDTR4wNX2mxV6kiA4H3pv1cPHvrUfoZZFM1EZ4W0S-seqtQBnVeqdAFzXQRUUPZ_ToCVlmdKCKjcpemPf4qOuHAh9zIhjtXI7Ohc19D_JUVIUIWBoC4ff_dyV1N_niivUkpb-5OGz9KGetsD19QcEwscb49F54W5XW3C-LMTZRAjnedoj9XiwUv9jw3rv5hMzmE01iL5c9jYTVcgCydHSKL5CWPKUY7Wxyz5Tr0PQir-KMOFPvxlKEwRTJWT7xlcFQ2o3EVIoYR1CulDes2n9LqPPIaSq7_x8Mgvj3JrfuMFngiJZ_Ik1uyKk23puplCbPD_7FtOpafe-pkROTj8KESq_cdAlJ4E6G1ZJ0jfUJuYA8Ua-mB1ii8RilO5BUr0DFprOYwe6pgBPl3hAwGXZ3ppMw11UrTnVhjXAllk6XWUE3BAG0mogEMQS9QNO05iLTwaW5Ad0Gy_tOvZRu7j6pEZpVbK7yUhRiJzVhFA6XUMxupEvZZ6JX3ClTTRQdgJuQvAp0mssWfdDWLuWzDnf8IhgQVF7dPP9HMWkQcdf8-DeUawrjEIrLfUhXzP9cEVH-dgKQK1BVGJtjQpNVC9RAe_ReKIkfmMfrqakQ-r3I0
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
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="alm_asset">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 any asset is assigned to inactive users.</description>
<documentation_url/>
<finding_type>scan_finding</finding_type>
<name>Inactive User check : Asset assigned to</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>Check Asset is assigned to inactive user</short_description>
<sys_class_name>scan_table_check</sys_class_name>
<sys_created_by>admin</sys_created_by>
<sys_created_on>2024-10-31 14:22:55</sys_created_on>
<sys_id>a1544896c3211210d419de1d050131e8</sys_id>
<sys_mod_count>0</sys_mod_count>
<sys_name>Inactive User check : Asset assigned to</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_a1544896c3211210d419de1d050131e8</sys_update_name>
<sys_updated_by>admin</sys_updated_by>
<sys_updated_on>2024-10-31 14:22:55</sys_updated_on>
<table>alm_asset</table>
<use_manifest>false</use_manifest>
</scan_table_check>
<sys_translated_text action="delete_multiple" query="documentkey=a1544896c3211210d419de1d050131e8"/>
</record_update>
Loading