Action domain

security_attribute

Every action this domain exposes through gitlab_execute_action, from the gitlab://tools manifest. Each entry folds out to its full upstream description and required parameters.

5 · actions3 · destructive0 · read-only

Counted against gitlab.com, which is the only host this endpoint talks to, with a token it resolves to the Ultimate tier: to use it against a self-managed instance, run the server yourself — its documentation covers that. The catalog is scoped to the token that asks, so the count moves with both its tier and its permissions: a Free token sees fewer actions, a member of a group on a paid plan sees that plan's, and administration domains only appear to tokens allowed to use them. That is why the figures differ elsewhere: the upstream project counts 872 operations on Community Edition and up to 1,099 on GitLab.com's top tier, while this deployment publishes 977 because it is OAuth-only and acts with your token, so the administration domains a non-admin account cannot call never appear. All three describe the same catalog, counted from three vantage points.

Each entry also says what a GitLab fine-grained personal access token needs to run it, as GitLab 19.5.0 declares it: every permission of one line, at one of the boundaries named. Where there are alternatives, any one is enough. What follows "Some calls also need" is needed only by the calls that send that request, and the parts of the answer GitLab serves empty to such a token are listed apart.

Back to the server card

  1. security_attribute.bulk_update

    Bulk Update Security Attributesdestructive

    Add, remove, or replace GitLab security attributes on multiple groups and projects via GraphQL. Requires Premium or Ultimate. Returns: bulk update status, execution mode, and selected target/attribute IDs. See also: security_attribute.create, project.get, group.get. API docs: https://docs.gitlab.com/api/graphql/reference/#mutationbulkupdatesecurityattributes

    Required parameters: attribute_ids (array), mode (string)

    At least one of: group_ids (array) or project_ids (array)

    Fine-grained token: none can run it at this GitLab release, which declares nothing for it; use a classic token

  2. security_attribute.create

    Create Security Attribute

    Create one or more GitLab security attributes under a security category via GraphQL. Requires Premium or Ultimate. Returns: created security attributes and their categories. See also: security_category.create, project.get, group.get. API docs: https://docs.gitlab.com/api/graphql/reference/#mutationsecurityattributecreate

    Required parameters: attributes (array), category_id (integer), namespace_id (integer)

    Fine-grained token: none can run it at this GitLab release, which declares nothing for it; use a classic token

  3. security_attribute.delete

    Delete Security Attributedestructive

    Delete a GitLab security attribute via GraphQL. Requires Premium or Ultimate. Returns: deletion confirmation. See also: security_category.create, project.get, group.get. API docs: https://docs.gitlab.com/api/graphql/reference/#mutationsecurityattributedestroy

    Required parameters: attribute_id (integer)

    Fine-grained token: Security Attribute: Delete at group

  4. security_attribute.project_update

    Update Project Security Attributesdestructive

    Add or remove GitLab security attributes on a project via GraphQL. Requires Premium or Ultimate. Returns: project security attribute assignments. See also: security_attribute.create, project.get. API docs: https://docs.gitlab.com/api/graphql/reference/#mutationsecurityattributeprojectupdate

    Required parameters: project_id (integer)

    At least one of: add_attribute_ids (array) or remove_attribute_ids (array)

    Fine-grained token: Security Attribute: Update at project

  5. security_attribute.update

    Update Security Attribute

    Update a GitLab security attribute name, description, or color via GraphQL. Requires Premium or Ultimate. Returns: updated security attribute metadata. See also: security_category.create, project.get, group.get. API docs: https://docs.gitlab.com/api/graphql/reference/#mutationsecurityattributeupdate

    Required parameters: attribute_id (integer)

    At least one of: name (string) or description (string) or color (string)

    Fine-grained token: none can run it at this GitLab release, which declares nothing for it; use a classic token