pub fn security_is_compatible(
    scan_security: &SecurityTypeDetailed,
    credential: &Credential
) -> bool