From 8e3a111995f1f2d9b8c9246fb698ce786b4a478b Mon Sep 17 00:00:00 2001 From: Rampriya <114834474+Rampriya-S@users.noreply.github.com> Date: Thu, 31 Oct 2024 10:42:00 -0400 Subject: [PATCH] Check any asset assigned to inactive user (#174) * We should ensure that inactive users are removed from being assigned as Catalog item owners. * Check if any asset is assigned to inactive users. * Update README.md Check if any asset is assigned to inactive users. --------- Co-authored-by: admin Co-authored-by: niamccash <39105458+niamccash@users.noreply.github.com> --- README.md | 3 ++ ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt | 2 +- ...check_a1544896c3211210d419de1d050131e8.xml | 41 +++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 ca8467c41b9abc10ce0f62c3b24bcbaa/update/scan_table_check_a1544896c3211210d419de1d050131e8.xml diff --git a/README.md b/README.md index b479a59..f857357 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt b/ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt index 579e25e..a470068 100644 --- a/ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt +++ b/ca8467c41b9abc10ce0f62c3b24bcbaa/checksum.txt @@ -1 +1 @@ -uTtI4o90QWk2giM8-uXZ_tS99axtH6tt4ufWIybm3AOX5QnKW5ZHLipIhVtx2peKcDTR4wNX2mxV6kiA4H3pv1cPHvrUfoZZFM1EZ4W0S-seqtQBnVeqdAFzXQRUUPZ_ToCVlmdKCKjcpemPf4qOuHAh9zIhjtXI7Ohc19D_JUVIUIWBoC4ff_dyV1N_niivUkpb-5OGz9KGetsD19QcEwscb49F54W5XW3C-LMTZRAjnedoj9XiwUv9jw3rv5hMzmE01iL5c9jYTVcgCydHSK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8mGVcCtPNlTjsmuNwn8fvdSuaU \ No newline at end of file diff --git a/ca8467c41b9abc10ce0f62c3b24bcbaa/update/scan_table_check_a1544896c3211210d419de1d050131e8.xml b/ca8467c41b9abc10ce0f62c3b24bcbaa/update/scan_table_check_a1544896c3211210d419de1d050131e8.xml new file mode 100644 index 0000000..507bafc --- /dev/null +++ b/ca8467c41b9abc10ce0f62c3b24bcbaa/update/scan_table_check_a1544896c3211210d419de1d050131e8.xml @@ -0,0 +1,41 @@ + + + true + false + manageability + assigned_to.active=false^EQ + + + Check any asset is assigned to inactive users. + + scan_finding + Inactive User check : Asset assigned to + 2 + + + 100 + 0 + 1 + + Check Asset is assigned to inactive user + scan_table_check + admin + 2024-10-31 14:22:55 + a1544896c3211210d419de1d050131e8 + 0 + Inactive User check : Asset assigned to + ca8467c41b9abc10ce0f62c3b24bcbaa + + ca8467c41b9abc10ce0f62c3b24bcbaa + scan_table_check_a1544896c3211210d419de1d050131e8 + admin + 2024-10-31 14:22:55 + alm_asset
+ false +
+ +