Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-06 12:08:32 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-06 12:08:32 +0300
commit497d517e130ac88cbdee69c4c9e88938e164fc52 (patch)
treeeacf8eb83f872a775e7d3661ee96f2765a450ef9 /doc
parenta7cacc8293bdc9b088c7755a53efd304daab3a1c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc')
-rw-r--r--doc/README.md2
-rw-r--r--doc/administration/operations/fast_ssh_key_lookup.md1
-rw-r--r--doc/api/graphql/reference/gitlab_schema.graphql86
-rw-r--r--doc/api/graphql/reference/gitlab_schema.json177
-rw-r--r--doc/api/graphql/reference/index.md15
-rw-r--r--doc/development/migration_style_guide.md4
-rw-r--r--doc/user/project/integrations/jira.md2
7 files changed, 282 insertions, 5 deletions
diff --git a/doc/README.md b/doc/README.md
index 03ecbef56ea..47f6535e80e 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -218,7 +218,7 @@ The following documentation relates to the DevOps **Create** stage:
| [GitLab GraphQL API](api/graphql/index.md) | Integrate with GitLab using our GraphQL API. |
| [GitLab Integration](integration/README.md) | Integrate with multiple third-party services with GitLab to allow external issue trackers and external authentication. |
| [GitLab Webhooks](user/project/integrations/webhooks.md) | Let GitLab notify you when new code has been pushed to your project. |
-| [Jira Development Panel](integration/jira_development_panel.md) **(PREMIUM)** | See GitLab information in the Jira Development Panel. |
+| [Jira Development Panel](integration/jira_development_panel.md) | See GitLab information in the Jira Development Panel. |
| [Integrations](user/project/integrations/overview.md) | Integrate a project with external services, such as CI and chat. |
| [Trello Power-Up](integration/trello_power_up.md) | Integrate with GitLab's Trello Power-Up. |
diff --git a/doc/administration/operations/fast_ssh_key_lookup.md b/doc/administration/operations/fast_ssh_key_lookup.md
index 6cd393be330..a521dd2c194 100644
--- a/doc/administration/operations/fast_ssh_key_lookup.md
+++ b/doc/administration/operations/fast_ssh_key_lookup.md
@@ -114,7 +114,6 @@ This is a brief overview. Please refer to the above instructions for more contex
1. Enable writes to the `authorized_keys` file in Application Settings
1. Remove the `AuthorizedKeysCommand` lines from `/etc/ssh/sshd_config` or from `/assets/sshd_config` if you are using Omnibus Docker.
1. Reload `sshd`: `sudo service sshd reload`
-1. Remove the `/opt/gitlab-shell/authorized_keys` file
## Compiling a custom version of OpenSSH for CentOS 6
diff --git a/doc/api/graphql/reference/gitlab_schema.graphql b/doc/api/graphql/reference/gitlab_schema.graphql
index 6c60b2d26c2..3622501a227 100644
--- a/doc/api/graphql/reference/gitlab_schema.graphql
+++ b/doc/api/graphql/reference/gitlab_schema.graphql
@@ -3504,6 +3504,11 @@ type CreateSnippetPayload {
The snippet after mutation
"""
snippet: Snippet
+
+ """
+ Indicates whether the operation returns a record detected as spam
+ """
+ spam: Boolean
}
"""
@@ -3635,6 +3640,11 @@ type DastOnDemandScanCreatePayload {
enum DastScanTypeEnum {
"""
+ Active DAST scan. This scan will make active attacks against the target site.
+ """
+ ACTIVE
+
+ """
Passive DAST scan. This scan will not make active attacks against the target site.
"""
PASSIVE
@@ -3665,6 +3675,16 @@ type DastScannerProfile {
profileName: String
"""
+ Indicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan.
+ """
+ scanType: DastScanTypeEnum
+
+ """
+ Indicates if debug messages should be included in DAST console output. True to include the debug messages.
+ """
+ showDebugMessages: Boolean!
+
+ """
The maximum number of minutes allowed for the spider to traverse the site
"""
spiderTimeout: Int
@@ -3673,6 +3693,13 @@ type DastScannerProfile {
The maximum number of seconds allowed for the site under test to respond to a request
"""
targetTimeout: Int
+
+ """
+ Indicates if the AJAX spider should be used to crawl the target site. True to
+ run the AJAX spider in addition to the traditional spider, and false to run
+ only the traditional spider.
+ """
+ useAjaxSpider: Boolean!
}
"""
@@ -3715,6 +3742,16 @@ input DastScannerProfileCreateInput {
profileName: String!
"""
+ Indicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan.
+ """
+ scanType: DastScanTypeEnum = PASSIVE
+
+ """
+ Indicates if debug messages should be included in DAST console output. True to include the debug messages.
+ """
+ showDebugMessages: Boolean = false
+
+ """
The maximum number of minutes allowed for the spider to traverse the site.
"""
spiderTimeout: Int
@@ -3723,6 +3760,13 @@ input DastScannerProfileCreateInput {
The maximum number of seconds allowed for the site under test to respond to a request.
"""
targetTimeout: Int
+
+ """
+ Indicates if the AJAX spider should be used to crawl the target site. True to
+ run the AJAX spider in addition to the traditional spider, and false to run
+ only the traditional spider.
+ """
+ useAjaxSpider: Boolean = false
}
"""
@@ -3830,6 +3874,16 @@ input DastScannerProfileUpdateInput {
profileName: String!
"""
+ Indicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan.
+ """
+ scanType: DastScanTypeEnum
+
+ """
+ Indicates if debug messages should be included in DAST console output. True to include the debug messages.
+ """
+ showDebugMessages: Boolean
+
+ """
The maximum number of minutes allowed for the spider to traverse the site.
"""
spiderTimeout: Int!
@@ -3838,6 +3892,13 @@ input DastScannerProfileUpdateInput {
The maximum number of seconds allowed for the site under test to respond to a request.
"""
targetTimeout: Int!
+
+ """
+ Indicates if the AJAX spider should be used to crawl the target site. True to
+ run the AJAX spider in addition to the traditional spider, and false to run
+ only the traditional spider.
+ """
+ useAjaxSpider: Boolean
}
"""
@@ -9430,6 +9491,21 @@ enum IssueState {
}
"""
+Values for issue state events
+"""
+enum IssueStateEvent {
+ """
+ Closes the issue
+ """
+ CLOSE
+
+ """
+ Reopens the issue
+ """
+ REOPEN
+}
+
+"""
Represents total number of issues for the represented statuses
"""
type IssueStatusCountsType {
@@ -19013,6 +19089,11 @@ input UpdateIssueInput {
removeLabelIds: [ID!]
"""
+ Close or reopen an issue.
+ """
+ stateEvent: IssueStateEvent
+
+ """
Title of the issue
"""
title: String
@@ -19256,6 +19337,11 @@ type UpdateSnippetPayload {
The snippet after mutation
"""
snippet: Snippet
+
+ """
+ Indicates whether the operation returns a record detected as spam
+ """
+ spam: Boolean
}
scalar Upload
diff --git a/doc/api/graphql/reference/gitlab_schema.json b/doc/api/graphql/reference/gitlab_schema.json
index 47cbca51eed..4ca34d124e6 100644
--- a/doc/api/graphql/reference/gitlab_schema.json
+++ b/doc/api/graphql/reference/gitlab_schema.json
@@ -9438,6 +9438,20 @@
},
"isDeprecated": false,
"deprecationReason": null
+ },
+ {
+ "name": "spam",
+ "description": "Indicates whether the operation returns a record detected as spam",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
}
],
"inputFields": null,
@@ -9839,6 +9853,12 @@
"description": "Passive DAST scan. This scan will not make active attacks against the target site.",
"isDeprecated": false,
"deprecationReason": null
+ },
+ {
+ "name": "ACTIVE",
+ "description": "Active DAST scan. This scan will make active attacks against the target site.",
+ "isDeprecated": false,
+ "deprecationReason": null
}
],
"possibleTypes": null
@@ -9913,6 +9933,38 @@
"deprecationReason": null
},
{
+ "name": "scanType",
+ "description": "Indicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "ENUM",
+ "name": "DastScanTypeEnum",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "showDebugMessages",
+ "description": "Indicates if debug messages should be included in DAST console output. True to include the debug messages.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
"name": "spiderTimeout",
"description": "The maximum number of minutes allowed for the spider to traverse the site",
"args": [
@@ -9939,6 +9991,24 @@
},
"isDeprecated": false,
"deprecationReason": null
+ },
+ {
+ "name": "useAjaxSpider",
+ "description": "Indicates if the AJAX spider should be used to crawl the target site. True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider.",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "NON_NULL",
+ "name": null,
+ "ofType": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ }
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
}
],
"inputFields": null,
@@ -10070,6 +10140,36 @@
"defaultValue": null
},
{
+ "name": "scanType",
+ "description": "Indicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan.",
+ "type": {
+ "kind": "ENUM",
+ "name": "DastScanTypeEnum",
+ "ofType": null
+ },
+ "defaultValue": "PASSIVE"
+ },
+ {
+ "name": "useAjaxSpider",
+ "description": "Indicates if the AJAX spider should be used to crawl the target site. True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider.",
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ },
+ "defaultValue": "false"
+ },
+ {
+ "name": "showDebugMessages",
+ "description": "Indicates if debug messages should be included in DAST console output. True to include the debug messages.",
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ },
+ "defaultValue": "false"
+ },
+ {
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
"type": {
@@ -10399,6 +10499,36 @@
"defaultValue": null
},
{
+ "name": "scanType",
+ "description": "Indicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan.",
+ "type": {
+ "kind": "ENUM",
+ "name": "DastScanTypeEnum",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "useAjaxSpider",
+ "description": "Indicates if the AJAX spider should be used to crawl the target site. True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider.",
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
+ "name": "showDebugMessages",
+ "description": "Indicates if debug messages should be included in DAST console output. True to include the debug messages.",
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
"type": {
@@ -25790,6 +25920,29 @@
"possibleTypes": null
},
{
+ "kind": "ENUM",
+ "name": "IssueStateEvent",
+ "description": "Values for issue state events",
+ "fields": null,
+ "inputFields": null,
+ "interfaces": null,
+ "enumValues": [
+ {
+ "name": "REOPEN",
+ "description": "Reopens the issue",
+ "isDeprecated": false,
+ "deprecationReason": null
+ },
+ {
+ "name": "CLOSE",
+ "description": "Closes the issue",
+ "isDeprecated": false,
+ "deprecationReason": null
+ }
+ ],
+ "possibleTypes": null
+ },
+ {
"kind": "OBJECT",
"name": "IssueStatusCountsType",
"description": "Represents total number of issues for the represented statuses",
@@ -55397,6 +55550,16 @@
"defaultValue": null
},
{
+ "name": "stateEvent",
+ "description": "Close or reopen an issue.",
+ "type": {
+ "kind": "ENUM",
+ "name": "IssueStateEvent",
+ "ofType": null
+ },
+ "defaultValue": null
+ },
+ {
"name": "healthStatus",
"description": "The desired health status",
"type": {
@@ -56073,6 +56236,20 @@
},
"isDeprecated": false,
"deprecationReason": null
+ },
+ {
+ "name": "spam",
+ "description": "Indicates whether the operation returns a record detected as spam",
+ "args": [
+
+ ],
+ "type": {
+ "kind": "SCALAR",
+ "name": "Boolean",
+ "ofType": null
+ },
+ "isDeprecated": false,
+ "deprecationReason": null
}
],
"inputFields": null,
diff --git a/doc/api/graphql/reference/index.md b/doc/api/graphql/reference/index.md
index 350a1b6c0f3..13dc69d679c 100644
--- a/doc/api/graphql/reference/index.md
+++ b/doc/api/graphql/reference/index.md
@@ -561,6 +561,7 @@ Autogenerated return type of CreateSnippet.
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `snippet` | Snippet | The snippet after mutation |
+| `spam` | Boolean | Indicates whether the operation returns a record detected as spam |
### CreateTestCasePayload
@@ -592,8 +593,11 @@ Represents a DAST scanner profile.
| `globalId` | DastScannerProfileID! | ID of the DAST scanner profile |
| `id` **{warning-solid}** | ID! | **Deprecated:** Use `global_id`. Deprecated in 13.4 |
| `profileName` | String | Name of the DAST scanner profile |
+| `scanType` | DastScanTypeEnum | Indicates the type of DAST scan that will run. Either a Passive Scan or an Active Scan. |
+| `showDebugMessages` | Boolean! | Indicates if debug messages should be included in DAST console output. True to include the debug messages. |
| `spiderTimeout` | Int | The maximum number of minutes allowed for the spider to traverse the site |
| `targetTimeout` | Int | The maximum number of seconds allowed for the site under test to respond to a request |
+| `useAjaxSpider` | Boolean! | Indicates if the AJAX spider should be used to crawl the target site. True to run the AJAX spider in addition to the traditional spider, and false to run only the traditional spider. |
### DastScannerProfileCreatePayload
@@ -2732,6 +2736,7 @@ Autogenerated return type of UpdateSnippet.
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `snippet` | Snippet | The snippet after mutation |
+| `spam` | Boolean | Indicates whether the operation returns a record detected as spam |
### User
@@ -3140,6 +3145,7 @@ Mode of a commit action.
| Value | Description |
| ----- | ----------- |
+| `ACTIVE` | Active DAST scan. This scan will make active attacks against the target site. |
| `PASSIVE` | Passive DAST scan. This scan will not make active attacks against the target site. |
### DastSiteProfileValidationStatusEnum
@@ -3304,6 +3310,15 @@ State of a GitLab issue.
| `locked` | |
| `opened` | |
+### IssueStateEvent
+
+Values for issue state events.
+
+| Value | Description |
+| ----- | ----------- |
+| `CLOSE` | Closes the issue |
+| `REOPEN` | Reopens the issue |
+
### IssueType
Issue type.
diff --git a/doc/development/migration_style_guide.md b/doc/development/migration_style_guide.md
index 740ac54c415..48de6e53a85 100644
--- a/doc/development/migration_style_guide.md
+++ b/doc/development/migration_style_guide.md
@@ -331,7 +331,7 @@ end
**Usage with `disable_ddl_transaction!`**
-Generally the `with_lock_retries` helper should work with `disabled_ddl_transaction!`. A custom RuboCop rule ensures that only allowed methods can be placed within the lock retries block.
+Generally the `with_lock_retries` helper should work with `disable_ddl_transaction!`. A custom RuboCop rule ensures that only allowed methods can be placed within the lock retries block.
```ruby
disable_ddl_transaction!
@@ -348,7 +348,7 @@ end
The RuboCop rule generally allows standard Rails migration methods, listed below. This example will cause a Rubocop offense:
```ruby
-disabled_ddl_transaction!
+disable_ddl_transaction!
def up
with_lock_retries do
diff --git a/doc/user/project/integrations/jira.md b/doc/user/project/integrations/jira.md
index 3e0b6492477..2bfc929ba56 100644
--- a/doc/user/project/integrations/jira.md
+++ b/doc/user/project/integrations/jira.md
@@ -23,7 +23,7 @@ Features include:
- **View a list of Jira issues directly in GitLab** **(PREMIUM)**
For additional features, you can install the
-[Jira Development Panel integration](../../../integration/jira_development_panel.md) **(PREMIUM)**.
+[Jira Development Panel integration](../../../integration/jira_development_panel.md).
This enables you to:
- In a Jira issue, display relevant GitLab information in the [development panel](https://support.atlassian.com/jira-software-cloud/docs/view-development-information-for-an-issue/), including related branches, commits, and merge requests.