From eddf35996244adeeac6edff5df82efe2167dff9c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 30 Jun 2022 03:08:59 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- doc/administration/audit_event_streaming.md | 14 ++++++++++++++ .../auth/ldap/ldap_synchronization.md | 5 ----- doc/api/graphql/reference/index.md | 21 +++++++++++++++++++++ doc/api/jobs.md | 8 ++++---- doc/api/packages/pypi.md | 4 ++++ doc/development/cicd/templates.md | 2 +- 6 files changed, 44 insertions(+), 10 deletions(-) (limited to 'doc') diff --git a/doc/administration/audit_event_streaming.md b/doc/administration/audit_event_streaming.md index 5fc92c5fb6c..4e44a3a3e79 100644 --- a/doc/administration/audit_event_streaming.md +++ b/doc/administration/audit_event_streaming.md @@ -169,6 +169,20 @@ mutation { The header is created if the returned `errors` object is empty. +### Update with the API + +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/361964) in GitLab 15.2. + +Group owners can update a HTTP header using the GraphQL `auditEventsStreamingHeadersCreate` mutation. + +```graphql +mutation { + auditEventsStreamingHeadersUpdate(input: { headerId: "gid://gitlab/AuditEvents::Streaming::Header/24255", key: "new-foo", value: "new-bar" }) { + errors + } +} +``` + ### Delete with the API Group owners can remove a HTTP header using the GraphQL `auditEventsStreamingHeadersDestroy` mutation. You can retrieve the header ID diff --git a/doc/administration/auth/ldap/ldap_synchronization.md b/doc/administration/auth/ldap/ldap_synchronization.md index 0f0d301bfa9..b0ada1c11dd 100644 --- a/doc/administration/auth/ldap/ldap_synchronization.md +++ b/doc/administration/auth/ldap/ldap_synchronization.md @@ -42,11 +42,6 @@ The process also updates the following user information: - SSH public keys (if `sync_ssh_keys` is set) - Kerberos identity (if Kerberos is enabled) -The LDAP sync process: - -- Updates existing users. -- Creates new users on first sign in. - ### Adjust LDAP user sync schedule By default, GitLab runs a worker once per day at 01:30 a.m. server time to diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md index b3cdaeea85c..5c179e18a4b 100644 --- a/doc/api/graphql/reference/index.md +++ b/doc/api/graphql/reference/index.md @@ -778,6 +778,27 @@ Input type: `AuditEventsStreamingHeadersDestroyInput` | `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | | `errors` | [`[String!]!`](#string) | Errors encountered during execution of the mutation. | +### `Mutation.auditEventsStreamingHeadersUpdate` + +Input type: `AuditEventsStreamingHeadersUpdateInput` + +#### Arguments + +| Name | Type | Description | +| ---- | ---- | ----------- | +| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | +| `headerId` | [`AuditEventsStreamingHeaderID!`](#auditeventsstreamingheaderid) | Header to update. | +| `key` | [`String!`](#string) | Header key. | +| `value` | [`String!`](#string) | Header value. | + +#### Fields + +| Name | Type | Description | +| ---- | ---- | ----------- | +| `clientMutationId` | [`String`](#string) | A unique identifier for the client performing the mutation. | +| `errors` | [`[String!]!`](#string) | Errors encountered during execution of the mutation. | +| `header` | [`AuditEventStreamingHeader`](#auditeventstreamingheader) | Updates header. | + ### `Mutation.awardEmojiAdd` Input type: `AwardEmojiAddInput` diff --git a/doc/api/jobs.md b/doc/api/jobs.md index 85cdf7d892a..b23c33ddc0d 100644 --- a/doc/api/jobs.md +++ b/doc/api/jobs.md @@ -692,7 +692,7 @@ Example of response "finished_at": null, "duration": 8, "queued_duration": 0.010, - "id": 42, + "id": 1, "name": "rubocop", "ref": "main", "artifacts": [], @@ -742,7 +742,7 @@ Example of response "finished_at": null, "duration": null, "queued_duration": 0.010, - "id": 42, + "id": 1, "name": "rubocop", "ref": "main", "artifacts": [], @@ -792,7 +792,7 @@ Example of response "coverage": null, "allow_failure": false, "download_url": null, - "id": 42, + "id": 1, "name": "rubocop", "ref": "main", "artifacts": [], @@ -873,7 +873,7 @@ Example response: "finished_at": null, "duration": null, "queued_duration": 0.010, - "id": 42, + "id": 1, "name": "rubocop", "ref": "main", "artifacts": [], diff --git a/doc/api/packages/pypi.md b/doc/api/packages/pypi.md index 3e23ded61f4..e6204d87e1f 100644 --- a/doc/api/packages/pypi.md +++ b/doc/api/packages/pypi.md @@ -20,6 +20,10 @@ These endpoints do not adhere to the standard API authentication methods. See the [PyPI package registry documentation](../../user/packages/pypi_repository/index.md) for details on which headers and token types are supported. +NOTE: +[Twine 3.4.2](https://twine.readthedocs.io/en/stable/changelog.html?highlight=FIPS#id28) or greater +is recommended when [FIPS mode](../../development/fips_compliance.md) is enabled. + ## Download a package file from a group > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/225545) in GitLab 13.12. diff --git a/doc/development/cicd/templates.md b/doc/development/cicd/templates.md index 8d88e7155a2..eafb1817a0a 100644 --- a/doc/development/cicd/templates.md +++ b/doc/development/cicd/templates.md @@ -393,7 +393,7 @@ is updated in a major version GitLab release. ### Add metrics -Every CI/CD template must also have metrics defined to track their use. +Every CI/CD template must also have metrics defined to track their use. The CI/CD template monthly usage report can be found in [Sisense (GitLab team members only)](https://app.periscopedata.com/app/gitlab/785953/Pipeline-Authoring-Dashboard?widget=14910475&udv=0). To add a metric definition for a new template: -- cgit v1.2.3