For the complete documentation index, see llms.txt. This page is also available as Markdown.

SAMLユーザー権限:カスタム属性(上級者向け)

これはユーザー権限を設定する高度な方法です。以下を使用することをお勧めします SAMLアクセスプロファイル

このガイドでは、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">マイアクセスプロファイル</saml:AttributeValue>
    </saml:Attribute>
  • aikido_username: Aikido でユーザー名を定義できます

    <saml:Attribute Name="aikido_username">
        <saml:AttributeValue xsi:type="xs:anyType">ジョン・ドウ</saml:AttributeValue>
    </saml:Attribute>
  • aikido_role: admin, default, team_only

    <saml:Attribute Name="aikido_role">
        <saml:AttributeValue xsi:type="xs:anyType">デフォルト</saml:AttributeValue>
    </saml:Attribute>
  • aikido_data_edit_rights: 標準, 読み取り専用

    <saml:Attribute Name="aikido_data_edit_rights">
        <saml:AttributeValue xsi:type="xs:anyType">標準</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 ユーザーに基づくチームメンバーの同期は、現在、ユーザーが SAML 経由で GitHub にもログインしている場合にのみ機能します。 github_samlidentity_nameid ユーザーのメールアドレスを含む SAML クレームを送信すると、チーム同期をトリガーした際に SAML のチームメンバーも同期されます。

    <saml:Attribute Name="github_samlidentity_nameid">
        <saml:AttributeValue xsi:type="xs:anyType">[email protected]</saml:AttributeValue>
    </saml:Attribute>
  • github_user_slug: (GitHub 固有)SAML ユーザーに基づくチームメンバーの同期は、現在、ユーザーが SAML 経由で GitHub にもログインしている場合にのみ機能します。 github_user_slug ユーザーの GitHub スラッグを含む SAML クレームを送信すると、チーム同期をトリガーした際に SAML のチームメンバーも同期されます。

    <saml:Attribute Name="github_user_slug">
        <saml:AttributeValue xsi:type="xs:anyType"johndoe</saml:AttributeValue>
    </saml:Attribute>

最終更新

役に立ちましたか?