Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SLS-18 - Logging Capability #35

Merged
merged 18 commits into from
Apr 20, 2023
Merged

SLS-18 - Logging Capability #35

merged 18 commits into from
Apr 20, 2023

Conversation

alessio-cialini
Copy link
Contributor

@alessio-cialini alessio-cialini commented Apr 20, 2023

List of Changes

  • Introducing logging service interface within core SDK
  • Introducing logging for defined portions of the validation process through the logging service
  • Defined standard logback implementation
  • Defined default includes for logback using async stdout and file appenders
  • Defined usage and implementation of a spring configuration within test app

Motivation and Context

Non functional requirement involving logging of lollipop request/response, recovered saml assertions, recovered idp certs data

How it as been tested

Evaluated logging through exexutions on core sdk and spring test implementation

###Screenshots

`2023-04-20 18:52:29.457+0200 [appName_IS_UNDEFINED] INFO [http-nio-auto-1-exec-1] [//] [i.p.t.l.c.l.i.LollipopLogbackLoggerService.?] - LollipopAudit: SAML Assertion found using assertionRef sha256-_ZzL8qeuAM5kQ9pbMB4tn7IDSQZCVXAkW9fm4P7ULPI and jwt aValidJWT: SamlAssertion(assertionRef=sha256-_ZzL8qeuAM5kQ9pbMB4tn7IDSQZCVXAkW9fm4P7ULPI, assertionData= <saml2p:Response xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol" Destination="https://app-backend.io.italia.it/assertionConsumerService" ID="_de2ce675-f1e5-46fc-96ed-019803471175" InResponseTo="sha256-_ZzL8qeuAM5kQ9pbMB4tn7IDSQZCVXAkW9fm4P7ULPI" IssueInstant="2023-02-28T16:27:26.400Z" Version="2.0"> <saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">https://posteid.poste.it</saml2:Issuer> IYCwE8NJNGLAGdL8zA/W/kuTLdlHMMXMeP2hei8LYqU= GI9CwzYfcmTBE9Lf7Hvqr2bgCkfbuq6vZPwZaaCmxq5cicDf7+k6TYussUx147iAdng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B54rzJoQxz90gS868r/+JGahYwHY5dUh1RbA4g5N8H3TDThc= saml2p:Status <saml2p:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success" /> </saml2p:Status> <saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" ID="_6b9580aa-08b1-4f19-8fb6-8b670d070bad" IssueInstant="2023-02-28T16:27:25.400Z" Version="2.0"> <saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity"> https://posteid.poste.it</saml2:Issuer> ViSjPfKj683dCuO7FdSzbQjw+vECYfoxgTeiVSgxr+I= O9lmrtHPudDz2fzzNH3DQxWy2rlXE56G54Siq7OPMYwps/cyo3wKo7+PwMJYNhhz1l57OYJ5e/MF ctVtYyl2rWo3QZOidWhg8WINIEqtFXIpk+ht5i2t3P1132/iL/gnY+fgemhnbOV/otEspHA4Wsio I8xWjekAFlHBTOTtO9vzzqTtf+yalf+6pZmRLtOYrMMV4W3QZ2oLr7C2vTgcl5eVXJyGf0U8Y2bf 7OPRHJNnVs4S8ztWQEwqZLFA1SvyCx1Nx6f+xd9lT7Lo1h81MRMdvRTk3rAaWYaqAmU9mxVnzsw4 xaLjxR4rE2drY3eb+O8uHZbzFlOhPtaINRPILg== MIIFgzCCA2ugAwIBAgIIJSppAZKg/XQwDQYJKoZIhvcNAQELBQAwZTELMAkGA1UEBhMCSVQxHjAc BgNVBAoMFVBvc3RlIEl0YWxpYW5lIFMucC5BLjEaMBgGA1UEYQwRVkFUSVQtMDExMTQ2MDEwMDYx GjAYBgNVBAMMEVBvc3RlIEl0YWxpYW5lIENBMB4XDTIxMDIxODExNDYzMVoXDTI0MDIxOTExNDYz MVowQzELMAkGA1UEBhMCSVQxHjAcBgNVBAoMFVBvc3RlIEl0YWxpYW5lIFMucC5BLjEUMBIGA1UE AwwLaWRwLXBvc3RlaWQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZFEtJoEHFAjpC aZcj5DVWrRDyaLZy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FkX9qgVrgFIIJJT2KadHoop1r65O9ffncK14qpNo3eTsNDq3hRlteb7ylmlJ8CoakUWZeXD DP9ZboWxZkyp+9903OrToRvOgeWSc+YrqcRZOv7r6tTALTk4U9OTKDG9/eNWSGQqD7Qd/9rssfF0 uJEGHnbsk/Hvdxn8apgWN1Zwt6tsT7f/DO0Pdlaso9g7PVy8R+B3VkWAh76uCcICIPFBluC/ljaH V8hI+VsCLpMClo83YMCEM6E6nAPD22+fDR/DF9P73P04yUvJVHx4cnHPrpxVrPbaJoKrr9mUOLFy VRekX78ZRgiFiKYDNsiq9+148oRy+VehpmBoQ+T2EPeDFQ8JJ4xT8H7qdyr1swSk/9Lu4K0kw/yC TSb9K/wCuiHiuoSB54rzJoQxz90gS868r/+JGahYwHY5dUh1RbA4g5N8H3TDThc= saml2:Subject <saml2:NameID Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient" NameQualifier="https://posteid.poste.it">SPID-d4de186b-e103-4b39-8209-0bccc7b1acdd</saml2:NameID> <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer"> <saml2:SubjectConfirmationData InResponseTo="sha256-_ZzL8qeuAM5kQ9pbMB4tn7IDSQZCVXAkW9fm4P7ULPI" NotOnOrAfter="2023-02-28T16:28:25.400Z" Recipient="https://app-backend.io.italia.it/assertionConsumerService" /> </saml2:SubjectConfirmation> </saml2:Subject> <saml2:Conditions NotBefore="2023-04-20T18:52:25.851Z" NotOnOrAfter="2023-02-28T16:28:25.400Z"> saml2:AudienceRestriction saml2:Audiencehttps://app-backend.io.italia.it</saml2:Audience> </saml2:AudienceRestriction> </saml2:Conditions> <saml2:AuthnStatement AuthnInstant="2023-02-28T16:27:25.400Z"> saml2:AuthnContext saml2:AuthnContextClassRefhttps://www.spid.gov.it/SpidL2</saml2:AuthnContextClassRef> </saml2:AuthnContext> </saml2:AuthnStatement> saml2:AttributeStatement <saml2:Attribute FriendlyName="Codice fiscale" Name="fiscalNumber"> <saml2:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string"> TINIT-AAAAAA89S20I111X</saml2:AttributeValue> </saml2:Attribute> </saml2:AttributeStatement> </saml2:Assertion> </saml2p:Response>)
2023-04-20 18:52:31.118+0200 [appName_IS_UNDEFINED] INFO [http-nio-auto-1-exec-1] [//] [i.p.t.l.c.l.i.LollipopLogbackLoggerService.?] - LollipopAudit: IdP certificates has been found for entityId https://posteid.poste.it at instant 1677598045400: [IdpCertData(entityId=https://posteid.poste.it, tag=latest, certData=[MIIFgzCCA2ugAwIBAgIIJSppAZKg/XQwDQYJKoZIhvcNAQELBQAwZTELMAkGA1UEBhMCSVQxHjAc
BgNVBAoMFVBvc3RlIEl0YWxpYW5lIFMucC5BLjEaMBgGA1UEYQwRVkFUSVQtMDExMTQ2MDEwMDYx
GjAYBgNVBAMMEVBvc3RlIEl0YWxpYW5lIENBMB4XDTIxMDIxODExNDYzMVoXDTI0MDIxOTExNDYz
MVowQzELMAkGA1UEBhMCSVQxHjAcBgNVBAoMFVBvc3RlIEl0YWxpYW5lIFMucC5BLjEUMBIGA1UE
AwwLaWRwLXBvc3RlaWQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZFEtJoEHFAjpC
aZcj5DVWrRDyaLZyu31XApslbo87CyWz61OJMtw6QQU0MdCtrYbtSJ6vJwx7/6EUjsZ3u4x3EPLd
lkyiGOqukPwATv4c7TVOUVs5onIqTphM9b+AHRg4ehiMGesm/9d7RIaLuN79iPUvdLn6WP3idAfE
w+rhJ/wYEQ0h1Xm5osNUgtWcBGavZIjLssWNrDDfJYxXH3QZ0kI6feEvLCJwgjXLGkBuhFehNhM4
fhbX9iUCWwwkJ3JsP2++Rc/iTA0LZhiUsXNNq7gBcLAJ9UX2V1dWjTzBHevfHspzt4e0VgIIwbDR
qsRtF8VUPSDYYbLoqwbLt18XAgMBAAGjggFXMIIBUzA/BggrBgEF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.l.i.LollipopLogbackLoggerService.?] - LollipopAudit: Lollipop validation for request: LollipopConsumerRequest(requestBody={"message":"a valid message payload"}, requestParams=null, headerParams={content-length=37, x-pagopa-lollipop-assertion-ref=sha256-_ZzL8qeuAM5kQ9pbMB4tn7IDSQZCVXAkW9fm4P7ULPI, signature=sig123=:lTuoRytp53GuUMOB4Rz1z97Y96gfSeEOm/xVpO39d3HR6lLAy4KYiGq+1hZ7nmRFBt2bASWEpen7ov5O4wU3kQ==:, x-pagopa-lollipop-auth-jwt=aValidJWT, accept=text/plain, application/json, application/xml, application/+json, text/xml, application/+xml, /, content-digest=sha-256=:cpyRqJ1VhoVC+MSs9fq4/4wXs4c46EyEFriskys43Zw=:, x-pagopa-lollipop-original-url=https://api-app.io.pagopa.it/first-lollipop/sign, x-pagopa-lollipop-assertion-type=SAML, host=localhost:61571, content-type=text/plain;charset=UTF-8, connection=Keep-Alive, x-pagopa-lollipop-public-key=eyJrdHkiOiJFQyIsIngiOiJGcUZEdXdFZ3U0TVVYRVJQTVZMLTg1cEd2MkQzWW1MNEoxZ2ZNa2RiYzI0IiwieSI6ImhkVjBveG1XRlN4TW9KVURwZGlocjc2clM4VlJCRXFNRmViWXlBZks5LWsiLCJjcnYiOiJQLTI1NiJ9, x-pagopa-lollipop-user-id=AAAAAA89S20I111X, x-pagopa-lollipop-original-method=POST, signature-input=sig123=("content-digest" "x-pagopa-lollipop-original-method" "x-pagopa-lollipop-original-url");created=1678293988;nonce="aNonce";alg="ecdsa-p256-sha256";keyid="sha256-a7qE0Y0DyqeOFFREIQSLKfu5WlbckdxVXKFasfcI-Dg", accept-encoding=gzip,deflate, user-agent=Apache-HttpClient/4.5.13 (Java/11.0.18)}) completed with the result: CommandResult(resultCode=SUCCESS, resultMessage=Verification completed successfully)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)

`

@github-actions
Copy link

@github-actions
Copy link

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

64.0% 64.0% Coverage
0.0% 0.0% Duplication

@alessio-cialini alessio-cialini merged commit 553abab into core-sprint-3 Apr 20, 2023
This was referenced Apr 21, 2023
@alessio-cialini alessio-cialini deleted the SLS-18-new branch April 27, 2023 12:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants