* website: Bump prettier from 3.3.3 to 3.4.1 in /website Bumps [prettier](https://github.com/prettier/prettier) from 3.3.3 to 3.4.1. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.3.3...3.4.1) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * update formatting Signed-off-by: Jens Langhammer <jens@goauthentik.io> * sigh Signed-off-by: Jens Langhammer <jens@goauthentik.io> * disable flaky test Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Jens Langhammer <jens@goauthentik.io> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jens Langhammer <jens@goauthentik.io>
		
			
				
	
	
	
		
			2.2 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			2.2 KiB
		
	
	
	
	
	
	
	
title, sidebar_label
| title | sidebar_label | 
|---|---|
| Integrate with SonarQube | SonarQube | 
SonarQube
Support level: Community
What is SonarQube
Self-managed static analysis tool for continuous codebase inspection
Preparation
The following placeholders will be used:
sonarqube.companyis the FQDN of the sonarqube install.authentik.companyis the FQDN of the authentik install.
Terraform provider
Create an application in authentik. Create a SAML Provider with the following values
data "authentik_flow" "default-provider-authorization-implicit-consent" {
  slug = "default-provider-authorization-implicit-consent"
}
data "authentik_property_mapping_saml" "saml-sonar-qube" {
  managed_list = [
    "goauthentik.io/providers/saml/email",
    "goauthentik.io/providers/saml/username",
    "goauthentik.io/providers/saml/name"
  ]
}
resource "authentik_provider_saml" "provider_sonar-qube" {
    name                = "SonarQube"
    authorization_flow  = data.authentik_flow.default-provider-authorization-implicit-consent.id
    acs_url    = "https://sonarqube.company/oauth2/callback/saml"
    issuer     = "https://authentik.company/"
    sp_binding = "post"
    audience   = "https://sonarqube.company/saml2/metadata"
    property_mappings = data.authentik_property_mapping_saml.saml-sonar-qube.ids
}
resource "authentik_application" "application_sonar-qube" {
    name              = "SonarQube"
    slug              = "sonarqube"
    protocol_provider = authentik_provider_saml.provider_sonar-qube.id
}
SonarQube
Navigate to Administration -> Configuration -> Authentication -> Saml
Input these Values
- Application ID: https://sonarqube.company/saml2/metadata
 - Provider Name: authentik
 - Provider ID: https://authentik.company/
 - SAML login url: https://authentik.company/application/saml/sonarqube/sso/binding/redirect/
 - Identity provider certificate: Download it from authentik
 - SAML user login attribute: http://schemas.goauthentik.io/2021/02/saml/username
 - SAML user name attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name
 - SAML user email attribute: http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress