From 813be138a3fb83714250a9494cc495becb562bd7 Mon Sep 17 00:00:00 2001 From: atoll Date: Tue, 23 Jan 2024 10:55:35 -0800 Subject: [PATCH] report when client_id is missing, with/without AAL: LOW --- tools/client_id_checker.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tools/client_id_checker.rb b/tools/client_id_checker.rb index a8b9cfaf..55f0f799 100644 --- a/tools/client_id_checker.rb +++ b/tools/client_id_checker.rb @@ -7,7 +7,15 @@ begin client_id = app["application"]["client_id"] - unless client_id.nil? + if client_id.nil? + url = app["application"]["url"] + aal = app["application"]["AAL"] + if aal.nil? or aal != "LOW" + puts "no client_id and no AAL: LOW for #{url}" + else + puts "no client_id for #{url}" + end + else client_ids.append(client_id) end rescue