SAMLユーザー権限: カスタム属性(上級者向け)
これはユーザー権限を設定する高度な方法です。SAML Access Profilesの利用を推奨します
https://help.aikido.dev/doc/saml-user-rights-access-profiles-recommended/docVaVb0VPy1
本ガイドでは、SAMLカスタム属性を使ってAikido内のユーザー権限を設定・管理する方法を詳しく説明します。aikido_role、aikido_data_edit_rights、aikido_can_ignore、aikido_can_snooze、aikido_can_change_severity、aikido_can_manage_teams、aikido_teamsなどの属性を活用することで、IDプロバイダー側からユーザーの権限とロールを制御できます。この方法により、IDプロバイダーで設定した内容と同じアクセス権をAikido上でも持たせることができます。
-
aikido_access_profile: 詳細はこちら
SAML Access Profilesを設定する場合は、このクレームを使用します。<saml:Attribute Name="aikido_access_profile"><saml:AttributeValue xsi:type="xs:anyType">My Access Profile</saml:AttributeValue></saml:Attribute> -
aikido_username: Aikido上でのユーザー名を定義できます
<saml:Attribute Name="aikido_username"><saml:AttributeValue xsi:type="xs:anyType">John Doe</saml:AttributeValue></saml:Attribute> -
aikido_role:
admin,default,team_only<saml:Attribute Name="aikido_role"><saml:AttributeValue xsi:type="xs:anyType">default</saml:AttributeValue></saml:Attribute> -
aikido_data_edit_rights:
standard,read_only<saml:Attribute Name="aikido_data_edit_rights"><saml:AttributeValue xsi:type="xs:anyType">standard</saml:AttributeValue></saml:Attribute> -
aikido_can_ignore:
true,false<saml:Attribute Name="aikido_can_ignore"><saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue></saml:Attribute> -
aikido_can_snooze:
true,false<saml:Attribute Name="aikido_can_snooze"><saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue></saml:Attribute> -
aikido_can_change_severity:
true,false<saml:Attribute Name="aikido_can_change_severity"><saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue></saml:Attribute> -
aikido_can_manage_teams:
true,false<saml:Attribute Name="aikido_can_manage_teams"><saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue></saml:Attribute> -
aikido_can_export_data:
true,false<saml:Attribute Name="aikido_can_export_data"><saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue></saml:Attribute> -
aikido_can_manage_clouds:
true,false<saml:Attribute Name="aikido_can_manage_clouds"><saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue></saml:Attribute> -
aikido_can_manage_containers:
true,false<saml:Attribute Name="aikido_can_manage_containers"><saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue></saml:Attribute> -
aikido_can_manage_domains:
true,false<saml:Attribute Name="aikido_can_manage_domains"><saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue></saml:Attribute> -
aikido_can_manage_pentests:
true,false<saml:Attribute Name="aikido_can_manage_pentests"><saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue></saml:Attribute> -
aikido_can_manage_code_quality:
true,false<saml:Attribute Name="aikido_can_manage_code_quality"> <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue> </saml:Attribute> -
aikido_can_manage_repos:
true,false<saml:Attribute Name="aikido_can_manage_repos"> <saml:AttributeValue xsi:type="xs:anyType">true</saml:AttributeValue> </saml:Attribute> -
aikido_teams: ユーザーが所属するチームを定義できます。指定したチームがAikido上に存在しない場合は作成されます。ユーザーは指定されたチームへ自動的に参加し、この設定を行うとそれ以外の全てのチームからは削除されます。
<saml:Attribute Name="aikido_teams"><saml:AttributeValue xsi:type="xs:anyType">team1</saml:AttributeValue><saml:AttributeValue xsi:type="xs:anyType">team2</saml:AttributeValue></saml:Attribute> -
aikido_workspace_ids: ユーザーが所属するAikidoワークスペースを定義できます。ユーザーは指定されたワークスペースへ自動的に参加し、このフィールドを設定するとそれ以外の全てのワークスペースからは削除されます。
<saml:Attribute Name="aikido_workspace_ids"><saml:AttributeValue xsi:type="xs:anyType">1233</saml:AttributeValue><saml:AttributeValue xsi:type="xs:anyType">2511</saml:AttributeValue></saml:Attribute> -
github_samlidentity_nameid:(GitHub専用)SAMLユーザーに基づくチームメンバー同期は、現在ユーザーがGitHubにもSAML経由でログインしている場合のみ機能します。ユーザーのメールアドレスを含む
github_samlidentity_nameidSAMLクレームを送信することで、team-syncを実行した際にSAMLチームメンバーも同期されるようになります。<saml:Attribute Name="github_samlidentity_nameid"></saml:Attribute>