Skip to content
Merged
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
4 changes: 2 additions & 2 deletions lib/reporting/protocols_report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class ProtocolsReport
attr_reader :time_range

SAML_AUTH_EVENT = 'SAML Auth'
SAML_AUTH_REQUEST_EVENT = 'SAML Auth Request'
OIDC_AUTH_EVENT = 'OpenID Connect: authorization request'

# @param [Range<Time>] time_range
Expand Down Expand Up @@ -352,7 +353,7 @@ def protocol_query

def saml_signature_query
params = {
events: quote([SAML_AUTH_EVENT]),
events: quote([SAML_AUTH_REQUEST_EVENT]),
}

format(<<~QUERY, params)
Expand All @@ -362,7 +363,6 @@ def saml_signature_query
properties.event_properties.request_signed != 1 AS not_signed,
isempty(properties.event_properties.matching_cert_serial) AND signed AS invalid_signature
| filter name IN %{events}
AND properties.event_properties.success = 1
| stats
sum(not_signed) AS unsigned_count,
sum(invalid_signature) AS invalid_signature_count
Expand Down