KosmoKrator

data

GitGuardian CLI for AI Agents

Use the GitGuardian CLI from KosmoKrator to call GitGuardian tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.

GitGuardian CLI Setup

GitGuardian can be configured headlessly with `kosmokrator integrations:configure gitguardian`.

Install, configure, and verify
# Install KosmoKrator first if it is not available on PATH.
curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash

# Configure and verify this integration.
kosmokrator integrations:configure gitguardian --enable --read allow --write ask --json
kosmokrator integrations:doctor gitguardian --json
kosmokrator integrations:status --json

Credentials

Authentication type: API key api_key. Configure credentials once, then reuse the same stored profile from scripts, coding CLIs, Lua, and MCP.

No credentials are required.

Command Patterns

The generic command is stable across every integration. The provider shortcut is shorter for humans.

Generic CLI call
kosmo integrations:call gitguardian.gitguardian_self_retrieve_api_token '{}' --json
Provider shortcut
kosmo integrations:gitguardian gitguardian_self_retrieve_api_token '{}' --json

Discovery

These commands return structured output for coding agents that need to inspect capabilities before choosing a function.

Discovery commands
kosmo integrations:docs gitguardian --json
kosmo integrations:docs gitguardian.gitguardian_self_retrieve_api_token --json
kosmo integrations:schema gitguardian.gitguardian_self_retrieve_api_token --json
kosmo integrations:search "GitGuardian" --json
kosmo integrations:list --json

Automation Contexts

The same configured command surface works in these environments. The command does not change unless the host wrapper, credentials, or permissions change.

CLI Functions

Every function below can be called headlessly. Commands are highlighted, copyable, and scroll horizontally when payloads are long.

gitguardian.gitguardian_self_retrieve_api_token

Retrieve details of the current API token. Official GitGuardian endpoint: GET /v1/api_tokens/self.

Read read
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_self_retrieve_api_token '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_self_retrieve_api_token '{}' --json

gitguardian.gitguardian_self_delete_api_token

Revoke the current API token. Official GitGuardian endpoint: DELETE /v1/api_tokens/self.

Write write
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_self_delete_api_token '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_self_delete_api_token '{}' --json

gitguardian.gitguardian_list_api_tokens

List all the tokens in the workspace, some filters are available and described below. Official GitGuardian endpoint: GET /v1/api_tokens.

Read read
Parameters
cursor, per_page, status, member_id, creator_id, scopes, search, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_api_tokens '{"cursor":"example_cursor","per_page":1,"status":"example_status","member_id":1,"creator_id":1,"scopes":"example_scopes","search":"example_search","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_api_tokens '{"cursor":"example_cursor","per_page":1,"status":"example_status","member_id":1,"creator_id":1,"scopes":"example_scopes","search":"example_search","ordering":"example_ordering"}' --json

gitguardian.gitguardian_retrieve_api_token

Retrieve details of an API token. Official GitGuardian endpoint: GET /v1/api_tokens/{token_id}.

Read read
Parameters
token_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_api_token '{"token_id":"example_token_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_api_token '{"token_id":"example_token_id"}' --json

gitguardian.gitguardian_delete_api_token

Revoke an API token. Official GitGuardian endpoint: DELETE /v1/api_tokens/{token_id}.

Write write
Parameters
token_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_api_token '{"token_id":"example_token_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_api_token '{"token_id":"example_token_id"}' --json

gitguardian.gitguardian_public_jwt_create

Create a short lived JWT for authentication to specific GitGuardian services, including HasMySecretLeaked. Official GitGuardian endpoint: POST /v1/auth/jwt.

Read read
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_public_jwt_create '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_public_jwt_create '{"body":"example_body"}' --json

gitguardian.gitguardian_list_incidents

List secret incidents detected by the GitGuardian dashboard. Occurrences are not returned in this route. Official GitGuardian endpoint: GET /v1/incidents/secrets.

Read read
Parameters
cursor, page, per_page, date_before, date_after, triggered_at_before, triggered_at_after, assignee_email, assignee_id, status, severity, validity, tags, exclude_tags, custom_tags, custom_tag_key, custom_tag_value, ordering, detector_group_name, ignorer_id, ignorer_api_token_id, resolver_id, resolver_api_token_id, feedback, only_on_provider_archived_sources, risk_score_min, risk_score_max
Generic call
kosmo integrations:call gitguardian.gitguardian_list_incidents '{"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","triggered_at_before":"example_triggered_at_before","triggered_at_after":"example_triggered_at_after","assignee_email":"example_assignee_email"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_incidents '{"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","triggered_at_before":"example_triggered_at_before","triggered_at_after":"example_triggered_at_after","assignee_email":"example_assignee_email"}' --json

gitguardian.gitguardian_retrieve_incidents

Retrieve secret incident detected by the GitGuardian dashboard with its occurrences. Official GitGuardian endpoint: GET /v1/incidents/secrets/{incident_id}.

Read read
Parameters
incident_id, with_occurrences
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_incidents '{"incident_id":1,"with_occurrences":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_incidents '{"incident_id":1,"with_occurrences":1}' --json

gitguardian.gitguardian_update_secret_incident

Update a secret incident. Official GitGuardian endpoint: PATCH /v1/incidents/secrets/{incident_id}.

Write write
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_secret_incident '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_secret_incident '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_retrieve_incidents_leaks

Retrieve where a secret has been publicly leaked. **Limitations:** - Does not work for multimatch secrets. - Does not return publicly visible internal sources. Official GitGuardian endpoint: GET /v1/incidents/secrets/{incident_id}/leaks.

Read read
Parameters
incident_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_incidents_leaks '{"incident_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_incidents_leaks '{"incident_id":1}' --json

gitguardian.gitguardian_assign_incident

Assign secret incident detected by the GitGuardian dashboard to a workspace member by email. Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/assign.

Write write
Parameters
incident_id, send_email, body
Generic call
kosmo integrations:call gitguardian.gitguardian_assign_incident '{"incident_id":1,"send_email":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_assign_incident '{"incident_id":1,"send_email":true,"body":"example_body"}' --json

gitguardian.gitguardian_unassign_incident

Unassign secret incident from a workspace member by email. Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/unassign.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_unassign_incident '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_unassign_incident '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_resolve_incident

Resolve a secret incident detected by the GitGuardian dashboard. Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/resolve.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_resolve_incident '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_resolve_incident '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_ignore_incident

Ignore a secret incident detected by the GitGuardian dashboard. Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/ignore.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_ignore_incident '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_ignore_incident '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_reopen_incident

Unresolve or unignore a secret incident detected by the GitGuardian dashboard. Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/reopen.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_reopen_incident '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_reopen_incident '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_share_incident

Share a secret incident by creating a public link. Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/share.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_share_incident '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_share_incident '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_unshare_incident

Unshare a secret incident by revoking its public link. Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/unshare.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_unshare_incident '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_unshare_incident '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_grant_access_incident

