NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

SELECT
CINumber,
ApplicationName,
UserAuthenticationMethod,
IAMProvisioningMethod,

/* Rule 1: Modern authentication */
CASE
WHEN UserAuthenticationMethod ILIKE '%SAML%'
OR UserAuthenticationMethod ILIKE '%OIDC%'
THEN 1 ELSE 0
END AS is_modern_auth,

/* Rule 2: MFA enforced */
CASE
WHEN UserAuthenticationMethod ILIKE '%strong authentication%'
THEN 1 ELSE 0
END AS is_mfa_enabled,

/* Rule 3: IAM provisioning selected */
CASE
WHEN IAMProvisioningMethod IS NOT NULL
AND TRIM(IAMProvisioningMethod) <> ''
THEN 1 ELSE 0
END AS is_iam_selected,

/* Final compliance decision */
CASE
WHEN
(UserAuthenticationMethod ILIKE '%SAML%'
OR UserAuthenticationMethod ILIKE '%OIDC%')
AND UserAuthenticationMethod ILIKE '%strong authentication%'
AND IAMProvisioningMethod IS NOT NULL
AND TRIM(IAMProvisioningMethod) <> ''
THEN 'COMPLIANT'
ELSE 'NON_COMPLIANT'
END AS compliance_status,

/* Ready to implement (Up to MFA) */
CASE
WHEN
(UserAuthenticationMethod ILIKE '%SAML%'
OR UserAuthenticationMethod ILIKE '%OIDC%')
AND UserAuthenticationMethod NOT ILIKE '%strong authentication%'
THEN 'READY_TO_IMPLEMENT'
ELSE 'NOT_READY'
END AS ready_to_implement_status

FROM cms_application;


SELECT
COUNT(*) AS total_applications,

SUM(
CASE
WHEN
(UserAuthenticationMethod ILIKE '%SAML%'
OR UserAuthenticationMethod ILIKE '%OIDC%')
AND UserAuthenticationMethod ILIKE '%strong authentication%'
AND IAMProvisioningMethod IS NOT NULL
AND TRIM(IAMProvisioningMethod) <> ''
THEN 1 ELSE 0
END
) AS compliant_applications,

ROUND(
100.0 * SUM(
CASE
WHEN
(UserAuthenticationMethod ILIKE '%SAML%'
OR UserAuthenticationMethod ILIKE '%OIDC%')
AND UserAuthenticationMethod ILIKE '%strong authentication%'
AND IAMProvisioningMethod IS NOT NULL
AND TRIM(IAMProvisioningMethod) <> ''
THEN 1 ELSE 0
END
) / COUNT(*),
2
) AS compliance_percentage
FROM cms_application;
     
 
what is notes.io
 

Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 14 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.