{
  "skill_name": "teleport-docs",
  "evals": [
    {
      "id": 0,
      "prompt": "We're rolling out Teleport for the team and want SSO through Microsoft Entra ID (Azure AD) using OIDC. How do I set up the OIDC auth connector for Entra ID, and how do I map Entra ID group claims to Teleport roles? I need the exact connector spec fields, especially how the claims-to-roles mapping is written.",
      "expected_output": "Grounded answer citing Teleport's Entra ID / Azure AD OIDC SSO docs (zero-trust-access/sso/*) with goteleport.com URL(s). Must name the exact OIDC connector spec fields as written in the docs — e.g. redirect_url, client_id/client_secret, and the claims_to_roles mapping (claim/value/roles) — and explain mapping Entra ID groups to Teleport roles. No invented field names.",
      "files": []
    },
    {
      "id": 1,
      "prompt": "Heads up, I'm confused: after we added request_access to one of our Teleport roles, those users now get prompted to make an access request every single time they log in, which we did not intend. What does the request_access role option actually do, what values can it take, and how do we stop the every-login prompt while keeping access requests available when needed?",
      "expected_output": "Grounded answer citing the Teleport role options / Access Requests docs with URL. Must correctly identify options.request_access as a role option, list its valid values (e.g. optional, always, reason) as documented, explain that 'always' is what forces the prompt on every login, and recommend the value that removes the forced prompt (optional/reason). Should not confuse it with the spec.allow.request block.",
      "files": []
    },
    {
      "id": 2,
      "prompt": "As part of our Teleport rollout we want just-in-time access: a user requests an elevated role and a reviewer approves it before it's granted. How do I configure Access Requests — which role fields define what a user is allowed to request, and which fields define who can review/approve requests?",
      "expected_output": "Grounded answer citing the Teleport Access Requests docs (identity-governance/access-requests/*) with URL(s). Must name the exact role spec fields: what a user can request (spec.allow.request.roles and/or search_as_roles) and who can review (spec.allow.review_requests). Quoted from docs, not invented.",
      "files": []
    },
    {
      "id": 3,
      "prompt": "We want to manage long-lived team access with periodic reviews instead of ad-hoc role grants — for example an 'on-call-db-admins' Access List that a team owner reviews every quarter, where membership grants specific Teleport roles. How do I set up an Access List, and which fields define the owners, the members, the roles/traits it grants, and the review frequency?",
      "expected_output": "Grounded answer citing the Teleport Access Lists docs (identity-governance/access-lists/*) with URL(s). Must name the exact resource spec fields: owners, members/membership, grants (grants.roles and grants.traits), and the periodic-review / audit recurrence configuration (audit, recurrence/frequency). Quoted from docs, not invented.",
      "files": []
    },
    {
      "id": 4,
      "prompt": "We're getting flooded with Access Request notifications. How do I use Access Monitoring Rules to route Access Request notifications to a specific Slack channel based on the requested roles, and (if possible) auto-approve certain low-risk requests? What does the access_monitoring_rule spec look like — the condition, the notification/recipients, and any automatic-review fields?",
      "expected_output": "Grounded answer citing the Teleport Access Monitoring Rules docs (identity-governance/access-requests/notification-routing-rules and/or reference/access-controls/access-monitoring-rules) with URL(s). Must name the access_monitoring_rule resource kind and exact spec fields: spec.subjects, spec.condition (the predicate), spec.notification (name/recipients), and the automatic_review/desired_state fields where applicable. Quoted from docs, not invented.",
      "files": []
    },
    {
      "id": 5,
      "prompt": "I'm setting up an Access Monitoring Rule in Teleport to auto-approve requests for the `staging-db-access` role and ping our `#access-requests` Slack channel. I wrote `condition: access_request.roles.contains_any(\"staging-db-access\")` but it never fires. What's the correct condition expression to match when that role is requested, and how do I add the auto-approval and Slack parts? Give me the Terraform resource.",
      "expected_output": "Corrects the predicate to use the field access_request.spec.roles (NOT access_request.roles) with a valid function form (access_request.spec.roles.contains(\"staging-db-access\") or contains(access_request.spec.roles, \"staging-db-access\")). Terraform teleport_access_monitoring_rule with spec.automatic_review.integration = \"builtin\", automatic_review.decision = \"APPROVED\", desired_state = \"reviewed\", notification.name = \"slack\", notification.recipients. Cites the predicate-language and/or access-monitoring-rule reference URLs. Community discriminator #1.",
      "files": []
    },
    {
      "id": 6,
      "prompt": "My `teleport_role` Terraform resource won't plan. I wrote it like a normal provider with `spec { allow { logins = [\"ubuntu\"] rules { resources = [\"node\"] verbs = [\"list\",\"read\"] } } }` and Terraform complains about block types. What's the right structure for a role with those logins and that rule?",
      "expected_output": "Explains the Teleport provider uses nested attributes with '=', not HCL blocks. Correct: spec = { allow = { logins = [...] rules = [{ resources=[...] verbs=[...] }] } }. rules is a list of objects. Cites terraform-provider/resources/role.md. Community discriminator #7.",
      "files": []
    },
    {
      "id": 7,
      "prompt": "I'm defining a Teleport Access List in Terraform for our `prod-oncall` group: owners should review membership quarterly, and members should receive the `prod-access` role. I keep getting validation errors on the audit recurrence, and I'm unclear which field actually grants the role. Can you give me the correct grants, owners, and audit recurrence for the teleport_access_list resource?",
      "expected_output": "teleport_access_list with spec.audit.recurrence.frequency = 3 (quarterly is the '3months' enum, value 3) and day_of_month one of 1/15/31; spec.grants.roles = [\"prod-access\"] is what membership confers (NOT owners, NOT membership_requires); spec.owners list. Cites terraform-provider/resources/access_list.md. Community discriminator #8.",
      "files": []
    },
    {
      "id": 8,
      "prompt": "I connected Teleport to Microsoft Entra ID via OIDC and added a claims_to_roles entry mapping the groups claim value `Platform-Engineers` to my `access` role, but no users get the role. In the audit log the groups claim is full of GUIDs like a1b2c3d4-1234-.... How am I supposed to map this?",
      "expected_output": "Explains Entra emits the groups claim as group OBJECT IDs (GUIDs), so claims_to_roles value must be the GUID, not the display name. Mentions the groups overage limit (~200) and entra_id_groups_provider / Graph permission for large group counts. Cites entra-id-oidc docs. Community discriminator #3.",
      "files": []
    },
    {
      "id": 9,
      "prompt": "How do I find the EKPub hash for a TPM join token so my bot can join? I'm deploying tbot on a Linux host with TPM-based joining.",
      "expected_output": "Surfaces and cites machine-workload-identity/deployment/linux-tpm.md. CONTENT-DEPENDENT eval: the discriminating terms (EKPub, EKCert, `tbot tpm identify`) appear only in the page BODY, not in its llms.txt title/description/slug — so a title-only lexical search misses it (rank 0) while full-text search ranks it #1. Tests body-only retrieval.",
      "files": []
    },
    {
      "id": 10,
      "prompt": "Our bot suddenly stopped renewing and tbot logs a certificate generation mismatch and says the bot is locked. What causes generation mismatch / a locked renewable cert and how do we recover?",
      "expected_output": "Surfaces and cites machine-workload-identity/troubleshooting.md. CONTENT-DEPENDENT eval: the whole query is built from error strings ('generation mismatch', 'locked', 'renewable cert') that live only in body text; title-only lexical search misses entirely (rank 0). Tests diagnostic/error-string retrieval.",
      "files": []
    },
    {
      "id": 11,
      "prompt": "I want to restrict session recordings so a user can only replay sessions they actually participated in. Which role spec field and where-clause do I use for session RBAC?",
      "expected_output": "Surfaces and cites reference/access-controls/roles.md and names the body-only tokens (session.participants / session.proto and the where clause). CONTENT-DEPENDENT eval: the page title ('Teleport Roles') shares no query terms, so title-only lexical scores 0 while full-text ranks #1.",
      "files": []
    },
    {
      "id": 12,
      "prompt": "We need to cap how long elevated privileges last after an access request is approved — say fourteen days max. Which field sets the maximum elevated session duration?",
      "expected_output": "Surfaces and cites identity-governance/access-requests/access-request-configuration.md and names max_duration. CONTENT-DEPENDENT eval: the field name appears only in body, not the title/description; title-only lexical ranks 0, full-text ranks #1.",
      "files": []
    },
    {
      "id": 13,
      "prompt": "I'm enrolling a self-hosted Postgres database with Teleport and need it to require client certificates. What pg_hba.conf settings and hostssl entry do I need so only certificate-authenticated connections are allowed?",
      "expected_output": "Surfaces and cites enroll-resources/database-access/enrollment/self-hosted/postgres-self-hosted.md and the pg_hba.conf / hostssl entries. CONTENT-DEPENDENT eval: external-tool config tokens (pg_hba.conf, hostssl) are body-only; title-only lexical ranks 0, full-text ranks #1.",
      "files": []
    }
  ]
}