Grant a user, an existing invitee or a team access to a secret incident. DEPRECATED: This endpoint has been replaced by [this one](#tag/Members/operation/set-member-resource-access) for members, [this one](#tag/Teams/operation/set-team-resource-access) for teams, and [this one](#tag/Invitations/operation/set-invitation-resource-access) for invitations. Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/grant_access.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_grant_access_incident '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_grant_access_incident '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_revoke_access_incident

Revoke access to a secret incident Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/revoke_access.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_revoke_access_incident '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_revoke_access_incident '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_list_incident_notes

List notes left on a secret incident in chronological order. Official GitGuardian endpoint: GET /v1/incidents/secrets/{incident_id}/notes.

Read read
Parameters
incident_id, cursor, page, per_page, ordering, member_id, search
Generic call
kosmo integrations:call gitguardian.gitguardian_list_incident_notes '{"incident_id":1,"cursor":"example_cursor","page":1,"per_page":1,"ordering":"example_ordering","member_id":1,"search":"example_search"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_incident_notes '{"incident_id":1,"cursor":"example_cursor","page":1,"per_page":1,"ordering":"example_ordering","member_id":1,"search":"example_search"}' --json

gitguardian.gitguardian_create_incident_note

Add a note on a secret incident. Official GitGuardian endpoint: POST /v1/incidents/secrets/{incident_id}/notes.

Write write
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_incident_note '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_incident_note '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_update_incident_note

Update an existing comment on a secret incident. Only incident notes created by the current API key can be updated. Official GitGuardian endpoint: PATCH /v1/incidents/secrets/{incident_id}/notes/{note_id}.

Write write
Parameters
incident_id, note_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_incident_note '{"incident_id":1,"note_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_incident_note '{"incident_id":1,"note_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_delete_incident_note

Delete an existing comment on a secret incident. Only incident notes created by the current API key can be deleted. Official GitGuardian endpoint: DELETE /v1/incidents/secrets/{incident_id}/notes/{note_id}.

Write write
Parameters
incident_id, note_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_incident_note '{"incident_id":1,"note_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_incident_note '{"incident_id":1,"note_id":1}' --json

gitguardian.gitguardian_list_incident_members

List all the members having access to a secret incident. DEPRECATED: This endpoint has been replaced by [/v1/secret-incidents/{incident_id}/members](#tag/Secret-Incidents/operation/list-secret-incident-member-access) Official GitGuardian endpoint: GET /v1/incidents/secrets/{incident_id}/members.

Read read
Parameters
incident_id, cursor, page, per_page, member_id, incident_permission, role, search
Generic call
kosmo integrations:call gitguardian.gitguardian_list_incident_members '{"incident_id":1,"cursor":"example_cursor","page":1,"per_page":1,"member_id":1,"incident_permission":"example_incident_permission","role":"example_role","search":"example_search"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_incident_members '{"incident_id":1,"cursor":"example_cursor","page":1,"per_page":1,"member_id":1,"incident_permission":"example_incident_permission","role":"example_role","search":"example_search"}' --json

gitguardian.gitguardian_list_incident_teams

List all the teams having access to a secret incident. DEPRECATED: This endpoint has been replaced by [/v1/secret-incidents/{incident_id}/teams](#tag/Secret-Incidents/operation/list-secret-incident-team-access) Official GitGuardian endpoint: GET /v1/incidents/secrets/{incident_id}/teams.

Read read
Parameters
incident_id, cursor, team_id, incident_permission
Generic call
kosmo integrations:call gitguardian.gitguardian_list_incident_teams '{"incident_id":1,"cursor":"example_cursor","team_id":1,"incident_permission":"example_incident_permission"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_incident_teams '{"incident_id":1,"cursor":"example_cursor","team_id":1,"incident_permission":"example_incident_permission"}' --json

gitguardian.gitguardian_list_incident_invitations

List all the invitations having access to a Secret Incident. DEPRECATED: This endpoint has been replaced by [/v1/secret-incidents/{incident_id}/invitations](#tag/Secret-Incidents/operation/list-secret-incident-invitation-access) Official GitGuardian endpoint: GET /v1/incidents/secrets/{incident_id}/invitations.

Read read
Parameters
incident_id, cursor, invitation_id, incident_permission
Generic call
kosmo integrations:call gitguardian.gitguardian_list_incident_invitations '{"incident_id":1,"cursor":"example_cursor","invitation_id":1,"incident_permission":"example_incident_permission"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_incident_invitations '{"incident_id":1,"cursor":"example_cursor","invitation_id":1,"incident_permission":"example_incident_permission"}' --json

gitguardian.gitguardian_retrieve_incident_impacted_perimeter

Retrieve metrics about the impacted perimeter of a secret incident detected by the GitGuardian dashboard. Official GitGuardian endpoint: GET /v1/incidents/secrets/{incident_id}/impacted_perimeter.

Read read
Parameters
incident_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_incident_impacted_perimeter '{"incident_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_incident_impacted_perimeter '{"incident_id":1}' --json

gitguardian.gitguardian_get_secret_incident_vaults

Returns detailed vault path information if the secret is stored in a vault. This endpoint requires the NHI (Non-Human Identity) feature to be enabled and the `show_vault_path_in_public_api` setting to be active. If either condition is not met, an empty array is returned. Official GitGuardian endpoint: GET /v1/incidents/secrets/{incident_id}/vaults.

Read read
Parameters
incident_id
Generic call
kosmo integrations:call gitguardian.gitguardian_get_secret_incident_vaults '{"incident_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_get_secret_incident_vaults '{"incident_id":1}' --json

gitguardian.gitguardian_list_secret_incident_member_access

List members that have access to a secret incident. Official GitGuardian endpoint: GET /v1/secret-incidents/{incident_id}/members.

Read read
Parameters
incident_id, cursor, per_page, role, access_level, search, ordering, direct_access
Generic call
kosmo integrations:call gitguardian.gitguardian_list_secret_incident_member_access '{"incident_id":1,"cursor":"example_cursor","per_page":1,"role":"example_role","access_level":"example_access_level","search":"example_search","ordering":"example_ordering","direct_access":true}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_secret_incident_member_access '{"incident_id":1,"cursor":"example_cursor","per_page":1,"role":"example_role","access_level":"example_access_level","search":"example_search","ordering":"example_ordering","direct_access":true}' --json

gitguardian.gitguardian_list_secret_incident_team_access

List teams that have access to a secret incident. Official GitGuardian endpoint: GET /v1/secret-incidents/{incident_id}/teams.

Read read
Parameters
incident_id, cursor, per_page, search, direct_access
Generic call
kosmo integrations:call gitguardian.gitguardian_list_secret_incident_team_access '{"incident_id":1,"cursor":"example_cursor","per_page":1,"search":"example_search","direct_access":true}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_secret_incident_team_access '{"incident_id":1,"cursor":"example_cursor","per_page":1,"search":"example_search","direct_access":true}' --json

gitguardian.gitguardian_list_secret_incident_invitation_access

List invitations that have access to a secret incident. Official GitGuardian endpoint: GET /v1/secret-incidents/{incident_id}/invitations.

Read read
Parameters
incident_id, cursor, per_page, search, ordering, direct_access
Generic call
kosmo integrations:call gitguardian.gitguardian_list_secret_incident_invitation_access '{"incident_id":1,"cursor":"example_cursor","per_page":1,"search":"example_search","ordering":"example_ordering","direct_access":true}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_secret_incident_invitation_access '{"incident_id":1,"cursor":"example_cursor","per_page":1,"search":"example_search","ordering":"example_ordering","direct_access":true}' --json

gitguardian.gitguardian_list_occs

List occurrences of secrets in the monitored perimeter. Official GitGuardian endpoint: GET /v1/occurrences/secrets.

Read read
Parameters
cursor, page, per_page, date_before, date_after, source_id, source_name, source_type, incident_id, incident_assignee_id, presence, author_name, author_info, sha, filepath, severity, status, validity, tags, exclude_tags, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_occs '{"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","source_id":1,"source_name":"example_source_name","source_type":"example_source_type"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_occs '{"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","source_id":1,"source_name":"example_source_name","source_type":"example_source_type"}' --json

gitguardian.gitguardian_list_severity_rules

List the severity rules currently active for the workspace. These rules determine how incident severity is automatically assigned. Use the rule `id` to correlate with the `severity_rule_id` field on incidents. Official GitGuardian endpoint: GET /v1/severity-rules.

Read read
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_list_severity_rules '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_severity_rules '{}' --json

gitguardian.gitguardian_create_code_fix_request

Create code fix requests for multiple secret incidents with their locations. This will generate pull requests to automatically remediate the detected secrets. Each request must include: - One or more issues (by issue_id) - One or more location IDs for each issue The system will group locations by source repository and create one pull request per source. Official GitGuardian endpoint: POST /v1/code-fix-requests.

Write write
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_code_fix_request '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_code_fix_request '{"body":"example_body"}' --json

gitguardian.gitguardian_list_public_incidents

List public secret incidents detected by the GitGuardian dashboard. Official GitGuardian endpoint: GET /v1/public-incidents/secrets.

Read read
Parameters
x_privacy_mode, cursor, per_page, date_before, date_after, triggered_at_before, triggered_at_after, assignee_email, assignee_id, status, severity, validity, tags, custom_tags, custom_tag_key, custom_tag_value, ordering, detector_group_name, ignorer_id, ignorer_api_token_id, resolver_id, resolver_api_token_id, feedback, declarative_secret_status, risk_score_min, risk_score_max
Generic call
kosmo integrations:call gitguardian.gitguardian_list_public_incidents '{"x_privacy_mode":"example_x_privacy_mode","cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","triggered_at_before":"example_triggered_at_before","triggered_at_after":"example_triggered_at_after","assignee_email":"example_assignee_email"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_public_incidents '{"x_privacy_mode":"example_x_privacy_mode","cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","triggered_at_before":"example_triggered_at_before","triggered_at_after":"example_triggered_at_after","assignee_email":"example_assignee_email"}' --json

gitguardian.gitguardian_retrieve_public_incidents

Retrieve public secret incident detected by the GitGuardian dashboard Official GitGuardian endpoint: GET /v1/public-incidents/secrets/{incident_id}.

Read read
Parameters
x_privacy_mode, incident_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_public_incidents '{"x_privacy_mode":"example_x_privacy_mode","incident_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_public_incidents '{"x_privacy_mode":"example_x_privacy_mode","incident_id":1}' --json

gitguardian.gitguardian_list_public_secret_occurrences

List occurrences of a public secret incident detected by the GitGuardian dashboard Official GitGuardian endpoint: GET /v1/public-incidents/secrets/{incident_id}/occurrences.

Read read
Parameters
incident_id, cursor, per_page, date_before, date_after, source_id, presence, sha, filepath, attachment_reason, severity, status, validity, tags, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_public_secret_occurrences '{"incident_id":1,"cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","source_id":1,"presence":"example_presence","sha":"example_sha"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_public_secret_occurrences '{"incident_id":1,"cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","source_id":1,"presence":"example_presence","sha":"example_sha"}' --json

gitguardian.gitguardian_retrieve_public_secret_occurrence

Retrieve a specific occurrence of a public secret incident detected by the GitGuardian dashboard Official GitGuardian endpoint: GET /v1/public-incidents/secrets/{incident_id}/occurrences/{occurrence_id}.

Read read
Parameters
incident_id, occurrence_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_public_secret_occurrence '{"incident_id":1,"occurrence_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_public_secret_occurrence '{"incident_id":1,"occurrence_id":1}' --json

gitguardian.gitguardian_resolve_public_incidents

Resolve a public secret incident detected by the GitGuardian dashboard. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/resolve.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_resolve_public_incidents '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_resolve_public_incidents '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_ignore_public_incidents

Ignore a public secret incident detected by the GitGuardian dashboard. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/ignore.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_ignore_public_incidents '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_ignore_public_incidents '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_reopen_public_incidents

Reopen a public secret incident that was previously resolved or ignored. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/reopen.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_reopen_public_incidents '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_reopen_public_incidents '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_assign_public_incidents

Assign a public secret incident to a workspace member by email or member ID. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/assign.

Write write
Parameters
incident_id, send_email, body
Generic call
kosmo integrations:call gitguardian.gitguardian_assign_public_incidents '{"incident_id":1,"send_email":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_assign_public_incidents '{"incident_id":1,"send_email":true,"body":"example_body"}' --json

gitguardian.gitguardian_unassign_public_incidents

Unassign a public secret incident from its current assignee. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/unassign.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_unassign_public_incidents '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_unassign_public_incidents '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_share_public_incidents

Create a public link to share a public secret incident with an external developer. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/share.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_share_public_incidents '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_share_public_incidents '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_unshare_public_incidents

Delete a public secret incident's share link. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/unshare.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_unshare_public_incidents '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_unshare_public_incidents '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_set_severity_public_incidents

Set the severity of a public secret incident. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/set_severity.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_set_severity_public_incidents '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_set_severity_public_incidents '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_set_custom_tags_public_incidents

Set the custom tags of a public secret incident. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/set_custom_tags.

Read read
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_set_custom_tags_public_incidents '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_set_custom_tags_public_incidents '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_list_public_incident_notes

List notes left on a public secret incident in chronological order. Official GitGuardian endpoint: GET /v1/public-incidents/secrets/{incident_id}/notes.

Read read
Parameters
incident_id, cursor, per_page, ordering, member_id, search
Generic call
kosmo integrations:call gitguardian.gitguardian_list_public_incident_notes '{"incident_id":1,"cursor":"example_cursor","per_page":1,"ordering":"example_ordering","member_id":1,"search":"example_search"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_public_incident_notes '{"incident_id":1,"cursor":"example_cursor","per_page":1,"ordering":"example_ordering","member_id":1,"search":"example_search"}' --json

gitguardian.gitguardian_create_public_incident_note

Add a note on a public secret incident. Official GitGuardian endpoint: POST /v1/public-incidents/secrets/{incident_id}/notes.

Write write
Parameters
incident_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_public_incident_note '{"incident_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_public_incident_note '{"incident_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_update_public_incident_note

Update an existing comment on a public secret incident. Only incident notes created by the current API key can be updated. Official GitGuardian endpoint: PATCH /v1/public-incidents/secrets/{incident_id}/notes/{note_id}.

Write write
Parameters
incident_id, note_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_public_incident_note '{"incident_id":1,"note_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_public_incident_note '{"incident_id":1,"note_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_delete_public_incident_note

Delete an existing comment on a public secret incident. Only incident notes created by the current API key can be deleted. Official GitGuardian endpoint: DELETE /v1/public-incidents/secrets/{incident_id}/notes/{note_id}.

Write write
Parameters
incident_id, note_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_public_incident_note '{"incident_id":1,"note_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_public_incident_note '{"incident_id":1,"note_id":1}' --json

gitguardian.gitguardian_get_public_secret_incident_vaults

Returns detailed vault path information if the secret is stored in a vault. This endpoint requires the NHI (Non-Human Identity) feature to be enabled and the `show_vault_path_in_public_api` setting to be active. If either condition is not met, an empty array is returned. Official GitGuardian endpoint: GET /v1/public-incidents/secrets/{incident_id}/vaults.

Read read
Parameters
incident_id
Generic call
kosmo integrations:call gitguardian.gitguardian_get_public_secret_incident_vaults '{"incident_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_get_public_secret_incident_vaults '{"incident_id":1}' --json

gitguardian.gitguardian_list_invitations

This endpoint allows you to list all pending invitations. The response contains the list of invitations and a pagination cursor to retrieve the next page. The invitations are sorted by id. If you are using a personal access token, you need to have an access level superior or equal to `member`. Official GitGuardian endpoint: GET /v1/invitations.

Read read
Parameters
cursor, per_page, search, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_invitations '{"cursor":"example_cursor","per_page":1,"search":"example_search","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_invitations '{"cursor":"example_cursor","per_page":1,"search":"example_search","ordering":"example_ordering"}' --json

gitguardian.gitguardian_create_invitations

This endpoint allows you to send an invitation to a user. If you are using a personal access token, you need to have an access level superior or equal to `member`. Official GitGuardian endpoint: POST /v1/invitations.

Write write
Parameters
send_email, body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_invitations '{"send_email":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_invitations '{"send_email":true,"body":"example_body"}' --json

gitguardian.gitguardian_retrieve_invitation

Retrieve an existing invitation. If you are using a personal access token, you need to have an access level superior or equal to `member`. Official GitGuardian endpoint: GET /v1/invitations/{invitation_id}.

Read read
Parameters
invitation_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_invitation '{"invitation_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_invitation '{"invitation_id":1}' --json

gitguardian.gitguardian_delete_invitation

Delete an existing invitation. If you are using a personal access token, you need to have an access level superior or equal to `manager`. Official GitGuardian endpoint: DELETE /v1/invitations/{invitation_id}.

Write write
Parameters
invitation_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_invitation '{"invitation_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_invitation '{"invitation_id":1}' --json

gitguardian.gitguardian_resend_invitation

Resend an existing invitation. If you are using a personal access token, you need to have an access level superior or equal to `manager`. Official GitGuardian endpoint: POST /v1/invitations/{invitation_id}/resend.

Read read
Parameters
invitation_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_resend_invitation '{"invitation_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_resend_invitation '{"invitation_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_get_invitation_resource_access

Return the permission an invitation has on a resource. If the invitation has an admin access level, it will be the highest possible value. Official GitGuardian endpoint: GET /v1/invitations/{invitation_id}/{resource_type}/{resource_id}.

Read read
Parameters
invitation_id, resource_type, resource_id
Generic call
kosmo integrations:call gitguardian.gitguardian_get_invitation_resource_access '{"invitation_id":1,"resource_type":"example_resource_type","resource_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_get_invitation_resource_access '{"invitation_id":1,"resource_type":"example_resource_type","resource_id":1}' --json

gitguardian.gitguardian_set_invitation_resource_access

This will create or update a direct access for the invitation on the resource. If the invitation has an administrator access level, it will take precedence over the permission you have given. Official GitGuardian endpoint: PUT /v1/invitations/{invitation_id}/{resource_type}/{resource_id}.

Read read
Parameters
invitation_id, resource_type, resource_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_set_invitation_resource_access '{"invitation_id":1,"resource_type":"example_resource_type","resource_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_set_invitation_resource_access '{"invitation_id":1,"resource_type":"example_resource_type","resource_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_revoke_invitation_resource_access

Revoke an invitation access to a resource. This only works for direct accesses. If the access is from the administrator access level of the invitation, a 404 is returned. Official GitGuardian endpoint: DELETE /v1/invitations/{invitation_id}/{resource_type}/{resource_id}.

Read read
Parameters
invitation_id, resource_type, resource_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_revoke_invitation_resource_access '{"invitation_id":1,"resource_type":"example_resource_type","resource_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_revoke_invitation_resource_access '{"invitation_id":1,"resource_type":"example_resource_type","resource_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_list_invitation_secret_incident_access

List secret incidents that an invitation has access to. Official GitGuardian endpoint: GET /v1/invitations/{invitation_id}/secret-incidents.

Read read
Parameters
invitation_id, cursor, page, per_page, date_before, date_after, assignee_email, assignee_id, status, severity, validity, tags, ordering, detector_group_name, ignorer_id, ignorer_api_token_id, resolver_id, resolver_api_token_id, feedback, only_on_provider_archived_sources
Generic call
kosmo integrations:call gitguardian.gitguardian_list_invitation_secret_incident_access '{"invitation_id":1,"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","assignee_email":"example_assignee_email","assignee_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_invitation_secret_incident_access '{"invitation_id":1,"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","assignee_email":"example_assignee_email","assignee_id":1}' --json

gitguardian.gitguardian_list_members

List members of the workspace. Official GitGuardian endpoint: GET /v1/members.

Read read
Parameters
cursor, page, per_page, role, access_level, active, search, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_members '{"cursor":"example_cursor","page":1,"per_page":1,"role":"example_role","access_level":"example_access_level","active":true,"search":"example_search","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_members '{"cursor":"example_cursor","page":1,"per_page":1,"role":"example_role","access_level":"example_access_level","active":true,"search":"example_search","ordering":"example_ordering"}' --json

gitguardian.gitguardian_retrieve_member

Retrieve an existing workspace member. If you are using a personal access token, you need to have an access level greater or equal to `member`. Official GitGuardian endpoint: GET /v1/members/{member_id}.

Read read
Parameters
member_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_member '{"member_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_member '{"member_id":1}' --json

gitguardian.gitguardian_delete_member

Delete an existing workspace member. If you are using a personal access token, you need to have an access level greater or equal to `manager`. Official GitGuardian endpoint: DELETE /v1/members/{member_id}.

Write write
Parameters
member_id, send_email
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_member '{"member_id":1,"send_email":true}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_member '{"member_id":1,"send_email":true}' --json

gitguardian.gitguardian_update_member

Update an existing workspace member. If you are using a personal access token, you need to have an access level greater or equal to `manager`. Official GitGuardian endpoint: PATCH /v1/members/{member_id}.

Write write
Parameters
member_id, send_email, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_member '{"member_id":1,"send_email":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_member '{"member_id":1,"send_email":true,"body":"example_body"}' --json

gitguardian.gitguardian_list_member_teams

List teams of a workspace member. The response contains the list of teams and a pagination cursor to retrieve the next page. The teams are sorted by id. If you are using a personal access token, you need to have an access level superior or equal to `manager` except if the requested member is yourself. Official GitGuardian endpoint: GET /v1/members/{member_id}/teams.

Read read
Parameters
cursor, per_page, search, is_global, member_id
Generic call
kosmo integrations:call gitguardian.gitguardian_list_member_teams '{"cursor":"example_cursor","per_page":1,"search":"example_search","is_global":true,"member_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_member_teams '{"cursor":"example_cursor","per_page":1,"search":"example_search","is_global":true,"member_id":1}' --json

gitguardian.gitguardian_get_member_resource_access

Return the permission a member has on a resource. The permission is the higher value between the different accesses the member can have (direct access, member's teams accesses, and administrator access). Official GitGuardian endpoint: GET /v1/members/{member_id}/{resource_type}/{resource_id}.

Read read
Parameters
member_id, resource_type, resource_id
Generic call
kosmo integrations:call gitguardian.gitguardian_get_member_resource_access '{"member_id":1,"resource_type":"example_resource_type","resource_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_get_member_resource_access '{"member_id":1,"resource_type":"example_resource_type","resource_id":1}' --json

gitguardian.gitguardian_set_member_resource_access

This will create or update a direct access for the member on the resource. If the member has higher permission from another source, they will take precedence over those you have given. Official GitGuardian endpoint: PUT /v1/members/{member_id}/{resource_type}/{resource_id}.

Read read
Parameters
member_id, resource_type, resource_id, send_email, body
Generic call
kosmo integrations:call gitguardian.gitguardian_set_member_resource_access '{"member_id":1,"resource_type":"example_resource_type","resource_id":1,"send_email":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_set_member_resource_access '{"member_id":1,"resource_type":"example_resource_type","resource_id":1,"send_email":true,"body":"example_body"}' --json

gitguardian.gitguardian_revoke_member_resource_access

Revoke a member access to a resource. This only works for direct accesses. If the member has only indirect access, a 404 is returned. Official GitGuardian endpoint: DELETE /v1/members/{member_id}/{resource_type}/{resource_id}.

Read read
Parameters
member_id, resource_type, resource_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_revoke_member_resource_access '{"member_id":1,"resource_type":"example_resource_type","resource_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_revoke_member_resource_access '{"member_id":1,"resource_type":"example_resource_type","resource_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_list_member_secret_incident_access

List secret incidents that a member has access to. Official GitGuardian endpoint: GET /v1/members/{member_id}/secret-incidents.

Read read
Parameters
member_id, cursor, page, per_page, date_before, date_after, assignee_email, assignee_id, status, severity, validity, tags, ordering, detector_group_name, ignorer_id, ignorer_api_token_id, resolver_id, resolver_api_token_id, feedback, only_on_provider_archived_sources
Generic call
kosmo integrations:call gitguardian.gitguardian_list_member_secret_incident_access '{"member_id":1,"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","assignee_email":"example_assignee_email","assignee_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_member_secret_incident_access '{"member_id":1,"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","assignee_email":"example_assignee_email","assignee_id":1}' --json

gitguardian.gitguardian_retrieve_member_email_settings

Retrieve a member's email settings If you are using a personal access token, you need to have access level greater than `member` to view other member's settings Official GitGuardian endpoint: GET /v1/members/{member_id}/email_notifications.

Read read
Parameters
member_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_member_email_settings '{"member_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_member_email_settings '{"member_id":1}' --json

gitguardian.gitguardian_update_member_email_settings

Update a member's email settings If you are using a personal access token, you need to have access level greater than `member` to edit other member's settings Official GitGuardian endpoint: PATCH /v1/members/{member_id}/email_notifications.

Write write
Parameters
member_id, send_email, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_member_email_settings '{"member_id":1,"send_email":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_member_email_settings '{"member_id":1,"send_email":true,"body":"example_body"}' --json

gitguardian.gitguardian_content_scan

Scan provided document content for policy breaks. Request body shouldn't exceed 1MB. This endpoint is stateless and as such will not store in our servers neither the documents nor the secrets found. Official GitGuardian endpoint: POST /v1/scan.

Read read
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_content_scan '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_content_scan '{"body":"example_body"}' --json

gitguardian.gitguardian_multiple_scan

Multiple content scan Official GitGuardian endpoint: POST /v1/multiscan.

Read read
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_multiple_scan '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_multiple_scan '{"body":"example_body"}' --json

gitguardian.gitguardian_scan_create_incidents

Scan content and create incidents Official GitGuardian endpoint: POST /v1/scan/create-incidents.

Write write
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_scan_create_incidents '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scan_create_incidents '{"body":"example_body"}' --json

gitguardian.gitguardian_list_secret_detectors

List secret detectors. Official GitGuardian endpoint: GET /v1/secret_detectors.

Read read
Parameters
cursor, per_page, is_active, type, search, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_secret_detectors '{"cursor":"example_cursor","per_page":1,"is_active":true,"type":"example_type","search":"example_search","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_secret_detectors '{"cursor":"example_cursor","per_page":1,"is_active":true,"type":"example_type","search":"example_search","ordering":"example_ordering"}' --json

gitguardian.gitguardian_get_secret_detector

Get a secret detector. Official GitGuardian endpoint: GET /v1/secret_detectors/{detector_name}.

Read read
Parameters
detector_name
Generic call
kosmo integrations:call gitguardian.gitguardian_get_secret_detector '{"detector_name":"example_detector_name"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_get_secret_detector '{"detector_name":"example_detector_name"}' --json

gitguardian.gitguardian_get_secret_detail

Retrieve the information, including its clear text value, of a secret by its ID. **Prerequisites**: - This endpoint must be enabled in the workspace settings under Security by a workspace admin. - A valid API key with the secrets:read scope. This scope is available only for Personal Access Tokens (PATs). Official GitGuardian endpoint: GET /v1/secrets/{secret_id}.

Read read
Parameters
secret_id, x_privacy_mode
Generic call
kosmo integrations:call gitguardian.gitguardian_get_secret_detail '{"secret_id":1,"x_privacy_mode":"example_x_privacy_mode"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_get_secret_detail '{"secret_id":1,"x_privacy_mode":"example_x_privacy_mode"}' --json

gitguardian.gitguardian_quotas

Check available scanning calls for this token. Quota is shared between all tokens of a workspace Official GitGuardian endpoint: GET /v1/quotas.

Read read
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_quotas '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_quotas '{}' --json

gitguardian.gitguardian_list_sources

List sources known by GitGuardian. Official GitGuardian endpoint: GET /v1/sources.

Read read
Parameters
cursor, page, per_page, search, last_scan_status, health, type, ordering, visibility, external_id, source_criticality, monitored, provider_metadata_archived
Generic call
kosmo integrations:call gitguardian.gitguardian_list_sources '{"cursor":"example_cursor","page":1,"per_page":1,"search":"example_search","last_scan_status":"example_last_scan_status","health":"example_health","type":"example_type","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_sources '{"cursor":"example_cursor","page":1,"per_page":1,"search":"example_search","last_scan_status":"example_last_scan_status","health":"example_health","type":"example_type","ordering":"example_ordering"}' --json

gitguardian.gitguardian_retrieve_source

Retrieve a source known by GitGuardian. Official GitGuardian endpoint: GET /v1/sources/{source_id}.

Read read
Parameters
source_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_source '{"source_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_source '{"source_id":1}' --json

gitguardian.gitguardian_update_source

Update some source attributes such as monitored status and source criticality. The monitored status can be updated for all source types except Custom Sources. **⚠️ Note**: some sources types are supported on this endpoint, but cannot be updated yet on the dashboard. Business sources can't be updated if your account doesn't have access to them. Official GitGuardian endpoint: PATCH /v1/sources/{source_id}.

Write write
Parameters
source_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_source '{"source_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_source '{"source_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_list_sources_incidents

List secret incidents linked to a source. Occurrences are not returned in this route. Official GitGuardian endpoint: GET /v1/sources/{source_id}/incidents/secrets.

Read read
Parameters
source_id, cursor, per_page, date_before, date_after, assignee_email, assignee_id, status, severity, validity, tags, custom_tags, custom_tag_key, custom_tag_value, ordering, detector_group_name, ignorer_id, ignorer_api_token_id, resolver_id, resolver_api_token_id, feedback, only_on_provider_archived_sources
Generic call
kosmo integrations:call gitguardian.gitguardian_list_sources_incidents '{"source_id":1,"cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","assignee_email":"example_assignee_email","assignee_id":1,"status":"example_status"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_sources_incidents '{"source_id":1,"cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","assignee_email":"example_assignee_email","assignee_id":1,"status":"example_status"}' --json

gitguardian.gitguardian_trigger_source_scans

Trigger scans on sources Official GitGuardian endpoint: POST /v1/sources/scans.

Read read
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_trigger_source_scans '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_trigger_source_scans '{"body":"example_body"}' --json

gitguardian.gitguardian_list_custom_sources

List custom sources for the authenticated account. **⚠️ Beta Version**: This endpoint is in beta and may be subject to changes in future releases. Official GitGuardian endpoint: GET /v1/sources/custom-sources.

Read read
Parameters
cursor, page, per_page, search, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_custom_sources '{"cursor":"example_cursor","page":1,"per_page":1,"search":"example_search","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_custom_sources '{"cursor":"example_cursor","page":1,"per_page":1,"search":"example_search","ordering":"example_ordering"}' --json

gitguardian.gitguardian_create_custom_source

Create a new custom source for the authenticated account. **⚠️ Beta Version**: This endpoint is in beta and may be subject to changes in future releases. Official GitGuardian endpoint: POST /v1/sources/custom-sources.

Write write
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_custom_source '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_custom_source '{"body":"example_body"}' --json

gitguardian.gitguardian_get_custom_source

Get a custom source by ID. **⚠️ Beta Version**: This endpoint is in beta and may be subject to changes in future releases. Official GitGuardian endpoint: GET /v1/sources/custom-sources/{custom_source_id}.

Read read
Parameters
custom_source_id
Generic call
kosmo integrations:call gitguardian.gitguardian_get_custom_source '{"custom_source_id":"example_custom_source_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_get_custom_source '{"custom_source_id":"example_custom_source_id"}' --json

gitguardian.gitguardian_update_custom_source

Update a custom source's name and description. **⚠️ Beta Version**: This endpoint is in beta and may be subject to changes in future releases. Official GitGuardian endpoint: PATCH /v1/sources/custom-sources/{custom_source_id}.

Write write
Parameters
custom_source_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_custom_source '{"custom_source_id":"example_custom_source_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_custom_source '{"custom_source_id":"example_custom_source_id","body":"example_body"}' --json

gitguardian.gitguardian_delete_custom_source

Delete a custom source. This will also delete the related integration if no other sources exist. **⚠️ Beta Version**: This endpoint is in beta and may be subject to changes in future releases. Official GitGuardian endpoint: DELETE /v1/sources/custom-sources/{custom_source_id}.

Write write
Parameters
custom_source_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_custom_source '{"custom_source_id":"example_custom_source_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_custom_source '{"custom_source_id":"example_custom_source_id"}' --json

gitguardian.gitguardian_list_developers

List developers in the public perimeter. Official GitGuardian endpoint: GET /v1/public-perimeter/developers.

Read read
Parameters
search, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_developers '{"search":"example_search","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_developers '{"search":"example_search","ordering":"example_ordering"}' --json

gitguardian.gitguardian_list_audit_logs

List audit logs. Official GitGuardian endpoint: GET /v1/audit_logs.

Read read
Parameters
cursor, per_page, date_before, date_after, event_name, member_id, member_name, member_email, api_token_id, ip_address
Generic call
kosmo integrations:call gitguardian.gitguardian_list_audit_logs '{"cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","event_name":"example_event_name","member_id":1,"member_name":"example_member_name","member_email":"example_member_email"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_audit_logs '{"cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","event_name":"example_event_name","member_id":1,"member_name":"example_member_name","member_email":"example_member_email"}' --json

gitguardian.gitguardian_list_audit_log_event_names

List all the existing event names for audit logs. Use this endpoint to discover which event types are available for filtering when querying audit logs. Official GitGuardian endpoint: GET /v1/audit_logs/event_names.

Read read
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_list_audit_log_event_names '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_audit_log_event_names '{}' --json

gitguardian.gitguardian_api_health

Check the status of the API and your token without spending your quota. Official GitGuardian endpoint: GET /v1/health.

Read read
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_api_health '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_api_health '{}' --json

gitguardian.gitguardian_list_health_checks

List the latest health check per integration instance for the authenticated account. Each entry represents the most recent health check run for a given instance. Results can be filtered by integration type and health status. Official GitGuardian endpoint: GET /v1/health-checks.

Read read
Parameters
cursor, per_page, type, status, started_at_after, started_at_before
Generic call
kosmo integrations:call gitguardian.gitguardian_list_health_checks '{"cursor":"example_cursor","per_page":1,"type":"example_type","status":"example_status","started_at_after":"example_started_at_after","started_at_before":"example_started_at_before"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_health_checks '{"cursor":"example_cursor","per_page":1,"type":"example_type","status":"example_status","started_at_after":"example_started_at_after","started_at_before":"example_started_at_before"}' --json

gitguardian.gitguardian_list_health_check_instance_history

List all historical health check runs for a specific integration instance, ordered by most recent first by default. The `type` path parameter identifies the integration type using its public name. The `instance_id` is the internal ID of the integration instance (e.g. a GitHub installation, GitLab integration, or Slack workspace). Official GitGuardian endpoint: GET /v1/health-checks/{type}/{instance_id}.

Read read
Parameters
type, instance_id, cursor, per_page, status, started_at_after, started_at_before, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_health_check_instance_history '{"type":"example_type","instance_id":1,"cursor":"example_cursor","per_page":1,"status":"example_status","started_at_after":"example_started_at_after","started_at_before":"example_started_at_before","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_health_check_instance_history '{"type":"example_type","instance_id":1,"cursor":"example_cursor","per_page":1,"status":"example_status","started_at_after":"example_started_at_after","started_at_before":"example_started_at_before","ordering":"example_ordering"}' --json

gitguardian.gitguardian_trigger_health_check

Enqueue a health check for a specific integration instance. The check runs asynchronously. The response includes a `result_url` pointing to the instance history endpoint pre-filtered to checks started after the trigger time, so you can poll for the result. Returns `429` if a health check was performed too recently for this instance. Official GitGuardian endpoint: POST /v1/health-checks/{type}/{instance_id}/trigger.

Read read
Parameters
type, instance_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_trigger_health_check '{"type":"example_type","instance_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_trigger_health_check '{"type":"example_type","instance_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_list_teams

This endpoint allows you to list all the teams of your workspace. The response contains the list of teams and a pagination cursor to retrieve the next page. The teams are sorted by id. If you are using a personal access token, you need to have an access level superior or equal to `member`. Official GitGuardian endpoint: GET /v1/teams.

Read read
Parameters
cursor, per_page, is_global, search, linked_to_an_external_provider
Generic call
kosmo integrations:call gitguardian.gitguardian_list_teams '{"cursor":"example_cursor","per_page":1,"is_global":true,"search":"example_search","linked_to_an_external_provider":true}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_teams '{"cursor":"example_cursor","per_page":1,"is_global":true,"search":"example_search","linked_to_an_external_provider":true}' --json

gitguardian.gitguardian_create_teams

This endpoint allows you to create a team. If you are using a personal access token, you need to have an access level superior or equal to `manager`. If a personal access token is being used, the member is automatically added to the created team with permissions `can_manage` and `full_access` Official GitGuardian endpoint: POST /v1/teams.

Write write
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_teams '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_teams '{"body":"example_body"}' --json

gitguardian.gitguardian_retrieve_team

Retrieve an existing team. If you are using a personal access token, you need to have an access level greater or equal to `member`. Official GitGuardian endpoint: GET /v1/teams/{team_id}.

Read read
Parameters
team_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_team '{"team_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_team '{"team_id":1}' --json

gitguardian.gitguardian_delete_team

Delete an existing team. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. The "All-incidents" team (is_global=true) cannot be deleted. Official GitGuardian endpoint: DELETE /v1/teams/{team_id}.

Write write
Parameters
team_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_team '{"team_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_team '{"team_id":1}' --json

gitguardian.gitguardian_update_team

Update a team's name and/or its description. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. The "All-incidents" team (is_global=true) cannot be updated. Official GitGuardian endpoint: PATCH /v1/teams/{team_id}.

Write write
Parameters
team_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_team '{"team_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_team '{"team_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_list_team_incidents

List secret incidents of a particular team. Occurrences are not returned in this route. DEPRECATED: THis endpoint has been replaced by [/v1/teams/{team_id}/secret-incidents](#tag/Teams/operation/list-team-secret-incident-access) Official GitGuardian endpoint: GET /v1/teams/{team_id}/incidents/secrets.

Read read
Parameters
cursor, per_page, date_before, date_after, team_id, assignee_email, assignee_id, status, severity, validity, tags, custom_tags, custom_tag_key, custom_tag_value, ordering, detector_group_name, ignorer_id, ignorer_api_token_id, resolver_id, resolver_api_token_id, only_on_provider_archived_sources
Generic call
kosmo integrations:call gitguardian.gitguardian_list_team_incidents '{"cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","team_id":1,"assignee_email":"example_assignee_email","assignee_id":1,"status":"example_status"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_team_incidents '{"cursor":"example_cursor","per_page":1,"date_before":"example_date_before","date_after":"example_date_after","team_id":1,"assignee_email":"example_assignee_email","assignee_id":1,"status":"example_status"}' --json

gitguardian.gitguardian_get_team_resource_access

Return the permission a team has on a resource. For the global team, it will always be the highest possible permission. Official GitGuardian endpoint: GET /v1/teams/{team_id}/{resource_type}/{resource_id}.

Read read
Parameters
team_id, resource_type, resource_id
Generic call
kosmo integrations:call gitguardian.gitguardian_get_team_resource_access '{"team_id":1,"resource_type":"example_resource_type","resource_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_get_team_resource_access '{"team_id":1,"resource_type":"example_resource_type","resource_id":1}' --json

gitguardian.gitguardian_set_team_resource_access

This will create or update a direct access for the team on the resource. If the access to the resource is already given by the team's perimeter, an error is raised. This endpoint is not allowed for the global team. Official GitGuardian endpoint: PUT /v1/teams/{team_id}/{resource_type}/{resource_id}.

Read read
Parameters
team_id, resource_type, resource_id, send_email, body
Generic call
kosmo integrations:call gitguardian.gitguardian_set_team_resource_access '{"team_id":1,"resource_type":"example_resource_type","resource_id":1,"send_email":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_set_team_resource_access '{"team_id":1,"resource_type":"example_resource_type","resource_id":1,"send_email":true,"body":"example_body"}' --json

gitguardian.gitguardian_revoke_team_resource_access

Revoke the access a team has to a resource. This only works for direct accesses. If the access to the resource is given by the team's perimeter, an error is raised. This endpoint is not allowed for the global team. Official GitGuardian endpoint: DELETE /v1/teams/{team_id}/{resource_type}/{resource_id}.

Read read
Parameters
team_id, resource_type, resource_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_revoke_team_resource_access '{"team_id":1,"resource_type":"example_resource_type","resource_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_revoke_team_resource_access '{"team_id":1,"resource_type":"example_resource_type","resource_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_list_team_secret_incident_access

List secret incidents that a team has access to. Official GitGuardian endpoint: GET /v1/teams/{team_id}/secret-incidents.

Read read
Parameters
team_id, cursor, page, per_page, date_before, date_after, assignee_email, assignee_id, status, severity, validity, tags, custom_tags, custom_tag_key, custom_tag_value, ordering, detector_group_name, ignorer_id, ignorer_api_token_id, resolver_id, resolver_api_token_id, feedback, only_on_provider_archived_sources
Generic call
kosmo integrations:call gitguardian.gitguardian_list_team_secret_incident_access '{"team_id":1,"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","assignee_email":"example_assignee_email","assignee_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_team_secret_incident_access '{"team_id":1,"cursor":"example_cursor","page":1,"per_page":1,"date_before":"example_date_before","date_after":"example_date_after","assignee_email":"example_assignee_email","assignee_id":1}' --json

gitguardian.gitguardian_list_team_invitation

List all existing team invitations. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. Official GitGuardian endpoint: GET /v1/teams/{team_id}/team_invitations.

Read read
Parameters
cursor, per_page, team_id, invitation_id, is_team_leader, team_permission, incident_permission
Generic call
kosmo integrations:call gitguardian.gitguardian_list_team_invitation '{"cursor":"example_cursor","per_page":1,"team_id":1,"invitation_id":1,"is_team_leader":true,"team_permission":"example_team_permission","incident_permission":"example_incident_permission"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_team_invitation '{"cursor":"example_cursor","per_page":1,"team_id":1,"invitation_id":1,"is_team_leader":true,"team_permission":"example_team_permission","incident_permission":"example_incident_permission"}' --json

gitguardian.gitguardian_create_team_invitations

This endpoint allows you to create a team invitation from an existing team and invitation. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. Official GitGuardian endpoint: POST /v1/teams/{team_id}/team_invitations.

Write write
Parameters
team_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_team_invitations '{"team_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_team_invitations '{"team_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_update_team_invitation

Update permissions of a team invitation. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. Official GitGuardian endpoint: PATCH /v1/teams/{team_id}/team_invitations/{team_invitation_id}.

Write write
Parameters
team_id, team_invitation_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_team_invitation '{"team_id":1,"team_invitation_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_team_invitation '{"team_id":1,"team_invitation_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_delete_team_invitation

Delete an existing team invitation. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. Official GitGuardian endpoint: DELETE /v1/teams/{team_id}/team_invitations/{team_invitation_id}.

Write write
Parameters
team_id, team_invitation_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_team_invitation '{"team_id":1,"team_invitation_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_team_invitation '{"team_id":1,"team_invitation_id":1}' --json

gitguardian.gitguardian_list_team_memberships

List all the memberships of a team. If you are using a personal access token, you need to be a workspace manager or be part of the team. Official GitGuardian endpoint: GET /v1/teams/{team_id}/team_memberships.

Read read
Parameters
cursor, per_page, team_id, is_team_leader, team_permission, incident_permission, member_id
Generic call
kosmo integrations:call gitguardian.gitguardian_list_team_memberships '{"cursor":"example_cursor","per_page":1,"team_id":1,"is_team_leader":true,"team_permission":"example_team_permission","incident_permission":"example_incident_permission","member_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_team_memberships '{"cursor":"example_cursor","per_page":1,"team_id":1,"is_team_leader":true,"team_permission":"example_team_permission","incident_permission":"example_incident_permission","member_id":1}' --json

gitguardian.gitguardian_create_team_membership

Add a member to a team. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. Official GitGuardian endpoint: POST /v1/teams/{team_id}/team_memberships.

Write write
Parameters
team_id, send_email, body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_team_membership '{"team_id":1,"send_email":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_team_membership '{"team_id":1,"send_email":true,"body":"example_body"}' --json

gitguardian.gitguardian_update_team_membership

Update permissions of a team membership. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. Official GitGuardian endpoint: PATCH /v1/teams/{team_id}/team_memberships/{team_membership_id}.

Write write
Parameters
team_id, team_membership_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_team_membership '{"team_id":1,"team_membership_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_team_membership '{"team_id":1,"team_membership_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_delete_team_membership

Remove a member from a team. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager, or be the member being removed. Official GitGuardian endpoint: DELETE /v1/teams/{team_id}/team_memberships/{team_membership_id}.

Write write
Parameters
team_id, team_membership_id, send_email
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_team_membership '{"team_id":1,"team_membership_id":1,"send_email":true}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_team_membership '{"team_id":1,"team_membership_id":1,"send_email":true}' --json

gitguardian.gitguardian_list_member_team_memberships

List team memberships of a workspace member. The response contains the list of team memberships and a pagination cursor to retrieve the next page. The team memberships are sorted by id. If you are using a personal access token, you need to have an access level superior or equal to `manager` except if the requested member is yourself. Official GitGuardian endpoint: GET /v1/members/{member_id}/team_memberships.

Read read
Parameters
cursor, per_page, member_id, team_id
Generic call
kosmo integrations:call gitguardian.gitguardian_list_member_team_memberships '{"cursor":"example_cursor","per_page":1,"member_id":1,"team_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_member_team_memberships '{"cursor":"example_cursor","per_page":1,"member_id":1,"team_id":1}' --json

gitguardian.gitguardian_list_team_requests

List pending requests of a team. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. Official GitGuardian endpoint: GET /v1/teams/{team_id}/team_requests.

Read read
Parameters
cursor, per_page, team_id, member_id
Generic call
kosmo integrations:call gitguardian.gitguardian_list_team_requests '{"cursor":"example_cursor","per_page":1,"team_id":1,"member_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_team_requests '{"cursor":"example_cursor","per_page":1,"team_id":1,"member_id":1}' --json

gitguardian.gitguardian_create_team_request

Create an access request to a team. You must be authenticated via a Personal Access Token. You must not already have a pending request on the team, be a member of the team, be a workspace manager or have the restricted access level. Official GitGuardian endpoint: POST /v1/teams/{team_id}/team_requests.

Write write
Parameters
team_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_team_request '{"team_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_team_request '{"team_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_delete_team_request

Cancel or decline a team request. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager, or be the member who created the request being cancelled. Official GitGuardian endpoint: DELETE /v1/teams/{team_id}/team_requests/{team_request_id}.

Write write
Parameters
team_id, team_request_id, send_email
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_team_request '{"team_id":1,"team_request_id":1,"send_email":true}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_team_request '{"team_id":1,"team_request_id":1,"send_email":true}' --json

gitguardian.gitguardian_accept_team_request

Accept a team request by adding the member to the team. If you are using a personal access token, you must have "can manage" permission on the team or be a workspace manager. Official GitGuardian endpoint: POST /v1/teams/{team_id}/team_requests/{team_request_id}/accept.

Read read
Parameters
team_id, team_request_id, send_email, body
Generic call
kosmo integrations:call gitguardian.gitguardian_accept_team_request '{"team_id":1,"team_request_id":1,"send_email":true,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_accept_team_request '{"team_id":1,"team_request_id":1,"send_email":true,"body":"example_body"}' --json

gitguardian.gitguardian_list_member_team_requests

List pending team requests of a member. If you are using a personal access token, you need to be either a workspace manager or the member being queried. Official GitGuardian endpoint: GET /v1/members/{member_id}/team_requests.

Read read
Parameters
cursor, per_page, member_id, team_id
Generic call
kosmo integrations:call gitguardian.gitguardian_list_member_team_requests '{"cursor":"example_cursor","per_page":1,"member_id":1,"team_id":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_member_team_requests '{"cursor":"example_cursor","per_page":1,"member_id":1,"team_id":1}' --json

gitguardian.gitguardian_list_team_sources

List sources belonging to a team's perimeter. Official GitGuardian endpoint: GET /v1/teams/{team_id}/sources.

Read read
Parameters
cursor, per_page, team_id, search, last_scan_status, health, type, ordering, visibility, external_id
Generic call
kosmo integrations:call gitguardian.gitguardian_list_team_sources '{"cursor":"example_cursor","per_page":1,"team_id":1,"search":"example_search","last_scan_status":"example_last_scan_status","health":"example_health","type":"example_type","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_team_sources '{"cursor":"example_cursor","per_page":1,"team_id":1,"search":"example_search","last_scan_status":"example_last_scan_status","health":"example_health","type":"example_type","ordering":"example_ordering"}' --json

gitguardian.gitguardian_update_team_sources

This endpoint allows you to add and remove sources from the perimeter of a team. If you are using a personal access token, you need to be a workspace manager. Official GitGuardian endpoint: POST /v1/teams/{team_id}/sources.

Write write
Parameters
team_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_team_sources '{"team_id":1,"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_team_sources '{"team_id":1,"body":"example_body"}' --json

gitguardian.gitguardian_list_honeytoken

This endpoint allows you to list all the honeytokens of your workspace. The response contains the list of honeytokens and a pagination cursor to retrieve the next page. The honeytokens are sorted by id. If you are using a personal access token, you need to have an access level superior or equal to `manager`. Official GitGuardian endpoint: GET /v1/honeytokens.

Read read
Parameters
cursor, per_page, status, type, search, creator_id, revoker_id, creator_api_token_id, revoker_api_token_id, tags, ordering, show_token, x_privacy_mode
Generic call
kosmo integrations:call gitguardian.gitguardian_list_honeytoken '{"cursor":"example_cursor","per_page":1,"status":"example_status","type":"example_type","search":"example_search","creator_id":1,"revoker_id":1,"creator_api_token_id":"example_creator_api_token_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_honeytoken '{"cursor":"example_cursor","per_page":1,"status":"example_status","type":"example_type","search":"example_search","creator_id":1,"revoker_id":1,"creator_api_token_id":"example_creator_api_token_id"}' --json

gitguardian.gitguardian_create_honeytoken

This endpoint allows you to create a honeytoken of a type. If you are using a personal access token, you need to have an access level superior or equal to `manager`. Official GitGuardian endpoint: POST /v1/honeytokens.

Write write
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_honeytoken '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_honeytoken '{"body":"example_body"}' --json

gitguardian.gitguardian_create_honeytoken_with_context

This endpoint allows you to create a honeytoken of a given type within a context. The context is a realistic file in which your honeytoken is inserted. If `language`, `project_extensions` and `filename` are not provided, a random context will be generated. Official GitGuardian endpoint: POST /v1/honeytokens/with-context.

Write write
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_honeytoken_with_context '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_honeytoken_with_context '{"body":"example_body"}' --json

gitguardian.gitguardian_retrieve_honeytoken

Retrieve an existing honeytoken. If you are using a personal access token, you need to have an access level greater or equal to `manager`. Official GitGuardian endpoint: GET /v1/honeytokens/{honeytoken_id}.

Read read
Parameters
honeytoken_id, x_privacy_mode, show_token
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_honeytoken '{"honeytoken_id":"example_honeytoken_id","x_privacy_mode":"example_x_privacy_mode","show_token":true}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_honeytoken '{"honeytoken_id":"example_honeytoken_id","x_privacy_mode":"example_x_privacy_mode","show_token":true}' --json

gitguardian.gitguardian_update_honeytoken

Update a name or descriptions of an existing honeytoken. Official GitGuardian endpoint: PATCH /v1/honeytokens/{honeytoken_id}.

Write write
Parameters
honeytoken_id, x_privacy_mode, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_honeytoken '{"honeytoken_id":"example_honeytoken_id","x_privacy_mode":"example_x_privacy_mode","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_honeytoken '{"honeytoken_id":"example_honeytoken_id","x_privacy_mode":"example_x_privacy_mode","body":"example_body"}' --json

gitguardian.gitguardian_reset_honeytoken

Resets a triggered honeytoken. All the associated events will be closed. Official GitGuardian endpoint: POST /v1/honeytokens/{honeytoken_id}/reset.

Read read
Parameters
honeytoken_id, x_privacy_mode, body
Generic call
kosmo integrations:call gitguardian.gitguardian_reset_honeytoken '{"honeytoken_id":"example_honeytoken_id","x_privacy_mode":"example_x_privacy_mode","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_reset_honeytoken '{"honeytoken_id":"example_honeytoken_id","x_privacy_mode":"example_x_privacy_mode","body":"example_body"}' --json

gitguardian.gitguardian_revoke_honeytoken

Revokes an active or triggered honeytoken. All the associated events will be closed. Official GitGuardian endpoint: POST /v1/honeytokens/{honeytoken_id}/revoke.

Read read
Parameters
honeytoken_id, x_privacy_mode, body
Generic call
kosmo integrations:call gitguardian.gitguardian_revoke_honeytoken '{"honeytoken_id":"example_honeytoken_id","x_privacy_mode":"example_x_privacy_mode","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_revoke_honeytoken '{"honeytoken_id":"example_honeytoken_id","x_privacy_mode":"example_x_privacy_mode","body":"example_body"}' --json

gitguardian.gitguardian_list_honeytoken_notes

List notes left on a honeytoken in chronological order. Official GitGuardian endpoint: GET /v1/honeytokens/{honeytoken_id}/notes.

Read read
Parameters
honeytoken_id, cursor, per_page, ordering, member_id, api_token_id, search
Generic call
kosmo integrations:call gitguardian.gitguardian_list_honeytoken_notes '{"honeytoken_id":"example_honeytoken_id","cursor":"example_cursor","per_page":1,"ordering":"example_ordering","member_id":1,"api_token_id":"example_api_token_id","search":"example_search"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_honeytoken_notes '{"honeytoken_id":"example_honeytoken_id","cursor":"example_cursor","per_page":1,"ordering":"example_ordering","member_id":1,"api_token_id":"example_api_token_id","search":"example_search"}' --json

gitguardian.gitguardian_create_honeytoken_note

Add a note on a honeytoken. Official GitGuardian endpoint: POST /v1/honeytokens/{honeytoken_id}/notes.

Write write
Parameters
honeytoken_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_honeytoken_note '{"honeytoken_id":"example_honeytoken_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_honeytoken_note '{"honeytoken_id":"example_honeytoken_id","body":"example_body"}' --json

gitguardian.gitguardian_update_honeytoken_note

Update an existing comment on a honeytoken. Only honeytoken notes created by the current API key can be updated. Official GitGuardian endpoint: PATCH /v1/honeytokens/{honeytoken_id}/notes/{note_id}.

Write write
Parameters
honeytoken_id, note_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_honeytoken_note '{"honeytoken_id":"example_honeytoken_id","note_id":"example_note_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_honeytoken_note '{"honeytoken_id":"example_honeytoken_id","note_id":"example_note_id","body":"example_body"}' --json

gitguardian.gitguardian_delete_honeytoken_note

Delete an existing comment on a honeytoken. Only honeytoken notes created by the current API key can be deleted. Official GitGuardian endpoint: DELETE /v1/honeytokens/{honeytoken_id}/notes/{note_id}.

Write write
Parameters
honeytoken_id, note_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_honeytoken_note '{"honeytoken_id":"example_honeytoken_id","note_id":"example_note_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_honeytoken_note '{"honeytoken_id":"example_honeytoken_id","note_id":"example_note_id"}' --json

gitguardian.gitguardian_list_honeytoken_sources

List sources where a honeytoken appears. Official GitGuardian endpoint: GET /v1/honeytokens/{honeytoken_id}/sources.

Read read
Parameters
honeytoken_id, cursor, per_page, ordering, provider_metadata_archived
Generic call
kosmo integrations:call gitguardian.gitguardian_list_honeytoken_sources '{"honeytoken_id":"example_honeytoken_id","cursor":"example_cursor","per_page":1,"ordering":"example_ordering","provider_metadata_archived":true}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_honeytoken_sources '{"honeytoken_id":"example_honeytoken_id","cursor":"example_cursor","per_page":1,"ordering":"example_ordering","provider_metadata_archived":true}' --json

gitguardian.gitguardian_check_honeytoken_prefixes

Bulk prefix lookup for honeytoken HMSL hashes Official GitGuardian endpoint: POST /v1/honeytokens/prefixes.

Read read
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_check_honeytoken_prefixes '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_check_honeytoken_prefixes '{"body":"example_body"}' --json

gitguardian.gitguardian_list_honeytokens_events

List events related to all honeytokens of the workspace. Official GitGuardian endpoint: GET /v1/honeytokens_events.

Read read
Parameters
cursor, per_page, ordering, honeytoken_id, status, ip_address, tags, search, x_privacy_mode
Generic call
kosmo integrations:call gitguardian.gitguardian_list_honeytokens_events '{"cursor":"example_cursor","per_page":1,"ordering":"example_ordering","honeytoken_id":"example_honeytoken_id","status":"example_status","ip_address":"example_ip_address","tags":"example_tags","search":"example_search"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_honeytokens_events '{"cursor":"example_cursor","per_page":1,"ordering":"example_ordering","honeytoken_id":"example_honeytoken_id","status":"example_status","ip_address":"example_ip_address","tags":"example_tags","search":"example_search"}' --json

gitguardian.gitguardian_list_ip_allowlist

This endpoint allows you to list all the IP allowlist rules of your workspace. The response contains the list of IP allowlist rules and a pagination cursor to retrieve the next page. If you are using a personal access token, you need to have an access level superior or equal to `manager`. Official GitGuardian endpoint: GET /v1/ip-allowlist.

Read read
Parameters
cursor, per_page, search, ordering
Generic call
kosmo integrations:call gitguardian.gitguardian_list_ip_allowlist '{"cursor":"example_cursor","per_page":1,"search":"example_search","ordering":"example_ordering"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_ip_allowlist '{"cursor":"example_cursor","per_page":1,"search":"example_search","ordering":"example_ordering"}' --json

gitguardian.gitguardian_create_ip_allowlist

This endpoint allows you to create an IP allowlist rule. If you are using a personal access token, you need to have an access level superior or equal to `manager`. Official GitGuardian endpoint: POST /v1/ip-allowlist.

Write write
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_ip_allowlist '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_ip_allowlist '{"body":"example_body"}' --json

gitguardian.gitguardian_retrieve_ipallowlist

Retrieve an existing IP allowlist rule. If you are using a personal access token, you need to have an access level greater or equal to `manager`. Official GitGuardian endpoint: GET /v1/ip-allowlist/{ip_allowlist_rule_id}.

Read read
Parameters
ip_allowlist_rule_id
Generic call
kosmo integrations:call gitguardian.gitguardian_retrieve_ipallowlist '{"ip_allowlist_rule_id":"example_ip_allowlist_rule_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_retrieve_ipallowlist '{"ip_allowlist_rule_id":"example_ip_allowlist_rule_id"}' --json

gitguardian.gitguardian_update_ipallowlist

Update the tag or the IP ranges of an existing IP allowlist rule. Official GitGuardian endpoint: PATCH /v1/ip-allowlist/{ip_allowlist_rule_id}.

Write write
Parameters
ip_allowlist_rule_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_ipallowlist '{"ip_allowlist_rule_id":"example_ip_allowlist_rule_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_ipallowlist '{"ip_allowlist_rule_id":"example_ip_allowlist_rule_id","body":"example_body"}' --json

gitguardian.gitguardian_delete_ipallowlist

Delete an existing IP allowlist rule. Official GitGuardian endpoint: DELETE /v1/ip-allowlist/{ip_allowlist_rule_id}.

Write write
Parameters
ip_allowlist_rule_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_ipallowlist '{"ip_allowlist_rule_id":"example_ip_allowlist_rule_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_ipallowlist '{"ip_allowlist_rule_id":"example_ip_allowlist_rule_id"}' --json

gitguardian.gitguardian_list_ip_addresses

Get GitGuardian's egress IP addresses for IP allowlisting. Use these IP addresses to configure access controls and allow GitGuardian services to access your resources. This includes: - Firewall rules - Application-level IP allowlists - Network security groups - Proxy configurations - VPN allowlists Official GitGuardian endpoint: GET /v1/ips.

Read read
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_list_ip_addresses '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_ip_addresses '{}' --json

gitguardian.gitguardian_scim_user_create

Create a new workspace member (using SCIM Protocol). Official GitGuardian endpoint: POST /v1/scim/v2/Users.

Read read
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_user_create '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_user_create '{"body":"example_body"}' --json

gitguardian.gitguardian_scim_user_list

List members of the workspace (using SCIM Protocol). Official GitGuardian endpoint: GET /v1/scim/v2/Users.

Read read
Parameters
filter, start_index, count
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_user_list '{"filter":"example_filter","start_index":1,"count":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_user_list '{"filter":"example_filter","start_index":1,"count":1}' --json

gitguardian.gitguardian_scim_user_detail

Detail of a workspace member (using SCIM Protocol). Official GitGuardian endpoint: GET /v1/scim/v2/Users/{id}.

Read read
Parameters
id
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_user_detail '{"id":"example_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_user_detail '{"id":"example_id"}' --json

gitguardian.gitguardian_scim_user_update

Update of a workspace member (using SCIM Protocol). Official GitGuardian endpoint: PUT /v1/scim/v2/Users/{id}.

Read read
Parameters
id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_user_update '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_user_update '{"id":"example_id","body":"example_body"}' --json

gitguardian.gitguardian_scim_user_partial_update

Update of a workspace member (using SCIM Protocol). Official GitGuardian endpoint: PATCH /v1/scim/v2/Users/{id}.

Read read
Parameters
id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_user_partial_update '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_user_partial_update '{"id":"example_id","body":"example_body"}' --json

gitguardian.gitguardian_scim_user_delete

Delete a workspace member (using SCIM Protocol). Official GitGuardian endpoint: DELETE /v1/scim/v2/Users/{id}.

Read read
Parameters
id
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_user_delete '{"id":"example_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_user_delete '{"id":"example_id"}' --json

gitguardian.gitguardian_scim_group_list

List groups (teams in GIM) of the workspace using the SCIM Protocol. Official GitGuardian endpoint: GET /v1/scim/v2/Groups.

Read read
Parameters
filter, start_index, count
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_group_list '{"filter":"example_filter","start_index":1,"count":1}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_group_list '{"filter":"example_filter","start_index":1,"count":1}' --json

gitguardian.gitguardian_scim_group_create

Create a new group (team in GIM) using the SCIM Protocol. Official GitGuardian endpoint: POST /v1/scim/v2/Groups.

Read read
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_group_create '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_group_create '{"body":"example_body"}' --json

gitguardian.gitguardian_scim_group_detail

Detail of a group (team in GIM) using the SCIM Protocol. Official GitGuardian endpoint: GET /v1/scim/v2/Groups/{id}.

Read read
Parameters
id
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_group_detail '{"id":"example_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_group_detail '{"id":"example_id"}' --json

gitguardian.gitguardian_scim_group_update

Update a group (team in GIM) using the SCIM Protocol. Official GitGuardian endpoint: PUT /v1/scim/v2/Groups/{id}.

Read read
Parameters
id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_group_update '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_group_update '{"id":"example_id","body":"example_body"}' --json

gitguardian.gitguardian_scim_group_partial_update

Partially update a group (team in GIM) using the SCIM Protocol. Official GitGuardian endpoint: PATCH /v1/scim/v2/Groups/{id}.

Read read
Parameters
id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_group_partial_update '{"id":"example_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_group_partial_update '{"id":"example_id","body":"example_body"}' --json

gitguardian.gitguardian_scim_group_delete

Delete a group (team in GIM) using the SCIM Protocol. Official GitGuardian endpoint: DELETE /v1/scim/v2/Groups/{id}.

Read read
Parameters
id
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_group_delete '{"id":"example_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_group_delete '{"id":"example_id"}' --json

gitguardian.gitguardian_scim_service_provider_config

List the SCIM specification features available on a service provider. Official GitGuardian endpoint: GET /v1/scim/v2/ServiceProviderConfig.

Read read
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_service_provider_config '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_service_provider_config '{}' --json

gitguardian.gitguardian_scim_resource_types_list

List of Resource Types Official GitGuardian endpoint: GET /v1/scim/v2/ResourceTypes.

Read read
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_resource_types_list '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_resource_types_list '{}' --json

gitguardian.gitguardian_scim_resource_types_detail

Detail of a Resource Types Official GitGuardian endpoint: GET /v1/scim/v2/ResourceTypes/{name}.

Read read
Parameters
name
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_resource_types_detail '{"name":"example_name"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_resource_types_detail '{"name":"example_name"}' --json

gitguardian.gitguardian_scim_schema_list

List of SCIM Schemas Official GitGuardian endpoint: GET /v1/scim/v2/Schemas.

Read read
Parameters
none
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_schema_list '{}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_schema_list '{}' --json

gitguardian.gitguardian_scim_schema_detail

Detail of a Schema Official GitGuardian endpoint: GET /v1/scim/v2/Schemas/{name}.

Read read
Parameters
name
Generic call
kosmo integrations:call gitguardian.gitguardian_scim_schema_detail '{"name":"example_name"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_scim_schema_detail '{"name":"example_name"}' --json

gitguardian.gitguardian_list_custom_tags

List all existing custom tags. Official GitGuardian endpoint: GET /v1/custom_tags.

Read read
Parameters
cursor, per_page, key
Generic call
kosmo integrations:call gitguardian.gitguardian_list_custom_tags '{"cursor":"example_cursor","per_page":1,"key":"example_key"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_list_custom_tags '{"cursor":"example_cursor","per_page":1,"key":"example_key"}' --json

gitguardian.gitguardian_create_custom_tag

This endpoint allows you to create a custom tag. Official GitGuardian endpoint: POST /v1/custom_tags.

Write write
Parameters
body
Generic call
kosmo integrations:call gitguardian.gitguardian_create_custom_tag '{"body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_create_custom_tag '{"body":"example_body"}' --json

gitguardian.gitguardian_update_custom_tags_key

This endpoint allows you to update a key for all custom tags using it. Official GitGuardian endpoint: PATCH /v1/custom_tags.

Write write
Parameters
old_key, new_key, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_custom_tags_key '{"old_key":"example_old_key","new_key":"example_new_key","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_custom_tags_key '{"old_key":"example_old_key","new_key":"example_new_key","body":"example_body"}' --json

gitguardian.gitguardian_delete_custom_tags_key

This endpoint allows you to delete all custom tags using the given key. Official GitGuardian endpoint: DELETE /v1/custom_tags.

Write write
Parameters
key
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_custom_tags_key '{"key":"example_key"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_custom_tags_key '{"key":"example_key"}' --json

gitguardian.gitguardian_get_custom_tag

This endpoint allows you to retrieve an existing custom tag. Official GitGuardian endpoint: GET /v1/custom_tags/{custom_tag_id}.

Read read
Parameters
custom_tag_id
Generic call
kosmo integrations:call gitguardian.gitguardian_get_custom_tag '{"custom_tag_id":"example_custom_tag_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_get_custom_tag '{"custom_tag_id":"example_custom_tag_id"}' --json

gitguardian.gitguardian_update_custom_tag

This endpoint allows you to update a specific custom tag. It replaces the entire custom tag (key and value). This does not impact other custom tags sharing the same key. Official GitGuardian endpoint: PUT /v1/custom_tags/{custom_tag_id}.

Write write
Parameters
custom_tag_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_update_custom_tag '{"custom_tag_id":"example_custom_tag_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_update_custom_tag '{"custom_tag_id":"example_custom_tag_id","body":"example_body"}' --json

gitguardian.gitguardian_partial_update_custom_tag

This endpoint allows you to partially update a specific custom tag. It updates only the specified fields (key or value), leaving the other fields unchanged. This does not impact other custom tags sharing the same key. Official GitGuardian endpoint: PATCH /v1/custom_tags/{custom_tag_id}.

Write write
Parameters
custom_tag_id, body
Generic call
kosmo integrations:call gitguardian.gitguardian_partial_update_custom_tag '{"custom_tag_id":"example_custom_tag_id","body":"example_body"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_partial_update_custom_tag '{"custom_tag_id":"example_custom_tag_id","body":"example_body"}' --json

gitguardian.gitguardian_delete_custom_tag

This endpoint allows you to delete a specific custom tag. This does not impact other custom tags sharing the same key. Official GitGuardian endpoint: DELETE /v1/custom_tags/{custom_tag_id}.

Write write
Parameters
custom_tag_id
Generic call
kosmo integrations:call gitguardian.gitguardian_delete_custom_tag '{"custom_tag_id":"example_custom_tag_id"}' --json
Shortcut
kosmo integrations:gitguardian gitguardian_delete_custom_tag '{"custom_tag_id":"example_custom_tag_id"}' --json

Function Schemas

Use these parameter tables when building CLI payloads without calling integrations:schema first.

gitguardian.gitguardian_self_retrieve_api_token 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_self_retrieve_api_token --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_self_delete_api_token 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_self_delete_api_token --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_list_api_tokens 8 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_api_tokens --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
status string no status
member_id number no Filter by member id.
creator_id number no Filter by creator id.
scopes string no scopes
search string no search
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
gitguardian.gitguardian_retrieve_api_token 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_api_token --json
ParameterTypeRequiredDescription
token_id string yes Id of the token.
gitguardian.gitguardian_delete_api_token 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_api_token --json
ParameterTypeRequiredDescription
token_id string yes Id of the token.
gitguardian.gitguardian_public_jwt_create 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_public_jwt_create --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_incidents 27 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_incidents --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
triggered_at_before string no triggered_at_before
triggered_at_after string no triggered_at_after
assignee_email string no assignee_email
assignee_id number no assignee_id
status string no status
severity string no severity
validity string no validity
tags string no tags
exclude_tags string no exclude_tags
custom_tags string no custom_tags
custom_tag_key string no custom_tag_key
custom_tag_value string no custom_tag_value
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
detector_group_name string no detector_group_name
ignorer_id number no ignorer_id
ignorer_api_token_id string no ignorer_api_token_id
resolver_id number no resolver_id
resolver_api_token_id string no resolver_api_token_id
feedback boolean no feedback
only_on_provider_archived_sources boolean no only_on_provider_archived_sources
risk_score_min number no risk_score_min
risk_score_max number no risk_score_max
gitguardian.gitguardian_retrieve_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
with_occurrences number no Retrieve a number of occurrences of this incident.
gitguardian.gitguardian_update_secret_incident 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_secret_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_retrieve_incidents_leaks 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_incidents_leaks --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
gitguardian.gitguardian_assign_incident 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_assign_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
send_email boolean no Whether to notify the assignee.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_unassign_incident 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_unassign_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_resolve_incident 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_resolve_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_ignore_incident 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_ignore_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_reopen_incident 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_reopen_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_share_incident 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_share_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_unshare_incident 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_unshare_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_grant_access_incident 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_grant_access_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_revoke_access_incident 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_revoke_access_incident --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_incident_notes 7 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_incident_notes --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
member_id number no Filter by member id.
search string no search
gitguardian.gitguardian_create_incident_note 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_incident_note --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_update_incident_note 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_incident_note --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
note_id number yes The id of the incident note to update
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_incident_note 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_incident_note --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
note_id number yes The id of the incident note to delete
gitguardian.gitguardian_list_incident_members 8 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_incident_members --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
member_id number no member_id
incident_permission string no incident_permission
role string no role
search string no search
gitguardian.gitguardian_list_incident_teams 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_incident_teams --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
cursor string no Pagination cursor.
team_id number no team_id
incident_permission string no incident_permission
gitguardian.gitguardian_list_incident_invitations 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_incident_invitations --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
cursor string no Pagination cursor.
invitation_id number no invitation_id
incident_permission string no filter accesses with a specific permission.
gitguardian.gitguardian_retrieve_incident_impacted_perimeter 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_incident_impacted_perimeter --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
gitguardian.gitguardian_get_secret_incident_vaults 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_get_secret_incident_vaults --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
gitguardian.gitguardian_list_secret_incident_member_access 8 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_secret_incident_member_access --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
role string no role
access_level string no access_level
search string no search
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
direct_access boolean no Filter on direct or indirect accesses.
gitguardian.gitguardian_list_secret_incident_team_access 5 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_secret_incident_team_access --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
search string no search
direct_access boolean no Filter on direct or indirect accesses.
gitguardian.gitguardian_list_secret_incident_invitation_access 6 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_secret_incident_invitation_access --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
search string no search
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
direct_access boolean no Filter on direct or indirect accesses.
gitguardian.gitguardian_list_occs 21 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_occs --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
source_id number no Filter on the source ID.
source_name string no source_name
source_type string no source_type
incident_id number no Filter by incident ID.
incident_assignee_id number no Filter by incident assignee member ID.
presence string no presence
author_name string no author_name
author_info string no author_info
sha string no sha
filepath string no filepath
severity string no severity
status string no status
validity string no validity
tags string no tags
exclude_tags string no exclude_tags
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
gitguardian.gitguardian_list_severity_rules 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_severity_rules --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_create_code_fix_request 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_code_fix_request --json
ParameterTypeRequiredDescription
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_public_incidents 26 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_public_incidents --json
ParameterTypeRequiredDescription
x_privacy_mode string no When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data.
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
triggered_at_before string no triggered_at_before
triggered_at_after string no triggered_at_after
assignee_email string no assignee_email
assignee_id number no assignee_id
status string no status
severity string no severity
validity string no validity
tags string no tags
custom_tags string no custom_tags
custom_tag_key string no custom_tag_key
custom_tag_value string no custom_tag_value
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
detector_group_name string no detector_group_name
ignorer_id number no ignorer_id
ignorer_api_token_id string no ignorer_api_token_id
resolver_id number no resolver_id
resolver_api_token_id string no resolver_api_token_id
feedback boolean no feedback
declarative_secret_status string no declarative_secret_status
risk_score_min number no risk_score_min
risk_score_max number no risk_score_max
gitguardian.gitguardian_retrieve_public_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_public_incidents --json
ParameterTypeRequiredDescription
x_privacy_mode string no When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data.
incident_id number yes The id of the incident to retrieve
gitguardian.gitguardian_list_public_secret_occurrences 15 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_public_secret_occurrences --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
source_id number no Filter on the source ID.
presence string no presence
sha string no sha
filepath string no filepath
attachment_reason string no attachment_reason
severity string no severity
status string no status
validity string no validity
tags string no tags
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
gitguardian.gitguardian_retrieve_public_secret_occurrence 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_public_secret_occurrence --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
occurrence_id number yes The ID of the occurrence to retrieve
gitguardian.gitguardian_resolve_public_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_resolve_public_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_ignore_public_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_ignore_public_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_reopen_public_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_reopen_public_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_assign_public_incidents 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_assign_public_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
send_email boolean no Whether to notify the assignee.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_unassign_public_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_unassign_public_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_share_public_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_share_public_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_unshare_public_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_unshare_public_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_set_severity_public_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_set_severity_public_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_set_custom_tags_public_incidents 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_set_custom_tags_public_incidents --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_public_incident_notes 6 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_public_incident_notes --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
member_id number no Filter by member id.
search string no search
gitguardian.gitguardian_create_public_incident_note 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_public_incident_note --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_update_public_incident_note 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_public_incident_note --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
note_id number yes The id of the incident note to update
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_public_incident_note 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_public_incident_note --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
note_id number yes The id of the incident note to delete
gitguardian.gitguardian_get_public_secret_incident_vaults 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_get_public_secret_incident_vaults --json
ParameterTypeRequiredDescription
incident_id number yes The id of the incident to retrieve
gitguardian.gitguardian_list_invitations 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_invitations --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
search string no search
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
gitguardian.gitguardian_create_invitations 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_invitations --json
ParameterTypeRequiredDescription
send_email boolean no Whether to send an email to the invitee with a link to accept the invitation.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_retrieve_invitation 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_invitation --json
ParameterTypeRequiredDescription
invitation_id number yes The id of the invitation to retrieve
gitguardian.gitguardian_delete_invitation 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_invitation --json
ParameterTypeRequiredDescription
invitation_id number yes The id of the invitation to retrieve
gitguardian.gitguardian_resend_invitation 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_resend_invitation --json
ParameterTypeRequiredDescription
invitation_id number yes The id of the invitation to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_get_invitation_resource_access 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_get_invitation_resource_access --json
ParameterTypeRequiredDescription
invitation_id number yes The id of the invitation to retrieve
resource_type string yes The kind of resource of the access
resource_id number yes The id of the resource of the access
gitguardian.gitguardian_set_invitation_resource_access 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_set_invitation_resource_access --json
ParameterTypeRequiredDescription
invitation_id number yes The id of the invitation to retrieve
resource_type string yes The kind of resource of the access
resource_id number yes The id of the resource of the access
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_revoke_invitation_resource_access 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_revoke_invitation_resource_access --json
ParameterTypeRequiredDescription
invitation_id number yes The id of the invitation to retrieve
resource_type string yes The kind of resource of the access
resource_id number yes The id of the resource of the access
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_invitation_secret_incident_access 20 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_invitation_secret_incident_access --json
ParameterTypeRequiredDescription
invitation_id number yes The id of the invitation to retrieve
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
assignee_email string no assignee_email
assignee_id number no assignee_id
status string no status
severity string no severity
validity string no validity
tags string no tags
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
detector_group_name string no detector_group_name
ignorer_id number no ignorer_id
ignorer_api_token_id string no ignorer_api_token_id
resolver_id number no resolver_id
resolver_api_token_id string no resolver_api_token_id
feedback boolean no feedback
only_on_provider_archived_sources boolean no only_on_provider_archived_sources
gitguardian.gitguardian_list_members 8 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_members --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
role string no role
access_level string no access_level
active boolean no active
search string no search
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
gitguardian.gitguardian_retrieve_member 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_member --json
ParameterTypeRequiredDescription
member_id number yes The id of the workspace member
gitguardian.gitguardian_delete_member 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_member --json
ParameterTypeRequiredDescription
member_id number yes The id of the workspace member
send_email boolean no Whether to notify the member about the removal.
gitguardian.gitguardian_update_member 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_member --json
ParameterTypeRequiredDescription
member_id number yes The id of the workspace member
send_email boolean no Whether to notify the member about the update.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_member_teams 5 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_member_teams --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
search string no search
is_global boolean no is_global
member_id number yes The id of the workspace member
gitguardian.gitguardian_get_member_resource_access 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_get_member_resource_access --json
ParameterTypeRequiredDescription
member_id number yes The id of the workspace member
resource_type string yes The kind of resource of the access
resource_id number yes The id of the resource of the access
gitguardian.gitguardian_set_member_resource_access 5 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_set_member_resource_access --json
ParameterTypeRequiredDescription
member_id number yes The id of the workspace member
resource_type string yes The kind of resource of the access
resource_id number yes The id of the resource of the access
send_email boolean no Whether to notify the member about the access.
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_revoke_member_resource_access 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_revoke_member_resource_access --json
ParameterTypeRequiredDescription
member_id number yes The id of the workspace member
resource_type string yes The kind of resource of the access
resource_id number yes The id of the resource of the access
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_member_secret_incident_access 20 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_member_secret_incident_access --json
ParameterTypeRequiredDescription
member_id number yes The id of the workspace member
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
assignee_email string no assignee_email
assignee_id number no assignee_id
status string no status
severity string no severity
validity string no validity
tags string no tags
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
detector_group_name string no detector_group_name
ignorer_id number no ignorer_id
ignorer_api_token_id string no ignorer_api_token_id
resolver_id number no resolver_id
resolver_api_token_id string no resolver_api_token_id
feedback boolean no feedback
only_on_provider_archived_sources boolean no only_on_provider_archived_sources
gitguardian.gitguardian_retrieve_member_email_settings 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_member_email_settings --json
ParameterTypeRequiredDescription
member_id number yes The id of the workspace member
gitguardian.gitguardian_update_member_email_settings 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_member_email_settings --json
ParameterTypeRequiredDescription
member_id number yes The id of the workspace member
send_email boolean no Whether to notify the member about the update.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_content_scan 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_content_scan --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_multiple_scan 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_multiple_scan --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_scan_create_incidents 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scan_create_incidents --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_secret_detectors 6 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_secret_detectors --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
is_active boolean no is_active
type string no type
search string no search
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
gitguardian.gitguardian_get_secret_detector 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_get_secret_detector --json
ParameterTypeRequiredDescription
detector_name string yes Name of the detector to retrieve
gitguardian.gitguardian_get_secret_detail 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_get_secret_detail --json
ParameterTypeRequiredDescription
secret_id number yes The ID of the secret to retrieve
x_privacy_mode string no When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data.
gitguardian.gitguardian_quotas 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_quotas --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_list_sources 13 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_sources --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
search string no search
last_scan_status string no last_scan_status
health string no health
type string no type
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
visibility string no visibility
external_id string no external_id
source_criticality string no source_criticality
monitored boolean no monitored
provider_metadata_archived boolean no provider_metadata_archived
gitguardian.gitguardian_retrieve_source 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_source --json
ParameterTypeRequiredDescription
source_id number yes The id of the source to retrieve.
gitguardian.gitguardian_update_source 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_source --json
ParameterTypeRequiredDescription
source_id number yes The id of the source to retrieve.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_sources_incidents 22 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_sources_incidents --json
ParameterTypeRequiredDescription
source_id number yes The id of the source to filter on.
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
assignee_email string no assignee_email
assignee_id number no assignee_id
status string no status
severity string no severity
validity string no validity
tags string no tags
custom_tags string no custom_tags
custom_tag_key string no custom_tag_key
custom_tag_value string no custom_tag_value
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
detector_group_name string no detector_group_name
ignorer_id number no ignorer_id
ignorer_api_token_id string no ignorer_api_token_id
resolver_id number no resolver_id
resolver_api_token_id string no resolver_api_token_id
feedback boolean no feedback
only_on_provider_archived_sources boolean no only_on_provider_archived_sources
gitguardian.gitguardian_trigger_source_scans 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_trigger_source_scans --json
ParameterTypeRequiredDescription
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_custom_sources 5 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_custom_sources --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
search string no search
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
gitguardian.gitguardian_create_custom_source 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_custom_source --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_get_custom_source 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_get_custom_source --json
ParameterTypeRequiredDescription
custom_source_id string yes The id of the custom source to retrieve.
gitguardian.gitguardian_update_custom_source 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_custom_source --json
ParameterTypeRequiredDescription
custom_source_id string yes The id of the custom source to update.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_custom_source 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_custom_source --json
ParameterTypeRequiredDescription
custom_source_id string yes The id of the custom source to delete.
gitguardian.gitguardian_list_developers 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_developers --json
ParameterTypeRequiredDescription
search string no search
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
gitguardian.gitguardian_list_audit_logs 10 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_audit_logs --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
event_name string no Entries matching this event name.
member_id number no The id of the member to retrieve.
member_name string no Entries matching this member name.
member_email string no Entries matching this member email.
api_token_id string no Entries matching this API token id.
ip_address string no Entries matching this IP address.
gitguardian.gitguardian_list_audit_log_event_names 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_audit_log_event_names --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_api_health 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_api_health --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_list_health_checks 6 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_health_checks --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
type string no Filter by integration type.
status string no status
started_at_after string no started_at_after
started_at_before string no started_at_before
gitguardian.gitguardian_list_health_check_instance_history 8 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_health_check_instance_history --json
ParameterTypeRequiredDescription
type string yes The integration type identifier.
instance_id number yes The ID of the integration instance.
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
status string no status
started_at_after string no started_at_after
started_at_before string no started_at_before
ordering string no Sort the results by their field value. The default sort is DESC (most recent first). Prefix with `-` for descending order.
gitguardian.gitguardian_trigger_health_check 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_trigger_health_check --json
ParameterTypeRequiredDescription
type string yes The integration type identifier.
instance_id number yes The ID of the integration instance.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_teams 5 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_teams --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
is_global boolean no is_global
search string no search
linked_to_an_external_provider boolean no linked_to_an_external_provider
gitguardian.gitguardian_create_teams 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_teams --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_retrieve_team 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_team --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
gitguardian.gitguardian_delete_team 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_team --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
gitguardian.gitguardian_update_team 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_team --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_team_incidents 21 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_team_incidents --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
team_id number yes The id of the team
assignee_email string no assignee_email
assignee_id number no assignee_id
status string no status
severity string no severity
validity string no validity
tags string no tags
custom_tags string no custom_tags
custom_tag_key string no custom_tag_key
custom_tag_value string no custom_tag_value
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
detector_group_name string no detector_group_name
ignorer_id number no ignorer_id
ignorer_api_token_id string no ignorer_api_token_id
resolver_id number no resolver_id
resolver_api_token_id string no resolver_api_token_id
only_on_provider_archived_sources boolean no only_on_provider_archived_sources
gitguardian.gitguardian_get_team_resource_access 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_get_team_resource_access --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
resource_type string yes The kind of resource of the access
resource_id number yes The id of the resource of the access
gitguardian.gitguardian_set_team_resource_access 5 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_set_team_resource_access --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
resource_type string yes The kind of resource of the access
resource_id number yes The id of the resource of the access
send_email boolean no Whether to notify the team members about the access.
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_revoke_team_resource_access 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_revoke_team_resource_access --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
resource_type string yes The kind of resource of the access
resource_id number yes The id of the resource of the access
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_team_secret_incident_access 23 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_team_secret_incident_access --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
cursor string no Pagination cursor.
page number no Page number.
per_page number no Number of items to list per page.
date_before string no date_before
date_after string no date_after
assignee_email string no assignee_email
assignee_id number no assignee_id
status string no status
severity string no severity
validity string no validity
tags string no tags
custom_tags string no custom_tags
custom_tag_key string no custom_tag_key
custom_tag_value string no custom_tag_value
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
detector_group_name string no detector_group_name
ignorer_id number no ignorer_id
ignorer_api_token_id string no ignorer_api_token_id
resolver_id number no resolver_id
resolver_api_token_id string no resolver_api_token_id
feedback boolean no feedback
only_on_provider_archived_sources boolean no only_on_provider_archived_sources
gitguardian.gitguardian_list_team_invitation 7 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_team_invitation --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
team_id number yes The id of the team
invitation_id number no The id of an invitation to filter on
is_team_leader boolean no is_team_leader
team_permission string no team_permission
incident_permission string no incident_permission
gitguardian.gitguardian_create_team_invitations 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_team_invitations --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_update_team_invitation 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_team_invitation --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
team_invitation_id number yes The id of the team invitation
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_team_invitation 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_team_invitation --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
team_invitation_id number yes The id of the team invitation
gitguardian.gitguardian_list_team_memberships 7 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_team_memberships --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
team_id number yes The id of the team
is_team_leader boolean no is_team_leader
team_permission string no team_permission
incident_permission string no incident_permission
member_id number no member_id
gitguardian.gitguardian_create_team_membership 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_team_membership --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
send_email boolean no Whether to notify the member about the team membership.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_update_team_membership 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_team_membership --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
team_membership_id number yes The id of the team membership
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_team_membership 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_team_membership --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
team_membership_id number yes The id of the team membership
send_email boolean no Whether to notify the member about the removal from the team.
gitguardian.gitguardian_list_member_team_memberships 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_member_team_memberships --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
member_id number yes The id of the workspace member
team_id number no The id of a team to filter on
gitguardian.gitguardian_list_team_requests 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_team_requests --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
team_id number yes The id of the team
member_id number no member_id
gitguardian.gitguardian_create_team_request 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_team_request --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_team_request 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_team_request --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
team_request_id number yes The id of the team request
send_email boolean no Whether to notify the member about the request having been denied.
gitguardian.gitguardian_accept_team_request 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_accept_team_request --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
team_request_id number yes The id of the team request
send_email boolean no Whether to notify the member about the request having been accepted.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_member_team_requests 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_member_team_requests --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
member_id number yes The id of the workspace member
team_id number no team_id
gitguardian.gitguardian_list_team_sources 10 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_team_sources --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
team_id number yes The id of the team
search string no search
last_scan_status string no last_scan_status
health string no health
type string no type
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
visibility string no visibility
external_id string no external_id
gitguardian.gitguardian_update_team_sources 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_team_sources --json
ParameterTypeRequiredDescription
team_id number yes The id of the team
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_honeytoken 13 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_honeytoken --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
status string no status
type string no type
search string no search
creator_id number no creator_id
revoker_id number no revoker_id
creator_api_token_id string no creator_api_token_id
revoker_api_token_id string no revoker_api_token_id
tags string no tags
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
show_token boolean no show_token
x_privacy_mode string no When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data.
gitguardian.gitguardian_create_honeytoken 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_honeytoken --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_create_honeytoken_with_context 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_honeytoken_with_context --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_retrieve_honeytoken 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_honeytoken --json
ParameterTypeRequiredDescription
honeytoken_id string yes The id of the honeytoken to retrieve
x_privacy_mode string no When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data.
show_token boolean no show_token
gitguardian.gitguardian_update_honeytoken 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_honeytoken --json
ParameterTypeRequiredDescription
honeytoken_id string yes The id of the honeytoken to retrieve
x_privacy_mode string no When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_reset_honeytoken 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_reset_honeytoken --json
ParameterTypeRequiredDescription
honeytoken_id string yes The id of the honeytoken to retrieve
x_privacy_mode string no When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_revoke_honeytoken 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_revoke_honeytoken --json
ParameterTypeRequiredDescription
honeytoken_id string yes The id of the honeytoken to retrieve
x_privacy_mode string no When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data.
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_honeytoken_notes 7 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_honeytoken_notes --json
ParameterTypeRequiredDescription
honeytoken_id string yes The id of the honeytoken to retrieve
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
member_id number no Filter by member id.
api_token_id string no Entries matching this API token id.
search string no search
gitguardian.gitguardian_create_honeytoken_note 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_honeytoken_note --json
ParameterTypeRequiredDescription
honeytoken_id string yes The id of the honeytoken to retrieve
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_update_honeytoken_note 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_honeytoken_note --json
ParameterTypeRequiredDescription
honeytoken_id string yes The id of the honeytoken to retrieve
note_id string yes The id of the honeytoken note to update
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_honeytoken_note 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_honeytoken_note --json
ParameterTypeRequiredDescription
honeytoken_id string yes The id of the honeytoken to retrieve
note_id string yes The id of the honeytoken note to update
gitguardian.gitguardian_list_honeytoken_sources 5 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_honeytoken_sources --json
ParameterTypeRequiredDescription
honeytoken_id string yes The id of the honeytoken to retrieve
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
provider_metadata_archived boolean no provider_metadata_archived
gitguardian.gitguardian_check_honeytoken_prefixes 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_check_honeytoken_prefixes --json
ParameterTypeRequiredDescription
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_list_honeytokens_events 9 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_honeytokens_events --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'
honeytoken_id string no Filter by honeytoken id
status string no Filter by status
ip_address string no Filter by ip address
tags string no tags
search string no Search events based on the `data` field content
x_privacy_mode string no When set to `true`, sensitive values in the response are obfuscated (replaced with `<GG>OBFUSCATED</GG>`). Useful for sharing API responses without exposing sensitive data.
gitguardian.gitguardian_list_ip_allowlist 4 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_ip_allowlist --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
search string no search
ordering string no Sort the results by their field value. The default sort is ASC, DESC if the field is preceded by a '-'.
gitguardian.gitguardian_create_ip_allowlist 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_ip_allowlist --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_retrieve_ipallowlist 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_retrieve_ipallowlist --json
ParameterTypeRequiredDescription
ip_allowlist_rule_id string yes The id of the IP allowlist rule
gitguardian.gitguardian_update_ipallowlist 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_ipallowlist --json
ParameterTypeRequiredDescription
ip_allowlist_rule_id string yes The id of the IP allowlist rule
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_ipallowlist 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_ipallowlist --json
ParameterTypeRequiredDescription
ip_allowlist_rule_id string yes The id of the IP allowlist rule
gitguardian.gitguardian_list_ip_addresses 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_ip_addresses --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_scim_user_create 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_user_create --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_scim_user_list 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_user_list --json
ParameterTypeRequiredDescription
filter string no Filter users using SCIM filtering DSL.
start_index number no The 1-based index of the first result in the current set of list results.
count number no Specifies the desired maximum number of query results per page.
gitguardian.gitguardian_scim_user_detail 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_user_detail --json
ParameterTypeRequiredDescription
id string yes id
gitguardian.gitguardian_scim_user_update 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_user_update --json
ParameterTypeRequiredDescription
id string yes id
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_scim_user_partial_update 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_user_partial_update --json
ParameterTypeRequiredDescription
id string yes id
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_scim_user_delete 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_user_delete --json
ParameterTypeRequiredDescription
id string yes id
gitguardian.gitguardian_scim_group_list 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_group_list --json
ParameterTypeRequiredDescription
filter string no Filter groups using the SCIM filtering DSL.
start_index number no The 1-based index of the first result in the current set of list results.
count number no Specifies the desired maximum number of query results per page.
gitguardian.gitguardian_scim_group_create 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_group_create --json
ParameterTypeRequiredDescription
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_scim_group_detail 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_group_detail --json
ParameterTypeRequiredDescription
id string yes id
gitguardian.gitguardian_scim_group_update 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_group_update --json
ParameterTypeRequiredDescription
id string yes id
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_scim_group_partial_update 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_group_partial_update --json
ParameterTypeRequiredDescription
id string yes id
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_scim_group_delete 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_group_delete --json
ParameterTypeRequiredDescription
id string yes id
gitguardian.gitguardian_scim_service_provider_config 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_service_provider_config --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_scim_resource_types_list 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_resource_types_list --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_scim_resource_types_detail 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_resource_types_detail --json
ParameterTypeRequiredDescription
name string yes name
gitguardian.gitguardian_scim_schema_list 0 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_schema_list --json
ParameterTypeRequiredDescription
No parameters.
gitguardian.gitguardian_scim_schema_detail 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_scim_schema_detail --json
ParameterTypeRequiredDescription
name string yes name
gitguardian.gitguardian_list_custom_tags 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_list_custom_tags --json
ParameterTypeRequiredDescription
cursor string no Pagination cursor.
per_page number no Number of items to list per page.
key string no key
gitguardian.gitguardian_create_custom_tag 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_create_custom_tag --json
ParameterTypeRequiredDescription
body object yes Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_update_custom_tags_key 3 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_custom_tags_key --json
ParameterTypeRequiredDescription
old_key string yes old_key
new_key string yes new_key
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_custom_tags_key 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_custom_tags_key --json
ParameterTypeRequiredDescription
key string yes key
gitguardian.gitguardian_get_custom_tag 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_get_custom_tag --json
ParameterTypeRequiredDescription
custom_tag_id string yes The id of the custom tag
gitguardian.gitguardian_update_custom_tag 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_update_custom_tag --json
ParameterTypeRequiredDescription
custom_tag_id string yes The id of the custom tag
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_partial_update_custom_tag 2 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_partial_update_custom_tag --json
ParameterTypeRequiredDescription
custom_tag_id string yes The id of the custom tag
body object no Request body matching the official GitGuardian OpenAPI schema.
gitguardian.gitguardian_delete_custom_tag 1 parameters
Schema command
kosmo integrations:schema gitguardian.gitguardian_delete_custom_tag --json
ParameterTypeRequiredDescription
custom_tag_id string yes The id of the custom tag

Permissions

Headless calls still follow the integration read/write permission policy. Configure read/write defaults with integrations:configure. Add --force only for trusted automation that should bypass that policy.