fossa_create_service_account
Create a FOSSA service account, optionally issuing API tokens, and assign it to an organization role or team. Requires FOSSA admin and write permissions.
Instructions
Create a FOSSA service account, optionally with API tokens.
WRITES TO FOSSA. Requires FOSSA_ALLOW_WRITES=true and FOSSA_ALLOW_ADMIN=true.
A service account is a non-human user that has to be able to do something, so
FOSSA requires an organization role (org_role_id), a team assignment
(team_id with team_role_id), or both. List the available role ids with
fossa_list_roles.
Requesting a token returns its secret value in the response, once. FOSSA does not show it again, and a full-access token carries the same authority as the role it is attached to. Leave both token switches off unless the token is actually needed, and treat the result as a credential: it will appear in this conversation's transcript and in any log that records tool output.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| team_id | No | ||
| username | Yes | ||
| full_name | No | ||
| org_role_id | No | ||
| team_role_id | No | ||
| has_full_api_token | No | ||
| has_push_only_api_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||