Commit b63a4745 authored by Luke Duncalfe's avatar Luke Duncalfe

Fix Graphql/Descriptions EE types offenses

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/46721 introduced a
new rubocop that enforced periods at the end of GraphQL description
strings. Existing offenses were added to `.rubocop_manual_todo.yml`.

This change fixes roughly half of the offenses in `ee/app/graphql/types`
and removes the exclusion of them from `.rubocop_manual_todo.yml`.

The changes were generated using the following autocorrect:

    bundle exec rubocop ee/app/graphql \
      --auto-correct \
      --only Graphql/Descriptions

https://gitlab.com/gitlab-org/gitlab/-/issues/292426
parent 1a943a4d
......@@ -691,47 +691,6 @@ RSpec/TimecopTravel:
- 'spec/workers/concerns/reenqueuer_spec.rb'
- 'spec/lib/gitlab/analytics/cycle_analytics/median_spec.rb'
Graphql/Descriptions:
Exclude:
- 'ee/app/graphql/types/epic_tree/epic_tree_node_input_type.rb'
- 'ee/app/graphql/types/external_issue_type.rb'
- 'ee/app/graphql/types/geo/geo_node_type.rb'
- 'ee/app/graphql/types/geo/merge_request_diff_registry_type.rb'
- 'ee/app/graphql/types/geo/package_file_registry_type.rb'
- 'ee/app/graphql/types/geo/snippet_repository_registry_type.rb'
- 'ee/app/graphql/types/geo/terraform_state_version_registry_type.rb'
- 'ee/app/graphql/types/group_stats_type.rb'
- 'ee/app/graphql/types/incident_management/oncall_schedule_type.rb'
- 'ee/app/graphql/types/instance_security_dashboard_type.rb'
- 'ee/app/graphql/types/iteration_type.rb'
- 'ee/app/graphql/types/metric_image_type.rb'
- 'ee/app/graphql/types/requirements_management/requirement_states_count_type.rb'
- 'ee/app/graphql/types/requirements_management/requirement_type.rb'
- 'ee/app/graphql/types/requirements_management/test_report_type.rb'
- 'ee/app/graphql/types/scanned_resource_type.rb'
- 'ee/app/graphql/types/security_report_summary_section_type.rb'
- 'ee/app/graphql/types/time_report_stats_type.rb'
- 'ee/app/graphql/types/timebox_metrics_type.rb'
- 'ee/app/graphql/types/timebox_report_interface.rb'
- 'ee/app/graphql/types/timebox_report_type.rb'
- 'ee/app/graphql/types/timelog_type.rb'
- 'ee/app/graphql/types/vulnerabilities_count_by_day_and_severity_type.rb'
- 'ee/app/graphql/types/vulnerabilities_count_by_day_type.rb'
- 'ee/app/graphql/types/vulnerability/external_issue_link_type.rb'
- 'ee/app/graphql/types/vulnerability/issue_link_type.rb'
- 'ee/app/graphql/types/vulnerability_identifier_type.rb'
- 'ee/app/graphql/types/vulnerability_location/container_scanning_type.rb'
- 'ee/app/graphql/types/vulnerability_location/coverage_fuzzing_type.rb'
- 'ee/app/graphql/types/vulnerability_location/dast_type.rb'
- 'ee/app/graphql/types/vulnerability_location/dependency_scanning_type.rb'
- 'ee/app/graphql/types/vulnerability_location/sast_type.rb'
- 'ee/app/graphql/types/vulnerability_location/secret_detection_type.rb'
- 'ee/app/graphql/types/vulnerability_scanner_type.rb'
- 'ee/app/graphql/types/vulnerability_type.rb'
- 'ee/app/graphql/types/vulnerable_dependency_type.rb'
- 'ee/app/graphql/types/vulnerable_package_type.rb'
- 'ee/app/graphql/types/vulnerable_projects_by_grade_type.rb'
# WIP: https://gitlab.com/gitlab-org/gitlab/-/issues/34997
RSpec/AnyInstanceOf:
Exclude:
......
......@@ -10106,22 +10106,22 @@ A node of an epic tree.
"""
input EpicTreeNodeFieldsInputType {
"""
The ID of the epic_issue or issue that the actual epic or issue is switched with
The ID of the epic_issue or issue that the actual epic or issue is switched with.
"""
adjacentReferenceId: EpicTreeSortingID
"""
The ID of the epic_issue or epic that is being moved
The ID of the epic_issue or epic that is being moved.
"""
id: EpicTreeSortingID!
"""
ID of the new parent epic
ID of the new parent epic.
"""
newParentId: EpicID
"""
The type of the switch, after or before allowed
The type of the switch, after or before allowed.
"""
relativePosition: MoveType
}
......@@ -10241,69 +10241,69 @@ Represents an external issue
"""
type ExternalIssue {
"""
Timestamp of when the issue was created
Timestamp of when the issue was created.
"""
createdAt: Time
"""
Type of external tracker
Type of external tracker.
"""
externalTracker: String
"""
Relative reference of the issue in the external tracker
Relative reference of the issue in the external tracker.
"""
relativeReference: String
"""
Status of the issue in the external tracker
Status of the issue in the external tracker.
"""
status: String
"""
Title of the issue in the external tracker
Title of the issue in the external tracker.
"""
title: String
"""
Timestamp of when the issue was updated
Timestamp of when the issue was updated.
"""
updatedAt: Time
"""
URL to the issue in the external tracker
URL to the issue in the external tracker.
"""
webUrl: String
}
type GeoNode {
"""
The maximum concurrency of container repository sync for this secondary node
The maximum concurrency of container repository sync for this secondary node.
"""
containerRepositoriesMaxCapacity: Int
"""
Indicates whether this Geo node is enabled
Indicates whether this Geo node is enabled.
"""
enabled: Boolean
"""
The maximum concurrency of LFS/attachment backfill for this secondary node
The maximum concurrency of LFS/attachment backfill for this secondary node.
"""
filesMaxCapacity: Int
"""
ID of this GeoNode
ID of this GeoNode.
"""
id: ID!
"""
The URL defined on the primary node that secondary nodes should use to contact it
The URL defined on the primary node that secondary nodes should use to contact it.
"""
internalUrl: String
"""
Find merge request diff registries on this Geo node
Find merge request diff registries on this Geo node.
"""
mergeRequestDiffRegistries(
"""
......@@ -10333,17 +10333,17 @@ type GeoNode {
): MergeRequestDiffRegistryConnection
"""
The interval (in days) in which the repository verification is valid. Once expired, it will be reverified
The interval (in days) in which the repository verification is valid. Once expired, it will be reverified.
"""
minimumReverificationInterval: Int
"""
The unique identifier for this Geo node
The unique identifier for this Geo node.
"""
name: String
"""
Package file registries of the GeoNode
Package file registries of the GeoNode.
"""
packageFileRegistries(
"""
......@@ -10373,17 +10373,17 @@ type GeoNode {
): PackageFileRegistryConnection
"""
Indicates whether this Geo node is the primary
Indicates whether this Geo node is the primary.
"""
primary: Boolean
"""
The maximum concurrency of repository backfill for this secondary node
The maximum concurrency of repository backfill for this secondary node.
"""
reposMaxCapacity: Int
"""
The namespaces that should be synced, if `selective_sync_type` == `namespaces`
The namespaces that should be synced, if `selective_sync_type` == `namespaces`.
"""
selectiveSyncNamespaces(
"""
......@@ -10408,17 +10408,17 @@ type GeoNode {
): NamespaceConnection
"""
The repository storages whose projects should be synced, if `selective_sync_type` == `shards`
The repository storages whose projects should be synced, if `selective_sync_type` == `shards`.
"""
selectiveSyncShards: [String!]
"""
Indicates if syncing is limited to only specific groups, or shards
Indicates if syncing is limited to only specific groups, or shards.
"""
selectiveSyncType: String
"""
Find snippet repository registries on this Geo node
Find snippet repository registries on this Geo node.
"""
snippetRepositoryRegistries(
"""
......@@ -10448,12 +10448,12 @@ type GeoNode {
): SnippetRepositoryRegistryConnection
"""
Indicates if this secondary node will replicate blobs in Object Storage
Indicates if this secondary node will replicate blobs in Object Storage.
"""
syncObjectStorage: Boolean
"""
Find terraform state version registries on this Geo node
Find terraform state version registries on this Geo node.
"""
terraformStateVersionRegistries(
"""
......@@ -10483,12 +10483,12 @@ type GeoNode {
): TerraformStateVersionRegistryConnection
"""
The user-facing URL for this Geo node
The user-facing URL for this Geo node.
"""
url: String
"""
The maximum concurrency of repository verification for this secondary node
The maximum concurrency of repository verification for this secondary node.
"""
verificationMaxCapacity: Int
}
......@@ -11975,7 +11975,7 @@ Contains statistics about a group
"""
type GroupStats {
"""
Statistics related to releases within the group
Statistics related to releases within the group.
"""
releaseStats: GroupReleaseStats
}
......@@ -12314,22 +12314,22 @@ Describes an incident management on-call schedule
"""
type IncidentManagementOncallSchedule {
"""
Description of the on-call schedule
Description of the on-call schedule.
"""
description: String
"""
Internal ID of the on-call schedule
Internal ID of the on-call schedule.
"""
iid: ID!
"""
Name of the on-call schedule
Name of the on-call schedule.
"""
name: String!
"""
On-call rotations for the on-call schedule
On-call rotations for the on-call schedule.
"""
rotations(
"""
......@@ -12354,7 +12354,7 @@ type IncidentManagementOncallSchedule {
): IncidentManagementOncallRotationConnection!
"""
Time zone of the on-call schedule
Time zone of the on-call schedule.
"""
timezone: String!
}
......@@ -12451,7 +12451,7 @@ type IncidentManagementOncallShiftEdge {
type InstanceSecurityDashboard {
"""
Projects selected in Instance Security Dashboard
Projects selected in Instance Security Dashboard.
"""
projects(
"""
......@@ -12476,12 +12476,12 @@ type InstanceSecurityDashboard {
): ProjectConnection!
"""
Represents vulnerable project counts for each grade
Represents vulnerable project counts for each grade.
"""
vulnerabilityGrades: [VulnerableProjectsByGrade!]!
"""
Vulnerability scanners reported on the vulnerabilities from projects selected in Instance Security Dashboard
Vulnerability scanners reported on the vulnerabilities from projects selected in Instance Security Dashboard.
"""
vulnerabilityScanners(
"""
......@@ -12506,7 +12506,7 @@ type InstanceSecurityDashboard {
): VulnerabilityScannerConnection
"""
Counts for each vulnerability severity from projects selected in Instance Security Dashboard
Counts for each vulnerability severity from projects selected in Instance Security Dashboard.
"""
vulnerabilitySeveritiesCount(
"""
......@@ -13853,12 +13853,12 @@ Represents an iteration object
"""
type Iteration implements TimeboxReportInterface {
"""
Timestamp of iteration creation
Timestamp of iteration creation.
"""
createdAt: Time!
"""
Description of the iteration
Description of the iteration.
"""
description: String
......@@ -13868,62 +13868,62 @@ type Iteration implements TimeboxReportInterface {
descriptionHtml: String
"""
Timestamp of the iteration due date
Timestamp of the iteration due date.
"""
dueDate: Time
"""
ID of the iteration
ID of the iteration.
"""
id: ID!
"""
Internal ID of the iteration
Internal ID of the iteration.
"""
iid: ID!
"""
Historically accurate report about the timebox
Historically accurate report about the timebox.
"""
report: TimeboxReport
"""
Web path of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts
Web path of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts.
"""
scopedPath: String
"""
Web URL of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts
Web URL of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts.
"""
scopedUrl: String
"""
Timestamp of the iteration start date
Timestamp of the iteration start date.
"""
startDate: Time
"""
State of the iteration
State of the iteration.
"""
state: IterationState!
"""
Title of the iteration
Title of the iteration.
"""
title: String!
"""
Timestamp of last iteration update
Timestamp of last iteration update.
"""
updatedAt: Time!
"""
Web path of the iteration
Web path of the iteration.
"""
webPath: String!
"""
Web URL of the iteration
Web URL of the iteration.
"""
webUrl: String!
}
......@@ -15407,7 +15407,7 @@ type MergeRequestDiffRegistry {
lastSyncedAt: Time
"""
ID of the Merge Request diff
ID of the Merge Request diff.
"""
mergeRequestDiffId: ID!
......@@ -16029,27 +16029,27 @@ Represents a metric image upload
"""
type MetricImage {
"""
File name of the metric image
File name of the metric image.
"""
fileName: String
"""
File path of the metric image
File path of the metric image.
"""
filePath: String
"""
ID of the metric upload
ID of the metric upload.
"""
id: ID!
"""
Internal ID of the metric upload
Internal ID of the metric upload.
"""
iid: ID!
"""
URL of the metric source
URL of the metric source.
"""
url: String!
}
......@@ -16203,7 +16203,7 @@ type Milestone implements TimeboxReportInterface {
projectMilestone: Boolean!
"""
Historically accurate report about the timebox
Historically accurate report about the timebox.
"""
report: TimeboxReport
......@@ -17649,7 +17649,7 @@ type PackageFileRegistry {
lastSyncedAt: Time
"""
ID of the PackageFile
ID of the PackageFile.
"""
packageFileId: ID!
......@@ -22418,17 +22418,17 @@ Represents a requirement
"""
type Requirement {
"""
Author of the requirement
Author of the requirement.
"""
author: User!
"""
Timestamp of when the requirement was created
Timestamp of when the requirement was created.
"""
createdAt: Time!
"""
Description of the requirement
Description of the requirement.
"""
description: String
......@@ -22438,37 +22438,37 @@ type Requirement {
descriptionHtml: String
"""
ID of the requirement
ID of the requirement.
"""
id: ID!
"""
Internal ID of the requirement
Internal ID of the requirement.
"""
iid: ID!
"""
Indicates if latest test report was created by user
Indicates if latest test report was created by user.
"""
lastTestReportManuallyCreated: Boolean
"""
Latest requirement test report state
Latest requirement test report state.
"""
lastTestReportState: TestReportState
"""
Project to which the requirement belongs
Project to which the requirement belongs.
"""
project: Project!
"""
State of the requirement
State of the requirement.
"""
state: RequirementState!
"""
Test reports of the requirement
Test reports of the requirement.
"""
testReports(
"""
......@@ -22498,7 +22498,7 @@ type Requirement {
): TestReportConnection
"""
Title of the requirement
Title of the requirement.
"""
title: String
......@@ -22508,7 +22508,7 @@ type Requirement {
titleHtml: String
"""
Timestamp of when the requirement was last updated
Timestamp of when the requirement was last updated.
"""
updatedAt: Time!
......@@ -22596,12 +22596,12 @@ Counts of requirements by their state
"""
type RequirementStatesCount {
"""
Number of archived requirements
Number of archived requirements.
"""
archived: Int
"""
Number of opened requirements
Number of opened requirements.
"""
opened: Int
}
......@@ -23280,12 +23280,12 @@ Represents a resource scanned by a security scan
"""
type ScannedResource {
"""
The HTTP request method used to access the URL
The HTTP request method used to access the URL.
"""
requestMethod: String
"""
The URL scanned by the scanner
The URL scanned by the scanner.
"""
url: String
}
......@@ -23370,7 +23370,7 @@ Represents a section of a summary of a security report
"""
type SecurityReportSummarySection {
"""
A list of the first 20 scanned resources
A list of the first 20 scanned resources.
"""
scannedResources(
"""
......@@ -23395,17 +23395,17 @@ type SecurityReportSummarySection {
): ScannedResourceConnection
"""
Total number of scanned resources
Total number of scanned resources.
"""
scannedResourcesCount: Int
"""
Path to download all the scanned resources in CSV format
Path to download all the scanned resources in CSV format.
"""
scannedResourcesCsvPath: String
"""
Total number of vulnerabilities
Total number of vulnerabilities.
"""
vulnerabilitiesCount: Int
}
......@@ -24608,7 +24608,7 @@ type SnippetRepositoryRegistry {
retryCount: Int
"""
ID of the Snippet Repository
ID of the Snippet Repository.
"""
snippetRepositoryId: ID!
......@@ -25066,7 +25066,7 @@ type TerraformStateVersionRegistry {
state: RegistryState
"""
ID of the terraform state version
ID of the terraform state version.
"""
terraformStateVersionId: ID!
}
......@@ -25111,22 +25111,22 @@ Represents a requirement test report
"""
type TestReport {
"""
Author of the test report
Author of the test report.
"""
author: User
"""
Timestamp of when the test report was created
Timestamp of when the test report was created.
"""
createdAt: Time!
"""
ID of the test report
ID of the test report.
"""
id: ID!
"""
State of the test report
State of the test report.
"""
state: TestReportState!
}
......@@ -25184,17 +25184,17 @@ Represents the time report stats for timeboxes
"""
type TimeReportStats {
"""
Completed issues metrics
Completed issues metrics.
"""
complete: TimeboxMetrics
"""
Incomplete issues metrics
Incomplete issues metrics.
"""
incomplete: TimeboxMetrics
"""
Total issues metrics
Total issues metrics.
"""
total: TimeboxMetrics
}
......@@ -25204,12 +25204,12 @@ Represents measured stats metrics for timeboxes
"""
type TimeboxMetrics {
"""
The count metric
The count metric.
"""
count: Int!
"""
The weight metric
The weight metric.
"""
weight: Int!
}
......@@ -25219,19 +25219,19 @@ Represents a historically accurate report about the timebox
"""
type TimeboxReport {
"""
Daily scope and completed totals for burnup charts
Daily scope and completed totals for burnup charts.
"""
burnupTimeSeries: [BurnupChartDailyTotals!]
"""
Represents the time report stats for the timebox
Represents the time report stats for the timebox.
"""
stats: TimeReportStats
}
interface TimeboxReportInterface {
"""
Historically accurate report about the timebox
Historically accurate report about the timebox.
"""
report: TimeboxReport
}
......@@ -25253,27 +25253,27 @@ input Timeframe {
type Timelog {
"""
The issue that logged time was added to
The issue that logged time was added to.
"""
issue: Issue
"""
The note where the quick action to add the logged time was executed
The note where the quick action to add the logged time was executed.
"""
note: Note
"""
Timestamp of when the time tracked was spent at
Timestamp of when the time tracked was spent at.
"""
spentAt: Time
"""
The time spent displayed in seconds
The time spent displayed in seconds.
"""
timeSpent: Int!
"""
The user that logged the time
The user that logged the time.
"""
user: User!
}
......@@ -27418,7 +27418,7 @@ type VulnerabilitiesCountByDay {
critical: Int!
"""
Date for the count
Date for the count.
"""
date: ISO8601Date!
......@@ -27443,7 +27443,7 @@ type VulnerabilitiesCountByDay {
medium: Int!
"""
Total number of vulnerabilities on a particular day
Total number of vulnerabilities on a particular day.
"""
total: Int!
......@@ -27458,17 +27458,17 @@ Represents the number of vulnerabilities for a particular severity on a particul
"""
type VulnerabilitiesCountByDayAndSeverity {
"""
Number of vulnerabilities
Number of vulnerabilities.
"""
count: Int
"""
Date for the count
Date for the count.
"""
day: ISO8601Date
"""
Severity of the counted vulnerabilities
Severity of the counted vulnerabilities.
"""
severity: VulnerabilitySeverity
}
......@@ -27553,7 +27553,7 @@ Represents a vulnerability
"""
type Vulnerability implements Noteable {
"""
Timestamp of when the vulnerability state was changed to confirmed
Timestamp of when the vulnerability state was changed to confirmed.
"""
confirmedAt: Time
......@@ -27563,17 +27563,17 @@ type Vulnerability implements Noteable {
confirmedBy: User
"""
Description of the vulnerability
Description of the vulnerability.
"""
description: String
"""
Details of the vulnerability
Details of the vulnerability.
"""
details: [VulnerabilityDetail!]!
"""
Timestamp of when the vulnerability was first detected
Timestamp of when the vulnerability was first detected.
"""
detectedAt: Time!
......@@ -27603,7 +27603,7 @@ type Vulnerability implements Noteable {
): DiscussionConnection!
"""
Timestamp of when the vulnerability state was changed to dismissed
Timestamp of when the vulnerability state was changed to dismissed.
"""
dismissedAt: Time
......@@ -27613,7 +27613,7 @@ type Vulnerability implements Noteable {
dismissedBy: User
"""
List of external issue links related to the vulnerability
List of external issue links related to the vulnerability.
"""
externalIssueLinks(
"""
......@@ -27643,7 +27643,7 @@ type Vulnerability implements Noteable {
hasSolutions: Boolean
"""
GraphQL ID of the vulnerability
GraphQL ID of the vulnerability.
"""
id: ID!
......@@ -27653,7 +27653,7 @@ type Vulnerability implements Noteable {
identifiers: [VulnerabilityIdentifier!]!
"""
List of issue links related to the vulnerability
List of issue links related to the vulnerability.
"""
issueLinks(
"""
......@@ -27683,7 +27683,7 @@ type Vulnerability implements Noteable {
): VulnerabilityIssueLinkConnection!
"""
Location metadata for the vulnerability. Its fields depend on the type of security scan that found the vulnerability
Location metadata for the vulnerability. Its fields depend on the type of security scan that found the vulnerability.
"""
location: VulnerabilityLocation
......@@ -27723,7 +27723,7 @@ type Vulnerability implements Noteable {
primaryIdentifier: VulnerabilityIdentifier
"""
The project on which the vulnerability was found
The project on which the vulnerability was found.
"""
project: Project
......@@ -27735,7 +27735,7 @@ type Vulnerability implements Noteable {
reportType: VulnerabilityReportType
"""
Timestamp of when the vulnerability state was changed to resolved
Timestamp of when the vulnerability state was changed to resolved.
"""
resolvedAt: Time
......@@ -27745,7 +27745,7 @@ type Vulnerability implements Noteable {
resolvedBy: User
"""
Indicates whether the vulnerability is fixed on the default branch or not
Indicates whether the vulnerability is fixed on the default branch or not.
"""
resolvedOnDefaultBranch: Boolean!
......@@ -27765,12 +27765,12 @@ type Vulnerability implements Noteable {
state: VulnerabilityState
"""
Title of the vulnerability
Title of the vulnerability.
"""
title: String
"""
Number of user notes attached to the vulnerability
Number of user notes attached to the vulnerability.
"""
userNotesCount: Int!
......@@ -27780,7 +27780,7 @@ type Vulnerability implements Noteable {
userPermissions: VulnerabilityPermissions!
"""
URL to the vulnerability's details page
URL to the vulnerability's details page.
"""
vulnerabilityPath: String
}
......@@ -28295,17 +28295,17 @@ Represents an external issue link of a vulnerability
"""
type VulnerabilityExternalIssueLink {
"""
The external issue attached to the issue link
The external issue attached to the issue link.
"""
externalIssue: ExternalIssue
"""
GraphQL ID of the external issue link
GraphQL ID of the external issue link.
"""
id: VulnerabilitiesExternalIssueLinkID!
"""
Type of the external issue link
Type of the external issue link.
"""
linkType: VulnerabilityExternalIssueLinkType!
}
......@@ -28461,22 +28461,22 @@ Represents a vulnerability identifier
"""
type VulnerabilityIdentifier {
"""
External ID of the vulnerability identifier
External ID of the vulnerability identifier.
"""
externalId: String
"""
External type of the vulnerability identifier
External type of the vulnerability identifier.
"""
externalType: String
"""
Name of the vulnerability identifier
Name of the vulnerability identifier.
"""
name: String
"""
URL of the vulnerability identifier
URL of the vulnerability identifier.
"""
url: String
}
......@@ -28486,17 +28486,17 @@ Represents an issue link of a vulnerability
"""
type VulnerabilityIssueLink {
"""
GraphQL ID of the vulnerability
GraphQL ID of the vulnerability.
"""
id: ID!
"""
The issue attached to issue link
The issue attached to issue link.
"""
issue: Issue!
"""
Type of the issue link
Type of the issue link.
"""
linkType: VulnerabilityIssueLinkType!
}
......@@ -28554,17 +28554,17 @@ Represents the location of a vulnerability found by a container security scan
"""
type VulnerabilityLocationContainerScanning {
"""
Dependency containing the vulnerability
Dependency containing the vulnerability.
"""
dependency: VulnerableDependency
"""
Name of the vulnerable container image
Name of the vulnerable container image.
"""
image: String
"""
Operating system that runs on the vulnerable container image
Operating system that runs on the vulnerable container image.
"""
operatingSystem: String
}
......@@ -28574,32 +28574,32 @@ Represents the location of a vulnerability found by a Coverage Fuzzing scan
"""
type VulnerabilityLocationCoverageFuzzing {
"""
Blob path to the vulnerable file
Blob path to the vulnerable file.
"""
blobPath: String
"""
Number of the last relevant line in the vulnerable file
Number of the last relevant line in the vulnerable file.
"""
endLine: String
"""
Path to the vulnerable file
Path to the vulnerable file.
"""
file: String
"""
Number of the first relevant line in the vulnerable file
Number of the first relevant line in the vulnerable file.
"""
startLine: String
"""
Class containing the vulnerability
Class containing the vulnerability.
"""
vulnerableClass: String
"""
Method containing the vulnerability
Method containing the vulnerability.
"""
vulnerableMethod: String
}
......@@ -28609,22 +28609,22 @@ Represents the location of a vulnerability found by a DAST scan
"""
type VulnerabilityLocationDast {
"""
Domain name of the vulnerable request
Domain name of the vulnerable request.
"""
hostname: String
"""
Query parameter for the URL on which the vulnerability occurred
Query parameter for the URL on which the vulnerability occurred.
"""
param: String
"""
URL path and query string of the vulnerable request
URL path and query string of the vulnerable request.
"""
path: String
"""
HTTP method of the vulnerable request
HTTP method of the vulnerable request.
"""
requestMethod: String
}
......@@ -28634,17 +28634,17 @@ Represents the location of a vulnerability found by a dependency security scan
"""
type VulnerabilityLocationDependencyScanning {
"""
Blob path to the vulnerable file
Blob path to the vulnerable file.
"""
blobPath: String
"""
Dependency containing the vulnerability
Dependency containing the vulnerability.
"""
dependency: VulnerableDependency
"""
Path to the vulnerable file
Path to the vulnerable file.
"""
file: String
}
......@@ -28654,32 +28654,32 @@ Represents the location of a vulnerability found by a SAST scan
"""
type VulnerabilityLocationSast {
"""
Blob path to the vulnerable file
Blob path to the vulnerable file.
"""
blobPath: String
"""
Number of the last relevant line in the vulnerable file
Number of the last relevant line in the vulnerable file.
"""
endLine: String
"""
Path to the vulnerable file
Path to the vulnerable file.
"""
file: String
"""
Number of the first relevant line in the vulnerable file
Number of the first relevant line in the vulnerable file.
"""
startLine: String
"""
Class containing the vulnerability
Class containing the vulnerability.
"""
vulnerableClass: String
"""
Method containing the vulnerability
Method containing the vulnerability.
"""
vulnerableMethod: String
}
......@@ -28689,32 +28689,32 @@ Represents the location of a vulnerability found by a secret detection scan
"""
type VulnerabilityLocationSecretDetection {
"""
Blob path to the vulnerable file
Blob path to the vulnerable file.
"""
blobPath: String
"""
Number of the last relevant line in the vulnerable file
Number of the last relevant line in the vulnerable file.
"""
endLine: String
"""
Path to the vulnerable file
Path to the vulnerable file.
"""
file: String
"""
Number of the first relevant line in the vulnerable file
Number of the first relevant line in the vulnerable file.
"""
startLine: String
"""
Class containing the vulnerability
Class containing the vulnerability.
"""
vulnerableClass: String
"""
Method containing the vulnerability
Method containing the vulnerability.
"""
vulnerableMethod: String
}
......@@ -28857,22 +28857,22 @@ Represents a vulnerability scanner
"""
type VulnerabilityScanner {
"""
External ID of the vulnerability scanner
External ID of the vulnerability scanner.
"""
externalId: String
"""
Name of the vulnerability scanner
Name of the vulnerability scanner.
"""
name: String
"""
Type of the vulnerability report
Type of the vulnerability report.
"""
reportType: VulnerabilityReportType
"""
Vendor of the vulnerability scanner
Vendor of the vulnerability scanner.
"""
vendor: String
}
......@@ -29029,12 +29029,12 @@ Represents a vulnerable dependency. Used in vulnerability location data
"""
type VulnerableDependency {
"""
The package associated with the vulnerable dependency
The package associated with the vulnerable dependency.
"""
package: VulnerablePackage
"""
The version of the vulnerable dependency
The version of the vulnerable dependency.
"""
version: String
}
......@@ -29044,7 +29044,7 @@ Represents a vulnerable package. Used in vulnerability dependency data
"""
type VulnerablePackage {
"""
The name of the vulnerable package
The name of the vulnerable package.
"""
name: String
}
......@@ -29054,17 +29054,17 @@ Represents vulnerability letter grades with associated projects
"""
type VulnerableProjectsByGrade {
"""
Number of projects within this grade
Number of projects within this grade.
"""
count: Int!
"""
Grade based on the highest severity vulnerability present
Grade based on the highest severity vulnerability present.
"""
grade: VulnerabilityGrade!
"""
Projects within this grade
Projects within this grade.
"""
projects(
"""
......
......@@ -27890,7 +27890,7 @@
"inputFields": [
{
"name": "id",
"description": "The ID of the epic_issue or epic that is being moved",
"description": "The ID of the epic_issue or epic that is being moved.",
"type": {
"kind": "NON_NULL",
"name": null,
......@@ -27904,7 +27904,7 @@
},
{
"name": "adjacentReferenceId",
"description": "The ID of the epic_issue or issue that the actual epic or issue is switched with",
"description": "The ID of the epic_issue or issue that the actual epic or issue is switched with.",
"type": {
"kind": "SCALAR",
"name": "EpicTreeSortingID",
......@@ -27914,7 +27914,7 @@
},
{
"name": "relativePosition",
"description": "The type of the switch, after or before allowed",
"description": "The type of the switch, after or before allowed.",
"type": {
"kind": "ENUM",
"name": "MoveType",
......@@ -27924,7 +27924,7 @@
},
{
"name": "newParentId",
"description": "ID of the new parent epic",
"description": "ID of the new parent epic.",
"type": {
"kind": "SCALAR",
"name": "EpicID",
......@@ -28233,7 +28233,7 @@
"fields": [
{
"name": "createdAt",
"description": "Timestamp of when the issue was created",
"description": "Timestamp of when the issue was created.",
"args": [
],
......@@ -28247,7 +28247,7 @@
},
{
"name": "externalTracker",
"description": "Type of external tracker",
"description": "Type of external tracker.",
"args": [
],
......@@ -28261,7 +28261,7 @@
},
{
"name": "relativeReference",
"description": "Relative reference of the issue in the external tracker",
"description": "Relative reference of the issue in the external tracker.",
"args": [
],
......@@ -28275,7 +28275,7 @@
},
{
"name": "status",
"description": "Status of the issue in the external tracker",
"description": "Status of the issue in the external tracker.",
"args": [
],
......@@ -28289,7 +28289,7 @@
},
{
"name": "title",
"description": "Title of the issue in the external tracker",
"description": "Title of the issue in the external tracker.",
"args": [
],
......@@ -28303,7 +28303,7 @@
},
{
"name": "updatedAt",
"description": "Timestamp of when the issue was updated",
"description": "Timestamp of when the issue was updated.",
"args": [
],
......@@ -28317,7 +28317,7 @@
},
{
"name": "webUrl",
"description": "URL to the issue in the external tracker",
"description": "URL to the issue in the external tracker.",
"args": [
],
......@@ -28354,7 +28354,7 @@
"fields": [
{
"name": "containerRepositoriesMaxCapacity",
"description": "The maximum concurrency of container repository sync for this secondary node",
"description": "The maximum concurrency of container repository sync for this secondary node.",
"args": [
],
......@@ -28368,7 +28368,7 @@
},
{
"name": "enabled",
"description": "Indicates whether this Geo node is enabled",
"description": "Indicates whether this Geo node is enabled.",
"args": [
],
......@@ -28382,7 +28382,7 @@
},
{
"name": "filesMaxCapacity",
"description": "The maximum concurrency of LFS/attachment backfill for this secondary node",
"description": "The maximum concurrency of LFS/attachment backfill for this secondary node.",
"args": [
],
......@@ -28396,7 +28396,7 @@
},
{
"name": "id",
"description": "ID of this GeoNode",
"description": "ID of this GeoNode.",
"args": [
],
......@@ -28414,7 +28414,7 @@
},
{
"name": "internalUrl",
"description": "The URL defined on the primary node that secondary nodes should use to contact it",
"description": "The URL defined on the primary node that secondary nodes should use to contact it.",
"args": [
],
......@@ -28428,7 +28428,7 @@
},
{
"name": "mergeRequestDiffRegistries",
"description": "Find merge request diff registries on this Geo node",
"description": "Find merge request diff registries on this Geo node.",
"args": [
{
"name": "ids",
......@@ -28499,7 +28499,7 @@
},
{
"name": "minimumReverificationInterval",
"description": "The interval (in days) in which the repository verification is valid. Once expired, it will be reverified",
"description": "The interval (in days) in which the repository verification is valid. Once expired, it will be reverified.",
"args": [
],
......@@ -28513,7 +28513,7 @@
},
{
"name": "name",
"description": "The unique identifier for this Geo node",
"description": "The unique identifier for this Geo node.",
"args": [
],
......@@ -28527,7 +28527,7 @@
},
{
"name": "packageFileRegistries",
"description": "Package file registries of the GeoNode",
"description": "Package file registries of the GeoNode.",
"args": [
{
"name": "ids",
......@@ -28598,7 +28598,7 @@
},
{
"name": "primary",
"description": "Indicates whether this Geo node is the primary",
"description": "Indicates whether this Geo node is the primary.",
"args": [
],
......@@ -28612,7 +28612,7 @@
},
{
"name": "reposMaxCapacity",
"description": "The maximum concurrency of repository backfill for this secondary node",
"description": "The maximum concurrency of repository backfill for this secondary node.",
"args": [
],
......@@ -28626,7 +28626,7 @@
},
{
"name": "selectiveSyncNamespaces",
"description": "The namespaces that should be synced, if `selective_sync_type` == `namespaces`",
"description": "The namespaces that should be synced, if `selective_sync_type` == `namespaces`.",
"args": [
{
"name": "after",
......@@ -28679,7 +28679,7 @@
},
{
"name": "selectiveSyncShards",
"description": "The repository storages whose projects should be synced, if `selective_sync_type` == `shards`",
"description": "The repository storages whose projects should be synced, if `selective_sync_type` == `shards`.",
"args": [
],
......@@ -28701,7 +28701,7 @@
},
{
"name": "selectiveSyncType",
"description": "Indicates if syncing is limited to only specific groups, or shards",
"description": "Indicates if syncing is limited to only specific groups, or shards.",
"args": [
],
......@@ -28715,7 +28715,7 @@
},
{
"name": "snippetRepositoryRegistries",
"description": "Find snippet repository registries on this Geo node",
"description": "Find snippet repository registries on this Geo node.",
"args": [
{
"name": "ids",
......@@ -28786,7 +28786,7 @@
},
{
"name": "syncObjectStorage",
"description": "Indicates if this secondary node will replicate blobs in Object Storage",
"description": "Indicates if this secondary node will replicate blobs in Object Storage.",
"args": [
],
......@@ -28800,7 +28800,7 @@
},
{
"name": "terraformStateVersionRegistries",
"description": "Find terraform state version registries on this Geo node",
"description": "Find terraform state version registries on this Geo node.",
"args": [
{
"name": "ids",
......@@ -28871,7 +28871,7 @@
},
{
"name": "url",
"description": "The user-facing URL for this Geo node",
"description": "The user-facing URL for this Geo node.",
"args": [
],
......@@ -28885,7 +28885,7 @@
},
{
"name": "verificationMaxCapacity",
"description": "The maximum concurrency of repository verification for this secondary node",
"description": "The maximum concurrency of repository verification for this secondary node.",
"args": [
],
......@@ -32549,7 +32549,7 @@
"fields": [
{
"name": "releaseStats",
"description": "Statistics related to releases within the group",
"description": "Statistics related to releases within the group.",
"args": [
],
......@@ -33494,7 +33494,7 @@
"fields": [
{
"name": "description",
"description": "Description of the on-call schedule",
"description": "Description of the on-call schedule.",
"args": [
],
......@@ -33508,7 +33508,7 @@
},
{
"name": "iid",
"description": "Internal ID of the on-call schedule",
"description": "Internal ID of the on-call schedule.",
"args": [
],
......@@ -33526,7 +33526,7 @@
},
{
"name": "name",
"description": "Name of the on-call schedule",
"description": "Name of the on-call schedule.",
"args": [
],
......@@ -33544,7 +33544,7 @@
},
{
"name": "rotations",
"description": "On-call rotations for the on-call schedule",
"description": "On-call rotations for the on-call schedule.",
"args": [
{
"name": "after",
......@@ -33601,7 +33601,7 @@
},
{
"name": "timezone",
"description": "Time zone of the on-call schedule",
"description": "Time zone of the on-call schedule.",
"args": [
],
......@@ -33911,7 +33911,7 @@
"fields": [
{
"name": "projects",
"description": "Projects selected in Instance Security Dashboard",
"description": "Projects selected in Instance Security Dashboard.",
"args": [
{
"name": "after",
......@@ -33968,7 +33968,7 @@
},
{
"name": "vulnerabilityGrades",
"description": "Represents vulnerable project counts for each grade",
"description": "Represents vulnerable project counts for each grade.",
"args": [
],
......@@ -33994,7 +33994,7 @@
},
{
"name": "vulnerabilityScanners",
"description": "Vulnerability scanners reported on the vulnerabilities from projects selected in Instance Security Dashboard",
"description": "Vulnerability scanners reported on the vulnerabilities from projects selected in Instance Security Dashboard.",
"args": [
{
"name": "after",
......@@ -34047,7 +34047,7 @@
},
{
"name": "vulnerabilitySeveritiesCount",
"description": "Counts for each vulnerability severity from projects selected in Instance Security Dashboard",
"description": "Counts for each vulnerability severity from projects selected in Instance Security Dashboard.",
"args": [
{
"name": "projectId",
......@@ -37675,7 +37675,7 @@
"fields": [
{
"name": "createdAt",
"description": "Timestamp of iteration creation",
"description": "Timestamp of iteration creation.",
"args": [
],
......@@ -37693,7 +37693,7 @@
},
{
"name": "description",
"description": "Description of the iteration",
"description": "Description of the iteration.",
"args": [
],
......@@ -37721,7 +37721,7 @@
},
{
"name": "dueDate",
"description": "Timestamp of the iteration due date",
"description": "Timestamp of the iteration due date.",
"args": [
],
......@@ -37735,7 +37735,7 @@
},
{
"name": "id",
"description": "ID of the iteration",
"description": "ID of the iteration.",
"args": [
],
......@@ -37753,7 +37753,7 @@
},
{
"name": "iid",
"description": "Internal ID of the iteration",
"description": "Internal ID of the iteration.",
"args": [
],
......@@ -37771,7 +37771,7 @@
},
{
"name": "report",
"description": "Historically accurate report about the timebox",
"description": "Historically accurate report about the timebox.",
"args": [
],
......@@ -37785,7 +37785,7 @@
},
{
"name": "scopedPath",
"description": "Web path of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts",
"description": "Web path of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts.",
"args": [
],
......@@ -37799,7 +37799,7 @@
},
{
"name": "scopedUrl",
"description": "Web URL of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts",
"description": "Web URL of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts.",
"args": [
],
......@@ -37813,7 +37813,7 @@
},
{
"name": "startDate",
"description": "Timestamp of the iteration start date",
"description": "Timestamp of the iteration start date.",
"args": [
],
......@@ -37827,7 +37827,7 @@
},
{
"name": "state",
"description": "State of the iteration",
"description": "State of the iteration.",
"args": [
],
......@@ -37845,7 +37845,7 @@
},
{
"name": "title",
"description": "Title of the iteration",
"description": "Title of the iteration.",
"args": [
],
......@@ -37863,7 +37863,7 @@
},
{
"name": "updatedAt",
"description": "Timestamp of last iteration update",
"description": "Timestamp of last iteration update.",
"args": [
],
......@@ -37881,7 +37881,7 @@
},
{
"name": "webPath",
"description": "Web path of the iteration",
"description": "Web path of the iteration.",
"args": [
],
......@@ -37899,7 +37899,7 @@
},
{
"name": "webUrl",
"description": "Web URL of the iteration",
"description": "Web URL of the iteration.",
"args": [
],
......@@ -42209,7 +42209,7 @@
},
{
"name": "mergeRequestDiffId",
"description": "ID of the Merge Request diff",
"description": "ID of the Merge Request diff.",
"args": [
],
......@@ -43909,7 +43909,7 @@
"fields": [
{
"name": "fileName",
"description": "File name of the metric image",
"description": "File name of the metric image.",
"args": [
],
......@@ -43923,7 +43923,7 @@
},
{
"name": "filePath",
"description": "File path of the metric image",
"description": "File path of the metric image.",
"args": [
],
......@@ -43937,7 +43937,7 @@
},
{
"name": "id",
"description": "ID of the metric upload",
"description": "ID of the metric upload.",
"args": [
],
......@@ -43955,7 +43955,7 @@
},
{
"name": "iid",
"description": "Internal ID of the metric upload",
"description": "Internal ID of the metric upload.",
"args": [
],
......@@ -43973,7 +43973,7 @@
},
{
"name": "url",
"description": "URL of the metric source",
"description": "URL of the metric source.",
"args": [
],
......@@ -44439,7 +44439,7 @@
},
{
"name": "report",
"description": "Historically accurate report about the timebox",
"description": "Historically accurate report about the timebox.",
"args": [
],
......@@ -51940,7 +51940,7 @@
},
{
"name": "packageFileId",
"description": "ID of the PackageFile",
"description": "ID of the PackageFile.",
"args": [
],
......@@ -64636,7 +64636,7 @@
"fields": [
{
"name": "author",
"description": "Author of the requirement",
"description": "Author of the requirement.",
"args": [
],
......@@ -64654,7 +64654,7 @@
},
{
"name": "createdAt",
"description": "Timestamp of when the requirement was created",
"description": "Timestamp of when the requirement was created.",
"args": [
],
......@@ -64672,7 +64672,7 @@
},
{
"name": "description",
"description": "Description of the requirement",
"description": "Description of the requirement.",
"args": [
],
......@@ -64700,7 +64700,7 @@
},
{
"name": "id",
"description": "ID of the requirement",
"description": "ID of the requirement.",
"args": [
],
......@@ -64718,7 +64718,7 @@
},
{
"name": "iid",
"description": "Internal ID of the requirement",
"description": "Internal ID of the requirement.",
"args": [
],
......@@ -64736,7 +64736,7 @@
},
{
"name": "lastTestReportManuallyCreated",
"description": "Indicates if latest test report was created by user",
"description": "Indicates if latest test report was created by user.",
"args": [
],
......@@ -64750,7 +64750,7 @@
},
{
"name": "lastTestReportState",
"description": "Latest requirement test report state",
"description": "Latest requirement test report state.",
"args": [
],
......@@ -64764,7 +64764,7 @@
},
{
"name": "project",
"description": "Project to which the requirement belongs",
"description": "Project to which the requirement belongs.",
"args": [
],
......@@ -64782,7 +64782,7 @@
},
{
"name": "state",
"description": "State of the requirement",
"description": "State of the requirement.",
"args": [
],
......@@ -64800,7 +64800,7 @@
},
{
"name": "testReports",
"description": "Test reports of the requirement",
"description": "Test reports of the requirement.",
"args": [
{
"name": "sort",
......@@ -64863,7 +64863,7 @@
},
{
"name": "title",
"description": "Title of the requirement",
"description": "Title of the requirement.",
"args": [
],
......@@ -64891,7 +64891,7 @@
},
{
"name": "updatedAt",
"description": "Timestamp of when the requirement was last updated",
"description": "Timestamp of when the requirement was last updated.",
"args": [
],
......@@ -65178,7 +65178,7 @@
"fields": [
{
"name": "archived",
"description": "Number of archived requirements",
"description": "Number of archived requirements.",
"args": [
],
......@@ -65192,7 +65192,7 @@
},
{
"name": "opened",
"description": "Number of opened requirements",
"description": "Number of opened requirements.",
"args": [
],
......@@ -67185,7 +67185,7 @@
"fields": [
{
"name": "requestMethod",
"description": "The HTTP request method used to access the URL",
"description": "The HTTP request method used to access the URL.",
"args": [
],
......@@ -67199,7 +67199,7 @@
},
{
"name": "url",
"description": "The URL scanned by the scanner",
"description": "The URL scanned by the scanner.",
"args": [
],
......@@ -67449,7 +67449,7 @@
"fields": [
{
"name": "scannedResources",
"description": "A list of the first 20 scanned resources",
"description": "A list of the first 20 scanned resources.",
"args": [
{
"name": "after",
......@@ -67502,7 +67502,7 @@
},
{
"name": "scannedResourcesCount",
"description": "Total number of scanned resources",
"description": "Total number of scanned resources.",
"args": [
],
......@@ -67516,7 +67516,7 @@
},
{
"name": "scannedResourcesCsvPath",
"description": "Path to download all the scanned resources in CSV format",
"description": "Path to download all the scanned resources in CSV format.",
"args": [
],
......@@ -67530,7 +67530,7 @@
},
{
"name": "vulnerabilitiesCount",
"description": "Total number of vulnerabilities",
"description": "Total number of vulnerabilities.",
"args": [
],
......@@ -70880,7 +70880,7 @@
},
{
"name": "snippetRepositoryId",
"description": "ID of the Snippet Repository",
"description": "ID of the Snippet Repository.",
"args": [
],
......@@ -72259,7 +72259,7 @@
},
{
"name": "terraformStateVersionId",
"description": "ID of the terraform state version",
"description": "ID of the terraform state version.",
"args": [
],
......@@ -72402,7 +72402,7 @@
"fields": [
{
"name": "author",
"description": "Author of the test report",
"description": "Author of the test report.",
"args": [
],
......@@ -72416,7 +72416,7 @@
},
{
"name": "createdAt",
"description": "Timestamp of when the test report was created",
"description": "Timestamp of when the test report was created.",
"args": [
],
......@@ -72434,7 +72434,7 @@
},
{
"name": "id",
"description": "ID of the test report",
"description": "ID of the test report.",
"args": [
],
......@@ -72452,7 +72452,7 @@
},
{
"name": "state",
"description": "State of the test report",
"description": "State of the test report.",
"args": [
],
......@@ -72628,7 +72628,7 @@
"fields": [
{
"name": "complete",
"description": "Completed issues metrics",
"description": "Completed issues metrics.",
"args": [
],
......@@ -72642,7 +72642,7 @@
},
{
"name": "incomplete",
"description": "Incomplete issues metrics",
"description": "Incomplete issues metrics.",
"args": [
],
......@@ -72656,7 +72656,7 @@
},
{
"name": "total",
"description": "Total issues metrics",
"description": "Total issues metrics.",
"args": [
],
......@@ -72683,7 +72683,7 @@
"fields": [
{
"name": "count",
"description": "The count metric",
"description": "The count metric.",
"args": [
],
......@@ -72701,7 +72701,7 @@
},
{
"name": "weight",
"description": "The weight metric",
"description": "The weight metric.",
"args": [
],
......@@ -72732,7 +72732,7 @@
"fields": [
{
"name": "burnupTimeSeries",
"description": "Daily scope and completed totals for burnup charts",
"description": "Daily scope and completed totals for burnup charts.",
"args": [
],
......@@ -72754,7 +72754,7 @@
},
{
"name": "stats",
"description": "Represents the time report stats for the timebox",
"description": "Represents the time report stats for the timebox.",
"args": [
],
......@@ -72781,7 +72781,7 @@
"fields": [
{
"name": "report",
"description": "Historically accurate report about the timebox",
"description": "Historically accurate report about the timebox.",
"args": [
],
......@@ -72856,7 +72856,7 @@
"fields": [
{
"name": "issue",
"description": "The issue that logged time was added to",
"description": "The issue that logged time was added to.",
"args": [
],
......@@ -72870,7 +72870,7 @@
},
{
"name": "note",
"description": "The note where the quick action to add the logged time was executed",
"description": "The note where the quick action to add the logged time was executed.",
"args": [
],
......@@ -72884,7 +72884,7 @@
},
{
"name": "spentAt",
"description": "Timestamp of when the time tracked was spent at",
"description": "Timestamp of when the time tracked was spent at.",
"args": [
],
......@@ -72898,7 +72898,7 @@
},
{
"name": "timeSpent",
"description": "The time spent displayed in seconds",
"description": "The time spent displayed in seconds.",
"args": [
],
......@@ -72916,7 +72916,7 @@
},
{
"name": "user",
"description": "The user that logged the time",
"description": "The user that logged the time.",
"args": [
],
......@@ -78802,7 +78802,7 @@
},
{
"name": "date",
"description": "Date for the count",
"description": "Date for the count.",
"args": [
],
......@@ -78892,7 +78892,7 @@
},
{
"name": "total",
"description": "Total number of vulnerabilities on a particular day",
"description": "Total number of vulnerabilities on a particular day.",
"args": [
],
......@@ -78941,7 +78941,7 @@
"fields": [
{
"name": "count",
"description": "Number of vulnerabilities",
"description": "Number of vulnerabilities.",
"args": [
],
......@@ -78955,7 +78955,7 @@
},
{
"name": "day",
"description": "Date for the count",
"description": "Date for the count.",
"args": [
],
......@@ -78969,7 +78969,7 @@
},
{
"name": "severity",
"description": "Severity of the counted vulnerabilities",
"description": "Severity of the counted vulnerabilities.",
"args": [
],
......@@ -79230,7 +79230,7 @@
"fields": [
{
"name": "confirmedAt",
"description": "Timestamp of when the vulnerability state was changed to confirmed",
"description": "Timestamp of when the vulnerability state was changed to confirmed.",
"args": [
],
......@@ -79258,7 +79258,7 @@
},
{
"name": "description",
"description": "Description of the vulnerability",
"description": "Description of the vulnerability.",
"args": [
],
......@@ -79272,7 +79272,7 @@
},
{
"name": "details",
"description": "Details of the vulnerability",
"description": "Details of the vulnerability.",
"args": [
],
......@@ -79298,7 +79298,7 @@
},
{
"name": "detectedAt",
"description": "Timestamp of when the vulnerability was first detected",
"description": "Timestamp of when the vulnerability was first detected.",
"args": [
],
......@@ -79373,7 +79373,7 @@
},
{
"name": "dismissedAt",
"description": "Timestamp of when the vulnerability state was changed to dismissed",
"description": "Timestamp of when the vulnerability state was changed to dismissed.",
"args": [
],
......@@ -79401,7 +79401,7 @@
},
{
"name": "externalIssueLinks",
"description": "List of external issue links related to the vulnerability",
"description": "List of external issue links related to the vulnerability.",
"args": [
{
"name": "after",
......@@ -79472,7 +79472,7 @@
},
{
"name": "id",
"description": "GraphQL ID of the vulnerability",
"description": "GraphQL ID of the vulnerability.",
"args": [
],
......@@ -79516,7 +79516,7 @@
},
{
"name": "issueLinks",
"description": "List of issue links related to the vulnerability",
"description": "List of issue links related to the vulnerability.",
"args": [
{
"name": "linkType",
......@@ -79583,7 +79583,7 @@
},
{
"name": "location",
"description": "Location metadata for the vulnerability. Its fields depend on the type of security scan that found the vulnerability",
"description": "Location metadata for the vulnerability. Its fields depend on the type of security scan that found the vulnerability.",
"args": [
],
......@@ -79682,7 +79682,7 @@
},
{
"name": "project",
"description": "The project on which the vulnerability was found",
"description": "The project on which the vulnerability was found.",
"args": [
],
......@@ -79710,7 +79710,7 @@
},
{
"name": "resolvedAt",
"description": "Timestamp of when the vulnerability state was changed to resolved",
"description": "Timestamp of when the vulnerability state was changed to resolved.",
"args": [
],
......@@ -79738,7 +79738,7 @@
},
{
"name": "resolvedOnDefaultBranch",
"description": "Indicates whether the vulnerability is fixed on the default branch or not",
"description": "Indicates whether the vulnerability is fixed on the default branch or not.",
"args": [
],
......@@ -79798,7 +79798,7 @@
},
{
"name": "title",
"description": "Title of the vulnerability",
"description": "Title of the vulnerability.",
"args": [
],
......@@ -79812,7 +79812,7 @@
},
{
"name": "userNotesCount",
"description": "Number of user notes attached to the vulnerability",
"description": "Number of user notes attached to the vulnerability.",
"args": [
],
......@@ -79848,7 +79848,7 @@
},
{
"name": "vulnerabilityPath",
"description": "URL to the vulnerability's details page",
"description": "URL to the vulnerability's details page.",
"args": [
],
......@@ -81509,7 +81509,7 @@
"fields": [
{
"name": "externalIssue",
"description": "The external issue attached to the issue link",
"description": "The external issue attached to the issue link.",
"args": [
],
......@@ -81523,7 +81523,7 @@
},
{
"name": "id",
"description": "GraphQL ID of the external issue link",
"description": "GraphQL ID of the external issue link.",
"args": [
],
......@@ -81541,7 +81541,7 @@
},
{
"name": "linkType",
"description": "Type of the external issue link",
"description": "Type of the external issue link.",
"args": [
],
......@@ -81987,7 +81987,7 @@
"fields": [
{
"name": "externalId",
"description": "External ID of the vulnerability identifier",
"description": "External ID of the vulnerability identifier.",
"args": [
],
......@@ -82001,7 +82001,7 @@
},
{
"name": "externalType",
"description": "External type of the vulnerability identifier",
"description": "External type of the vulnerability identifier.",
"args": [
],
......@@ -82015,7 +82015,7 @@
},
{
"name": "name",
"description": "Name of the vulnerability identifier",
"description": "Name of the vulnerability identifier.",
"args": [
],
......@@ -82029,7 +82029,7 @@
},
{
"name": "url",
"description": "URL of the vulnerability identifier",
"description": "URL of the vulnerability identifier.",
"args": [
],
......@@ -82056,7 +82056,7 @@
"fields": [
{
"name": "id",
"description": "GraphQL ID of the vulnerability",
"description": "GraphQL ID of the vulnerability.",
"args": [
],
......@@ -82074,7 +82074,7 @@
},
{
"name": "issue",
"description": "The issue attached to issue link",
"description": "The issue attached to issue link.",
"args": [
],
......@@ -82092,7 +82092,7 @@
},
{
"name": "linkType",
"description": "Type of the issue link",
"description": "Type of the issue link.",
"args": [
],
......@@ -82299,7 +82299,7 @@
"fields": [
{
"name": "dependency",
"description": "Dependency containing the vulnerability",
"description": "Dependency containing the vulnerability.",
"args": [
],
......@@ -82313,7 +82313,7 @@
},
{
"name": "image",
"description": "Name of the vulnerable container image",
"description": "Name of the vulnerable container image.",
"args": [
],
......@@ -82327,7 +82327,7 @@
},
{
"name": "operatingSystem",
"description": "Operating system that runs on the vulnerable container image",
"description": "Operating system that runs on the vulnerable container image.",
"args": [
],
......@@ -82354,7 +82354,7 @@
"fields": [
{
"name": "blobPath",
"description": "Blob path to the vulnerable file",
"description": "Blob path to the vulnerable file.",
"args": [
],
......@@ -82368,7 +82368,7 @@
},
{
"name": "endLine",
"description": "Number of the last relevant line in the vulnerable file",
"description": "Number of the last relevant line in the vulnerable file.",
"args": [
],
......@@ -82382,7 +82382,7 @@
},
{
"name": "file",
"description": "Path to the vulnerable file",
"description": "Path to the vulnerable file.",
"args": [
],
......@@ -82396,7 +82396,7 @@
},
{
"name": "startLine",
"description": "Number of the first relevant line in the vulnerable file",
"description": "Number of the first relevant line in the vulnerable file.",
"args": [
],
......@@ -82410,7 +82410,7 @@
},
{
"name": "vulnerableClass",
"description": "Class containing the vulnerability",
"description": "Class containing the vulnerability.",
"args": [
],
......@@ -82424,7 +82424,7 @@
},
{
"name": "vulnerableMethod",
"description": "Method containing the vulnerability",
"description": "Method containing the vulnerability.",
"args": [
],
......@@ -82451,7 +82451,7 @@
"fields": [
{
"name": "hostname",
"description": "Domain name of the vulnerable request",
"description": "Domain name of the vulnerable request.",
"args": [
],
......@@ -82465,7 +82465,7 @@
},
{
"name": "param",
"description": "Query parameter for the URL on which the vulnerability occurred",
"description": "Query parameter for the URL on which the vulnerability occurred.",
"args": [
],
......@@ -82479,7 +82479,7 @@
},
{
"name": "path",
"description": "URL path and query string of the vulnerable request",
"description": "URL path and query string of the vulnerable request.",
"args": [
],
......@@ -82493,7 +82493,7 @@
},
{
"name": "requestMethod",
"description": "HTTP method of the vulnerable request",
"description": "HTTP method of the vulnerable request.",
"args": [
],
......@@ -82520,7 +82520,7 @@
"fields": [
{
"name": "blobPath",
"description": "Blob path to the vulnerable file",
"description": "Blob path to the vulnerable file.",
"args": [
],
......@@ -82534,7 +82534,7 @@
},
{
"name": "dependency",
"description": "Dependency containing the vulnerability",
"description": "Dependency containing the vulnerability.",
"args": [
],
......@@ -82548,7 +82548,7 @@
},
{
"name": "file",
"description": "Path to the vulnerable file",
"description": "Path to the vulnerable file.",
"args": [
],
......@@ -82575,7 +82575,7 @@
"fields": [
{
"name": "blobPath",
"description": "Blob path to the vulnerable file",
"description": "Blob path to the vulnerable file.",
"args": [
],
......@@ -82589,7 +82589,7 @@
},
{
"name": "endLine",
"description": "Number of the last relevant line in the vulnerable file",
"description": "Number of the last relevant line in the vulnerable file.",
"args": [
],
......@@ -82603,7 +82603,7 @@
},
{
"name": "file",
"description": "Path to the vulnerable file",
"description": "Path to the vulnerable file.",
"args": [
],
......@@ -82617,7 +82617,7 @@
},
{
"name": "startLine",
"description": "Number of the first relevant line in the vulnerable file",
"description": "Number of the first relevant line in the vulnerable file.",
"args": [
],
......@@ -82631,7 +82631,7 @@
},
{
"name": "vulnerableClass",
"description": "Class containing the vulnerability",
"description": "Class containing the vulnerability.",
"args": [
],
......@@ -82645,7 +82645,7 @@
},
{
"name": "vulnerableMethod",
"description": "Method containing the vulnerability",
"description": "Method containing the vulnerability.",
"args": [
],
......@@ -82672,7 +82672,7 @@
"fields": [
{
"name": "blobPath",
"description": "Blob path to the vulnerable file",
"description": "Blob path to the vulnerable file.",
"args": [
],
......@@ -82686,7 +82686,7 @@
},
{
"name": "endLine",
"description": "Number of the last relevant line in the vulnerable file",
"description": "Number of the last relevant line in the vulnerable file.",
"args": [
],
......@@ -82700,7 +82700,7 @@
},
{
"name": "file",
"description": "Path to the vulnerable file",
"description": "Path to the vulnerable file.",
"args": [
],
......@@ -82714,7 +82714,7 @@
},
{
"name": "startLine",
"description": "Number of the first relevant line in the vulnerable file",
"description": "Number of the first relevant line in the vulnerable file.",
"args": [
],
......@@ -82728,7 +82728,7 @@
},
{
"name": "vulnerableClass",
"description": "Class containing the vulnerability",
"description": "Class containing the vulnerability.",
"args": [
],
......@@ -82742,7 +82742,7 @@
},
{
"name": "vulnerableMethod",
"description": "Method containing the vulnerability",
"description": "Method containing the vulnerability.",
"args": [
],
......@@ -83201,7 +83201,7 @@
"fields": [
{
"name": "externalId",
"description": "External ID of the vulnerability scanner",
"description": "External ID of the vulnerability scanner.",
"args": [
],
......@@ -83215,7 +83215,7 @@
},
{
"name": "name",
"description": "Name of the vulnerability scanner",
"description": "Name of the vulnerability scanner.",
"args": [
],
......@@ -83229,7 +83229,7 @@
},
{
"name": "reportType",
"description": "Type of the vulnerability report",
"description": "Type of the vulnerability report.",
"args": [
],
......@@ -83243,7 +83243,7 @@
},
{
"name": "vendor",
"description": "Vendor of the vulnerability scanner",
"description": "Vendor of the vulnerability scanner.",
"args": [
],
......@@ -83632,7 +83632,7 @@
"fields": [
{
"name": "package",
"description": "The package associated with the vulnerable dependency",
"description": "The package associated with the vulnerable dependency.",
"args": [
],
......@@ -83646,7 +83646,7 @@
},
{
"name": "version",
"description": "The version of the vulnerable dependency",
"description": "The version of the vulnerable dependency.",
"args": [
],
......@@ -83673,7 +83673,7 @@
"fields": [
{
"name": "name",
"description": "The name of the vulnerable package",
"description": "The name of the vulnerable package.",
"args": [
],
......@@ -83700,7 +83700,7 @@
"fields": [
{
"name": "count",
"description": "Number of projects within this grade",
"description": "Number of projects within this grade.",
"args": [
],
......@@ -83718,7 +83718,7 @@
},
{
"name": "grade",
"description": "Grade based on the highest severity vulnerability present",
"description": "Grade based on the highest severity vulnerability present.",
"args": [
],
......@@ -83736,7 +83736,7 @@
},
{
"name": "projects",
"description": "Projects within this grade",
"description": "Projects within this grade.",
"args": [
{
"name": "after",
......@@ -1672,37 +1672,37 @@ Represents an external issue.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `createdAt` | Time | Timestamp of when the issue was created |
| `externalTracker` | String | Type of external tracker |
| `relativeReference` | String | Relative reference of the issue in the external tracker |
| `status` | String | Status of the issue in the external tracker |
| `title` | String | Title of the issue in the external tracker |
| `updatedAt` | Time | Timestamp of when the issue was updated |
| `webUrl` | String | URL to the issue in the external tracker |
| `createdAt` | Time | Timestamp of when the issue was created. |
| `externalTracker` | String | Type of external tracker. |
| `relativeReference` | String | Relative reference of the issue in the external tracker. |
| `status` | String | Status of the issue in the external tracker. |
| `title` | String | Title of the issue in the external tracker. |
| `updatedAt` | Time | Timestamp of when the issue was updated. |
| `webUrl` | String | URL to the issue in the external tracker. |
### GeoNode
| Field | Type | Description |
| ----- | ---- | ----------- |
| `containerRepositoriesMaxCapacity` | Int | The maximum concurrency of container repository sync for this secondary node |
| `enabled` | Boolean | Indicates whether this Geo node is enabled |
| `filesMaxCapacity` | Int | The maximum concurrency of LFS/attachment backfill for this secondary node |
| `id` | ID! | ID of this GeoNode |
| `internalUrl` | String | The URL defined on the primary node that secondary nodes should use to contact it |
| `mergeRequestDiffRegistries` | MergeRequestDiffRegistryConnection | Find merge request diff registries on this Geo node |
| `minimumReverificationInterval` | Int | The interval (in days) in which the repository verification is valid. Once expired, it will be reverified |
| `name` | String | The unique identifier for this Geo node |
| `packageFileRegistries` | PackageFileRegistryConnection | Package file registries of the GeoNode |
| `primary` | Boolean | Indicates whether this Geo node is the primary |
| `reposMaxCapacity` | Int | The maximum concurrency of repository backfill for this secondary node |
| `selectiveSyncNamespaces` | NamespaceConnection | The namespaces that should be synced, if `selective_sync_type` == `namespaces` |
| `selectiveSyncShards` | String! => Array | The repository storages whose projects should be synced, if `selective_sync_type` == `shards` |
| `selectiveSyncType` | String | Indicates if syncing is limited to only specific groups, or shards |
| `snippetRepositoryRegistries` | SnippetRepositoryRegistryConnection | Find snippet repository registries on this Geo node |
| `syncObjectStorage` | Boolean | Indicates if this secondary node will replicate blobs in Object Storage |
| `terraformStateVersionRegistries` | TerraformStateVersionRegistryConnection | Find terraform state version registries on this Geo node |
| `url` | String | The user-facing URL for this Geo node |
| `verificationMaxCapacity` | Int | The maximum concurrency of repository verification for this secondary node |
| `containerRepositoriesMaxCapacity` | Int | The maximum concurrency of container repository sync for this secondary node. |
| `enabled` | Boolean | Indicates whether this Geo node is enabled. |
| `filesMaxCapacity` | Int | The maximum concurrency of LFS/attachment backfill for this secondary node. |
| `id` | ID! | ID of this GeoNode. |
| `internalUrl` | String | The URL defined on the primary node that secondary nodes should use to contact it. |
| `mergeRequestDiffRegistries` | MergeRequestDiffRegistryConnection | Find merge request diff registries on this Geo node. |
| `minimumReverificationInterval` | Int | The interval (in days) in which the repository verification is valid. Once expired, it will be reverified. |
| `name` | String | The unique identifier for this Geo node. |
| `packageFileRegistries` | PackageFileRegistryConnection | Package file registries of the GeoNode. |
| `primary` | Boolean | Indicates whether this Geo node is the primary. |
| `reposMaxCapacity` | Int | The maximum concurrency of repository backfill for this secondary node. |
| `selectiveSyncNamespaces` | NamespaceConnection | The namespaces that should be synced, if `selective_sync_type` == `namespaces`. |
| `selectiveSyncShards` | String! => Array | The repository storages whose projects should be synced, if `selective_sync_type` == `shards`. |
| `selectiveSyncType` | String | Indicates if syncing is limited to only specific groups, or shards. |
| `snippetRepositoryRegistries` | SnippetRepositoryRegistryConnection | Find snippet repository registries on this Geo node. |
| `syncObjectStorage` | Boolean | Indicates if this secondary node will replicate blobs in Object Storage. |
| `terraformStateVersionRegistries` | TerraformStateVersionRegistryConnection | Find terraform state version registries on this Geo node. |
| `url` | String | The user-facing URL for this Geo node. |
| `verificationMaxCapacity` | Int | The maximum concurrency of repository verification for this secondary node. |
### GitlabSubscriptionActivatePayload
......@@ -1827,7 +1827,7 @@ Contains statistics about a group.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `releaseStats` | GroupReleaseStats | Statistics related to releases within the group |
| `releaseStats` | GroupReleaseStats | Statistics related to releases within the group. |
### HttpIntegrationCreatePayload
......@@ -1889,11 +1889,11 @@ Describes an incident management on-call schedule.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `description` | String | Description of the on-call schedule |
| `iid` | ID! | Internal ID of the on-call schedule |
| `name` | String! | Name of the on-call schedule |
| `rotations` | IncidentManagementOncallRotationConnection! | On-call rotations for the on-call schedule |
| `timezone` | String! | Time zone of the on-call schedule |
| `description` | String | Description of the on-call schedule. |
| `iid` | ID! | Internal ID of the on-call schedule. |
| `name` | String! | Name of the on-call schedule. |
| `rotations` | IncidentManagementOncallRotationConnection! | On-call rotations for the on-call schedule. |
| `timezone` | String! | Time zone of the on-call schedule. |
### IncidentManagementOncallShift
......@@ -1909,10 +1909,10 @@ A block of time for which a participant is on-call..
| Field | Type | Description |
| ----- | ---- | ----------- |
| `projects` | ProjectConnection! | Projects selected in Instance Security Dashboard |
| `vulnerabilityGrades` | VulnerableProjectsByGrade! => Array | Represents vulnerable project counts for each grade |
| `vulnerabilityScanners` | VulnerabilityScannerConnection | Vulnerability scanners reported on the vulnerabilities from projects selected in Instance Security Dashboard |
| `vulnerabilitySeveritiesCount` | VulnerabilitySeveritiesCount | Counts for each vulnerability severity from projects selected in Instance Security Dashboard |
| `projects` | ProjectConnection! | Projects selected in Instance Security Dashboard. |
| `vulnerabilityGrades` | VulnerableProjectsByGrade! => Array | Represents vulnerable project counts for each grade. |
| `vulnerabilityScanners` | VulnerabilityScannerConnection | Vulnerability scanners reported on the vulnerabilities from projects selected in Instance Security Dashboard. |
| `vulnerabilitySeveritiesCount` | VulnerabilitySeveritiesCount | Counts for each vulnerability severity from projects selected in Instance Security Dashboard. |
### InstanceStatisticsMeasurement
......@@ -2124,21 +2124,21 @@ Represents an iteration object.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `createdAt` | Time! | Timestamp of iteration creation |
| `description` | String | Description of the iteration |
| `createdAt` | Time! | Timestamp of iteration creation. |
| `description` | String | Description of the iteration. |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `dueDate` | Time | Timestamp of the iteration due date |
| `id` | ID! | ID of the iteration |
| `iid` | ID! | Internal ID of the iteration |
| `report` | TimeboxReport | Historically accurate report about the timebox |
| `scopedPath` | String | Web path of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts |
| `scopedUrl` | String | Web URL of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts |
| `startDate` | Time | Timestamp of the iteration start date |
| `state` | IterationState! | State of the iteration |
| `title` | String! | Title of the iteration |
| `updatedAt` | Time! | Timestamp of last iteration update |
| `webPath` | String! | Web path of the iteration |
| `webUrl` | String! | Web URL of the iteration |
| `dueDate` | Time | Timestamp of the iteration due date. |
| `id` | ID! | ID of the iteration. |
| `iid` | ID! | Internal ID of the iteration. |
| `report` | TimeboxReport | Historically accurate report about the timebox. |
| `scopedPath` | String | Web path of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts. |
| `scopedUrl` | String | Web URL of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts. |
| `startDate` | Time | Timestamp of the iteration start date. |
| `state` | IterationState! | State of the iteration. |
| `title` | String! | Title of the iteration. |
| `updatedAt` | Time! | Timestamp of last iteration update. |
| `webPath` | String! | Web path of the iteration. |
| `webUrl` | String! | Web URL of the iteration. |
### JiraImport
......@@ -2337,7 +2337,7 @@ Represents the Geo sync and verification state of a Merge Request diff.
| `id` | ID! | ID of the MergeRequestDiffRegistry |
| `lastSyncFailure` | String | Error message during sync of the MergeRequestDiffRegistry |
| `lastSyncedAt` | Time | Timestamp of the most recent successful sync of the MergeRequestDiffRegistry |
| `mergeRequestDiffId` | ID! | ID of the Merge Request diff |
| `mergeRequestDiffId` | ID! | ID of the Merge Request diff. |
| `retryAt` | Time | Timestamp after which the MergeRequestDiffRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the MergeRequestDiffRegistry |
| `state` | RegistryState | Sync state of the MergeRequestDiffRegistry |
......@@ -2451,11 +2451,11 @@ Represents a metric image upload.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `fileName` | String | File name of the metric image |
| `filePath` | String | File path of the metric image |
| `id` | ID! | ID of the metric upload |
| `iid` | ID! | Internal ID of the metric upload |
| `url` | String! | URL of the metric source |
| `fileName` | String | File name of the metric image. |
| `filePath` | String | File path of the metric image. |
| `id` | ID! | ID of the metric upload. |
| `iid` | ID! | Internal ID of the metric upload. |
| `url` | String! | URL of the metric source. |
### MetricsDashboard
......@@ -2487,7 +2487,7 @@ Represents a milestone.
| `groupMilestone` | Boolean! | Indicates if milestone is at group level. |
| `id` | ID! | ID of the milestone. |
| `projectMilestone` | Boolean! | Indicates if milestone is at project level. |
| `report` | TimeboxReport | Historically accurate report about the timebox |
| `report` | TimeboxReport | Historically accurate report about the timebox. |
| `startDate` | Time | Timestamp of the milestone start date. |
| `state` | MilestoneStateEnum! | State of the milestone. |
| `stats` | MilestoneStats | Milestone statistics. |
......@@ -2677,7 +2677,7 @@ Represents the Geo sync and verification state of a package file.
| `id` | ID! | ID of the PackageFileRegistry |
| `lastSyncFailure` | String | Error message during sync of the PackageFileRegistry |
| `lastSyncedAt` | Time | Timestamp of the most recent successful sync of the PackageFileRegistry |
| `packageFileId` | ID! | ID of the PackageFile |
| `packageFileId` | ID! | ID of the PackageFile. |
| `retryAt` | Time | Timestamp after which the PackageFileRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the PackageFileRegistry |
| `state` | RegistryState | Sync state of the PackageFileRegistry |
......@@ -3212,20 +3212,20 @@ Represents a requirement.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `author` | User! | Author of the requirement |
| `createdAt` | Time! | Timestamp of when the requirement was created |
| `description` | String | Description of the requirement |
| `author` | User! | Author of the requirement. |
| `createdAt` | Time! | Timestamp of when the requirement was created. |
| `description` | String | Description of the requirement. |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `id` | ID! | ID of the requirement |
| `iid` | ID! | Internal ID of the requirement |
| `lastTestReportManuallyCreated` | Boolean | Indicates if latest test report was created by user |
| `lastTestReportState` | TestReportState | Latest requirement test report state |
| `project` | Project! | Project to which the requirement belongs |
| `state` | RequirementState! | State of the requirement |
| `testReports` | TestReportConnection | Test reports of the requirement |
| `title` | String | Title of the requirement |
| `id` | ID! | ID of the requirement. |
| `iid` | ID! | Internal ID of the requirement. |
| `lastTestReportManuallyCreated` | Boolean | Indicates if latest test report was created by user. |
| `lastTestReportState` | TestReportState | Latest requirement test report state. |
| `project` | Project! | Project to which the requirement belongs. |
| `state` | RequirementState! | State of the requirement. |
| `testReports` | TestReportConnection | Test reports of the requirement. |
| `title` | String | Title of the requirement. |
| `titleHtml` | String | The GitLab Flavored Markdown rendering of `title` |
| `updatedAt` | Time! | Timestamp of when the requirement was last updated |
| `updatedAt` | Time! | Timestamp of when the requirement was last updated. |
| `userPermissions` | RequirementPermissions! | Permissions for the current user on the resource |
### RequirementPermissions
......@@ -3246,8 +3246,8 @@ Counts of requirements by their state.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `archived` | Int | Number of archived requirements |
| `opened` | Int | Number of opened requirements |
| `archived` | Int | Number of archived requirements. |
| `opened` | Int | Number of opened requirements. |
### RevertVulnerabilityToDetectedPayload
......@@ -3357,8 +3357,8 @@ Represents a resource scanned by a security scan.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `requestMethod` | String | The HTTP request method used to access the URL |
| `url` | String | The URL scanned by the scanner |
| `requestMethod` | String | The HTTP request method used to access the URL. |
| `url` | String | The URL scanned by the scanner. |
### SecurityReportSummary
......@@ -3380,10 +3380,10 @@ Represents a section of a summary of a security report.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `scannedResources` | ScannedResourceConnection | A list of the first 20 scanned resources |
| `scannedResourcesCount` | Int | Total number of scanned resources |
| `scannedResourcesCsvPath` | String | Path to download all the scanned resources in CSV format |
| `vulnerabilitiesCount` | Int | Total number of vulnerabilities |
| `scannedResources` | ScannedResourceConnection | A list of the first 20 scanned resources. |
| `scannedResourcesCount` | Int | Total number of scanned resources. |
| `scannedResourcesCsvPath` | String | Path to download all the scanned resources in CSV format. |
| `vulnerabilitiesCount` | Int | Total number of vulnerabilities. |
### SecurityScanners
......@@ -3594,7 +3594,7 @@ Represents the Geo sync and verification state of a snippet repository.
| `lastSyncedAt` | Time | Timestamp of the most recent successful sync of the SnippetRepositoryRegistry |
| `retryAt` | Time | Timestamp after which the SnippetRepositoryRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the SnippetRepositoryRegistry |
| `snippetRepositoryId` | ID! | ID of the Snippet Repository |
| `snippetRepositoryId` | ID! | ID of the Snippet Repository. |
| `state` | RegistryState | Sync state of the SnippetRepositoryRegistry |
### StatusAction
......@@ -3693,7 +3693,7 @@ Represents the Geo sync and verification state of a terraform state version.
| `retryAt` | Time | Timestamp after which the TerraformStateVersionRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the TerraformStateVersionRegistry |
| `state` | RegistryState | Sync state of the TerraformStateVersionRegistry |
| `terraformStateVersionId` | ID! | ID of the terraform state version |
| `terraformStateVersionId` | ID! | ID of the terraform state version. |
### TestReport
......@@ -3701,10 +3701,10 @@ Represents a requirement test report.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `author` | User | Author of the test report |
| `createdAt` | Time! | Timestamp of when the test report was created |
| `id` | ID! | ID of the test report |
| `state` | TestReportState! | State of the test report |
| `author` | User | Author of the test report. |
| `createdAt` | Time! | Timestamp of when the test report was created. |
| `id` | ID! | ID of the test report. |
| `state` | TestReportState! | State of the test report. |
### TimeReportStats
......@@ -3712,9 +3712,9 @@ Represents the time report stats for timeboxes.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `complete` | TimeboxMetrics | Completed issues metrics |
| `incomplete` | TimeboxMetrics | Incomplete issues metrics |
| `total` | TimeboxMetrics | Total issues metrics |
| `complete` | TimeboxMetrics | Completed issues metrics. |
| `incomplete` | TimeboxMetrics | Incomplete issues metrics. |
| `total` | TimeboxMetrics | Total issues metrics. |
### TimeboxMetrics
......@@ -3722,8 +3722,8 @@ Represents measured stats metrics for timeboxes.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `count` | Int! | The count metric |
| `weight` | Int! | The weight metric |
| `count` | Int! | The count metric. |
| `weight` | Int! | The weight metric. |
### TimeboxReport
......@@ -3731,18 +3731,18 @@ Represents a historically accurate report about the timebox.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `burnupTimeSeries` | BurnupChartDailyTotals! => Array | Daily scope and completed totals for burnup charts |
| `stats` | TimeReportStats | Represents the time report stats for the timebox |
| `burnupTimeSeries` | BurnupChartDailyTotals! => Array | Daily scope and completed totals for burnup charts. |
| `stats` | TimeReportStats | Represents the time report stats for the timebox. |
### Timelog
| Field | Type | Description |
| ----- | ---- | ----------- |
| `issue` | Issue | The issue that logged time was added to |
| `note` | Note | The note where the quick action to add the logged time was executed |
| `spentAt` | Time | Timestamp of when the time tracked was spent at |
| `timeSpent` | Int! | The time spent displayed in seconds |
| `user` | User! | The user that logged the time |
| `issue` | Issue | The issue that logged time was added to. |
| `note` | Note | The note where the quick action to add the logged time was executed. |
| `spentAt` | Time | Timestamp of when the time tracked was spent at. |
| `timeSpent` | Int! | The time spent displayed in seconds. |
| `user` | User! | The user that logged the time. |
### Todo
......@@ -4051,12 +4051,12 @@ Represents the count of vulnerabilities by severity on a particular day. This da
| Field | Type | Description |
| ----- | ---- | ----------- |
| `critical` | Int! | Total number of vulnerabilities on a particular day with critical severity |
| `date` | ISO8601Date! | Date for the count |
| `date` | ISO8601Date! | Date for the count. |
| `high` | Int! | Total number of vulnerabilities on a particular day with high severity |
| `info` | Int! | Total number of vulnerabilities on a particular day with info severity |
| `low` | Int! | Total number of vulnerabilities on a particular day with low severity |
| `medium` | Int! | Total number of vulnerabilities on a particular day with medium severity |
| `total` | Int! | Total number of vulnerabilities on a particular day |
| `total` | Int! | Total number of vulnerabilities on a particular day. |
| `unknown` | Int! | Total number of vulnerabilities on a particular day with unknown severity |
### VulnerabilitiesCountByDayAndSeverity
......@@ -4065,9 +4065,9 @@ Represents the number of vulnerabilities for a particular severity on a particul
| Field | Type | Description |
| ----- | ---- | ----------- |
| `count` | Int | Number of vulnerabilities |
| `day` | ISO8601Date | Date for the count |
| `severity` | VulnerabilitySeverity | Severity of the counted vulnerabilities |
| `count` | Int | Number of vulnerabilities. |
| `day` | ISO8601Date | Date for the count. |
| `severity` | VulnerabilitySeverity | Severity of the counted vulnerabilities. |
### Vulnerability
......@@ -4075,35 +4075,35 @@ Represents a vulnerability.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `confirmedAt` | Time | Timestamp of when the vulnerability state was changed to confirmed |
| `confirmedAt` | Time | Timestamp of when the vulnerability state was changed to confirmed. |
| `confirmedBy` | User | The user that confirmed the vulnerability. |
| `description` | String | Description of the vulnerability |
| `details` | VulnerabilityDetail! => Array | Details of the vulnerability |
| `detectedAt` | Time! | Timestamp of when the vulnerability was first detected |
| `description` | String | Description of the vulnerability. |
| `details` | VulnerabilityDetail! => Array | Details of the vulnerability. |
| `detectedAt` | Time! | Timestamp of when the vulnerability was first detected. |
| `discussions` | DiscussionConnection! | All discussions on this noteable. |
| `dismissedAt` | Time | Timestamp of when the vulnerability state was changed to dismissed |
| `dismissedAt` | Time | Timestamp of when the vulnerability state was changed to dismissed. |
| `dismissedBy` | User | The user that dismissed the vulnerability. |
| `externalIssueLinks` | VulnerabilityExternalIssueLinkConnection! | List of external issue links related to the vulnerability |
| `externalIssueLinks` | VulnerabilityExternalIssueLinkConnection! | List of external issue links related to the vulnerability. |
| `hasSolutions` | Boolean | Indicates whether there is a solution available for this vulnerability. |
| `id` | ID! | GraphQL ID of the vulnerability |
| `id` | ID! | GraphQL ID of the vulnerability. |
| `identifiers` | VulnerabilityIdentifier! => Array | Identifiers of the vulnerability. |
| `issueLinks` | VulnerabilityIssueLinkConnection! | List of issue links related to the vulnerability |
| `location` | VulnerabilityLocation | Location metadata for the vulnerability. Its fields depend on the type of security scan that found the vulnerability |
| `issueLinks` | VulnerabilityIssueLinkConnection! | List of issue links related to the vulnerability. |
| `location` | VulnerabilityLocation | Location metadata for the vulnerability. Its fields depend on the type of security scan that found the vulnerability. |
| `mergeRequest` | MergeRequest | Merge request that fixes the vulnerability. |
| `notes` | NoteConnection! | All notes on this noteable. |
| `primaryIdentifier` | VulnerabilityIdentifier | Primary identifier of the vulnerability. |
| `project` | Project | The project on which the vulnerability was found |
| `project` | Project | The project on which the vulnerability was found. |
| `reportType` | VulnerabilityReportType | Type of the security report that found the vulnerability (SAST, DEPENDENCY_SCANNING, CONTAINER_SCANNING, DAST, SECRET_DETECTION, COVERAGE_FUZZING, API_FUZZING) |
| `resolvedAt` | Time | Timestamp of when the vulnerability state was changed to resolved |
| `resolvedAt` | Time | Timestamp of when the vulnerability state was changed to resolved. |
| `resolvedBy` | User | The user that resolved the vulnerability. |
| `resolvedOnDefaultBranch` | Boolean! | Indicates whether the vulnerability is fixed on the default branch or not |
| `resolvedOnDefaultBranch` | Boolean! | Indicates whether the vulnerability is fixed on the default branch or not. |
| `scanner` | VulnerabilityScanner | Scanner metadata for the vulnerability. |
| `severity` | VulnerabilitySeverity | Severity of the vulnerability (INFO, UNKNOWN, LOW, MEDIUM, HIGH, CRITICAL) |
| `state` | VulnerabilityState | State of the vulnerability (DETECTED, CONFIRMED, RESOLVED, DISMISSED) |
| `title` | String | Title of the vulnerability |
| `userNotesCount` | Int! | Number of user notes attached to the vulnerability |
| `title` | String | Title of the vulnerability. |
| `userNotesCount` | Int! | Number of user notes attached to the vulnerability. |
| `userPermissions` | VulnerabilityPermissions! | Permissions for the current user on the resource |
| `vulnerabilityPath` | String | URL to the vulnerability's details page |
| `vulnerabilityPath` | String | URL to the vulnerability's details page. |
### VulnerabilityConfirmPayload
......@@ -4280,9 +4280,9 @@ Represents an external issue link of a vulnerability.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `externalIssue` | ExternalIssue | The external issue attached to the issue link |
| `id` | VulnerabilitiesExternalIssueLinkID! | GraphQL ID of the external issue link |
| `linkType` | VulnerabilityExternalIssueLinkType! | Type of the external issue link |
| `externalIssue` | ExternalIssue | The external issue attached to the issue link. |
| `id` | VulnerabilitiesExternalIssueLinkID! | GraphQL ID of the external issue link. |
| `linkType` | VulnerabilityExternalIssueLinkType! | Type of the external issue link. |
### VulnerabilityExternalIssueLinkCreatePayload
......@@ -4309,10 +4309,10 @@ Represents a vulnerability identifier.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `externalId` | String | External ID of the vulnerability identifier |
| `externalType` | String | External type of the vulnerability identifier |
| `name` | String | Name of the vulnerability identifier |
| `url` | String | URL of the vulnerability identifier |
| `externalId` | String | External ID of the vulnerability identifier. |
| `externalType` | String | External type of the vulnerability identifier. |
| `name` | String | Name of the vulnerability identifier. |
| `url` | String | URL of the vulnerability identifier. |
### VulnerabilityIssueLink
......@@ -4320,9 +4320,9 @@ Represents an issue link of a vulnerability.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `id` | ID! | GraphQL ID of the vulnerability |
| `issue` | Issue! | The issue attached to issue link |
| `linkType` | VulnerabilityIssueLinkType! | Type of the issue link |
| `id` | ID! | GraphQL ID of the vulnerability. |
| `issue` | Issue! | The issue attached to issue link. |
| `linkType` | VulnerabilityIssueLinkType! | Type of the issue link. |
### VulnerabilityLocationContainerScanning
......@@ -4330,9 +4330,9 @@ Represents the location of a vulnerability found by a container security scan.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `dependency` | VulnerableDependency | Dependency containing the vulnerability |
| `image` | String | Name of the vulnerable container image |
| `operatingSystem` | String | Operating system that runs on the vulnerable container image |
| `dependency` | VulnerableDependency | Dependency containing the vulnerability. |
| `image` | String | Name of the vulnerable container image. |
| `operatingSystem` | String | Operating system that runs on the vulnerable container image. |
### VulnerabilityLocationCoverageFuzzing
......@@ -4340,12 +4340,12 @@ Represents the location of a vulnerability found by a Coverage Fuzzing scan.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `blobPath` | String | Blob path to the vulnerable file |
| `endLine` | String | Number of the last relevant line in the vulnerable file |
| `file` | String | Path to the vulnerable file |
| `startLine` | String | Number of the first relevant line in the vulnerable file |
| `vulnerableClass` | String | Class containing the vulnerability |
| `vulnerableMethod` | String | Method containing the vulnerability |
| `blobPath` | String | Blob path to the vulnerable file. |
| `endLine` | String | Number of the last relevant line in the vulnerable file. |
| `file` | String | Path to the vulnerable file. |
| `startLine` | String | Number of the first relevant line in the vulnerable file. |
| `vulnerableClass` | String | Class containing the vulnerability. |
| `vulnerableMethod` | String | Method containing the vulnerability. |
### VulnerabilityLocationDast
......@@ -4353,10 +4353,10 @@ Represents the location of a vulnerability found by a DAST scan.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `hostname` | String | Domain name of the vulnerable request |
| `param` | String | Query parameter for the URL on which the vulnerability occurred |
| `path` | String | URL path and query string of the vulnerable request |
| `requestMethod` | String | HTTP method of the vulnerable request |
| `hostname` | String | Domain name of the vulnerable request. |
| `param` | String | Query parameter for the URL on which the vulnerability occurred. |
| `path` | String | URL path and query string of the vulnerable request. |
| `requestMethod` | String | HTTP method of the vulnerable request. |
### VulnerabilityLocationDependencyScanning
......@@ -4364,9 +4364,9 @@ Represents the location of a vulnerability found by a dependency security scan.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `blobPath` | String | Blob path to the vulnerable file |
| `dependency` | VulnerableDependency | Dependency containing the vulnerability |
| `file` | String | Path to the vulnerable file |
| `blobPath` | String | Blob path to the vulnerable file. |
| `dependency` | VulnerableDependency | Dependency containing the vulnerability. |
| `file` | String | Path to the vulnerable file. |
### VulnerabilityLocationSast
......@@ -4374,12 +4374,12 @@ Represents the location of a vulnerability found by a SAST scan.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `blobPath` | String | Blob path to the vulnerable file |
| `endLine` | String | Number of the last relevant line in the vulnerable file |
| `file` | String | Path to the vulnerable file |
| `startLine` | String | Number of the first relevant line in the vulnerable file |
| `vulnerableClass` | String | Class containing the vulnerability |
| `vulnerableMethod` | String | Method containing the vulnerability |
| `blobPath` | String | Blob path to the vulnerable file. |
| `endLine` | String | Number of the last relevant line in the vulnerable file. |
| `file` | String | Path to the vulnerable file. |
| `startLine` | String | Number of the first relevant line in the vulnerable file. |
| `vulnerableClass` | String | Class containing the vulnerability. |
| `vulnerableMethod` | String | Method containing the vulnerability. |
### VulnerabilityLocationSecretDetection
......@@ -4387,12 +4387,12 @@ Represents the location of a vulnerability found by a secret detection scan.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `blobPath` | String | Blob path to the vulnerable file |
| `endLine` | String | Number of the last relevant line in the vulnerable file |
| `file` | String | Path to the vulnerable file |
| `startLine` | String | Number of the first relevant line in the vulnerable file |
| `vulnerableClass` | String | Class containing the vulnerability |
| `vulnerableMethod` | String | Method containing the vulnerability |
| `blobPath` | String | Blob path to the vulnerable file. |
| `endLine` | String | Number of the last relevant line in the vulnerable file. |
| `file` | String | Path to the vulnerable file. |
| `startLine` | String | Number of the first relevant line in the vulnerable file. |
| `vulnerableClass` | String | Class containing the vulnerability. |
| `vulnerableMethod` | String | Method containing the vulnerability. |
### VulnerabilityPermissions
......@@ -4436,10 +4436,10 @@ Represents a vulnerability scanner.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `externalId` | String | External ID of the vulnerability scanner |
| `name` | String | Name of the vulnerability scanner |
| `reportType` | VulnerabilityReportType | Type of the vulnerability report |
| `vendor` | String | Vendor of the vulnerability scanner |
| `externalId` | String | External ID of the vulnerability scanner. |
| `name` | String | Name of the vulnerability scanner. |
| `reportType` | VulnerabilityReportType | Type of the vulnerability report. |
| `vendor` | String | Vendor of the vulnerability scanner. |
### VulnerabilitySeveritiesCount
......@@ -4460,8 +4460,8 @@ Represents a vulnerable dependency. Used in vulnerability location data.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `package` | VulnerablePackage | The package associated with the vulnerable dependency |
| `version` | String | The version of the vulnerable dependency |
| `package` | VulnerablePackage | The package associated with the vulnerable dependency. |
| `version` | String | The version of the vulnerable dependency. |
### VulnerablePackage
......@@ -4469,7 +4469,7 @@ Represents a vulnerable package. Used in vulnerability dependency data.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `name` | String | The name of the vulnerable package |
| `name` | String | The name of the vulnerable package. |
### VulnerableProjectsByGrade
......@@ -4477,9 +4477,9 @@ Represents vulnerability letter grades with associated projects.
| Field | Type | Description |
| ----- | ---- | ----------- |
| `count` | Int! | Number of projects within this grade |
| `grade` | VulnerabilityGrade! | Grade based on the highest severity vulnerability present |
| `projects` | ProjectConnection! | Projects within this grade |
| `count` | Int! | Number of projects within this grade. |
| `grade` | VulnerabilityGrade! | Grade based on the highest severity vulnerability present. |
| `projects` | ProjectConnection! | Projects within this grade. |
## Enumeration types
......
......@@ -10,22 +10,22 @@ module Types
argument :id,
::Types::GlobalIDType[::EpicTreeSorting],
required: true,
description: 'The ID of the epic_issue or epic that is being moved'
description: 'The ID of the epic_issue or epic that is being moved.'
argument :adjacent_reference_id,
::Types::GlobalIDType[::EpicTreeSorting],
required: false,
description: 'The ID of the epic_issue or issue that the actual epic or issue is switched with'
description: 'The ID of the epic_issue or issue that the actual epic or issue is switched with.'
argument :relative_position,
MoveTypeEnum,
required: false,
description: 'The type of the switch, after or before allowed'
description: 'The type of the switch, after or before allowed.'
argument :new_parent_id,
::Types::GlobalIDType[::Epic],
required: false,
description: 'ID of the new parent epic'
description: 'ID of the new parent epic.'
end
# rubocop: enable Graphql/AuthorizeTypes
end
......
......@@ -7,25 +7,25 @@ module Types
description 'Represents an external issue'
field :title, GraphQL::STRING_TYPE, null: true,
description: 'Title of the issue in the external tracker'
description: 'Title of the issue in the external tracker.'
field :relative_reference, GraphQL::STRING_TYPE, null: true,
description: 'Relative reference of the issue in the external tracker'
description: 'Relative reference of the issue in the external tracker.'
field :status, GraphQL::STRING_TYPE, null: true,
description: 'Status of the issue in the external tracker'
description: 'Status of the issue in the external tracker.'
field :external_tracker, GraphQL::STRING_TYPE, null: true,
description: 'Type of external tracker'
description: 'Type of external tracker.'
field :web_url, GraphQL::STRING_TYPE, null: true,
description: 'URL to the issue in the external tracker'
description: 'URL to the issue in the external tracker.'
field :created_at, Types::TimeType, null: true,
description: 'Timestamp of when the issue was created'
description: 'Timestamp of when the issue was created.'
field :updated_at, Types::TimeType, null: true,
description: 'Timestamp of when the issue was updated'
description: 'Timestamp of when the issue was updated.'
def relative_reference
object.dig(:references, :relative)
......
......@@ -7,37 +7,37 @@ module Types
authorize :read_geo_node
field :id, GraphQL::ID_TYPE, null: false, description: 'ID of this GeoNode'
field :primary, GraphQL::BOOLEAN_TYPE, null: true, description: 'Indicates whether this Geo node is the primary'
field :enabled, GraphQL::BOOLEAN_TYPE, null: true, description: 'Indicates whether this Geo node is enabled'
field :name, GraphQL::STRING_TYPE, null: true, description: 'The unique identifier for this Geo node'
field :url, GraphQL::STRING_TYPE, null: true, description: 'The user-facing URL for this Geo node'
field :internal_url, GraphQL::STRING_TYPE, null: true, description: 'The URL defined on the primary node that secondary nodes should use to contact it'
field :files_max_capacity, GraphQL::INT_TYPE, null: true, description: 'The maximum concurrency of LFS/attachment backfill for this secondary node'
field :repos_max_capacity, GraphQL::INT_TYPE, null: true, description: 'The maximum concurrency of repository backfill for this secondary node'
field :verification_max_capacity, GraphQL::INT_TYPE, null: true, description: 'The maximum concurrency of repository verification for this secondary node'
field :container_repositories_max_capacity, GraphQL::INT_TYPE, null: true, description: 'The maximum concurrency of container repository sync for this secondary node'
field :sync_object_storage, GraphQL::BOOLEAN_TYPE, null: true, description: 'Indicates if this secondary node will replicate blobs in Object Storage'
field :selective_sync_type, GraphQL::STRING_TYPE, null: true, description: 'Indicates if syncing is limited to only specific groups, or shards'
field :selective_sync_shards, type: [GraphQL::STRING_TYPE], null: true, description: 'The repository storages whose projects should be synced, if `selective_sync_type` == `shards`'
field :selective_sync_namespaces, ::Types::NamespaceType.connection_type, null: true, method: :namespaces, description: 'The namespaces that should be synced, if `selective_sync_type` == `namespaces`'
field :minimum_reverification_interval, GraphQL::INT_TYPE, null: true, description: 'The interval (in days) in which the repository verification is valid. Once expired, it will be reverified'
field :id, GraphQL::ID_TYPE, null: false, description: 'ID of this GeoNode.'
field :primary, GraphQL::BOOLEAN_TYPE, null: true, description: 'Indicates whether this Geo node is the primary.'
field :enabled, GraphQL::BOOLEAN_TYPE, null: true, description: 'Indicates whether this Geo node is enabled.'
field :name, GraphQL::STRING_TYPE, null: true, description: 'The unique identifier for this Geo node.'
field :url, GraphQL::STRING_TYPE, null: true, description: 'The user-facing URL for this Geo node.'
field :internal_url, GraphQL::STRING_TYPE, null: true, description: 'The URL defined on the primary node that secondary nodes should use to contact it.'
field :files_max_capacity, GraphQL::INT_TYPE, null: true, description: 'The maximum concurrency of LFS/attachment backfill for this secondary node.'
field :repos_max_capacity, GraphQL::INT_TYPE, null: true, description: 'The maximum concurrency of repository backfill for this secondary node.'
field :verification_max_capacity, GraphQL::INT_TYPE, null: true, description: 'The maximum concurrency of repository verification for this secondary node.'
field :container_repositories_max_capacity, GraphQL::INT_TYPE, null: true, description: 'The maximum concurrency of container repository sync for this secondary node.'
field :sync_object_storage, GraphQL::BOOLEAN_TYPE, null: true, description: 'Indicates if this secondary node will replicate blobs in Object Storage.'
field :selective_sync_type, GraphQL::STRING_TYPE, null: true, description: 'Indicates if syncing is limited to only specific groups, or shards.'
field :selective_sync_shards, type: [GraphQL::STRING_TYPE], null: true, description: 'The repository storages whose projects should be synced, if `selective_sync_type` == `shards`.'
field :selective_sync_namespaces, ::Types::NamespaceType.connection_type, null: true, method: :namespaces, description: 'The namespaces that should be synced, if `selective_sync_type` == `namespaces`.'
field :minimum_reverification_interval, GraphQL::INT_TYPE, null: true, description: 'The interval (in days) in which the repository verification is valid. Once expired, it will be reverified.'
field :merge_request_diff_registries, ::Types::Geo::MergeRequestDiffRegistryType.connection_type,
null: true,
resolver: ::Resolvers::Geo::MergeRequestDiffRegistriesResolver,
description: 'Find merge request diff registries on this Geo node'
description: 'Find merge request diff registries on this Geo node.'
field :package_file_registries, ::Types::Geo::PackageFileRegistryType.connection_type,
null: true,
resolver: ::Resolvers::Geo::PackageFileRegistriesResolver,
description: 'Package file registries of the GeoNode'
description: 'Package file registries of the GeoNode.'
field :snippet_repository_registries, ::Types::Geo::SnippetRepositoryRegistryType.connection_type,
null: true,
resolver: ::Resolvers::Geo::SnippetRepositoryRegistriesResolver,
description: 'Find snippet repository registries on this Geo node'
description: 'Find snippet repository registries on this Geo node.'
field :terraform_state_version_registries, ::Types::Geo::TerraformStateVersionRegistryType.connection_type,
null: true,
resolver: ::Resolvers::Geo::TerraformStateVersionRegistriesResolver,
description: 'Find terraform state version registries on this Geo node'
description: 'Find terraform state version registries on this Geo node.'
end
end
end
......@@ -9,7 +9,7 @@ module Types
graphql_name 'MergeRequestDiffRegistry'
description 'Represents the Geo sync and verification state of a Merge Request diff'
field :merge_request_diff_id, GraphQL::ID_TYPE, null: false, description: 'ID of the Merge Request diff'
field :merge_request_diff_id, GraphQL::ID_TYPE, null: false, description: 'ID of the Merge Request diff.'
end
end
end
......@@ -9,7 +9,7 @@ module Types
graphql_name 'PackageFileRegistry'
description 'Represents the Geo sync and verification state of a package file'
field :package_file_id, GraphQL::ID_TYPE, null: false, description: 'ID of the PackageFile'
field :package_file_id, GraphQL::ID_TYPE, null: false, description: 'ID of the PackageFile.'
end
end
end
......@@ -9,7 +9,7 @@ module Types
graphql_name 'SnippetRepositoryRegistry'
description 'Represents the Geo sync and verification state of a snippet repository'
field :snippet_repository_id, GraphQL::ID_TYPE, null: false, description: 'ID of the Snippet Repository'
field :snippet_repository_id, GraphQL::ID_TYPE, null: false, description: 'ID of the Snippet Repository.'
end
end
end
......@@ -9,7 +9,7 @@ module Types
graphql_name 'TerraformStateVersionRegistry'
description 'Represents the Geo sync and verification state of a terraform state version'
field :terraform_state_version_id, GraphQL::ID_TYPE, null: false, description: 'ID of the terraform state version'
field :terraform_state_version_id, GraphQL::ID_TYPE, null: false, description: 'ID of the terraform state version.'
end
end
end
......@@ -9,6 +9,6 @@ module Types
field :release_stats, Types::GroupReleaseStatsType,
null: true, method: :itself,
description: 'Statistics related to releases within the group'
description: 'Statistics related to releases within the group.'
end
end
......@@ -11,27 +11,27 @@ module Types
field :iid,
GraphQL::ID_TYPE,
null: false,
description: 'Internal ID of the on-call schedule'
description: 'Internal ID of the on-call schedule.'
field :name,
GraphQL::STRING_TYPE,
null: false,
description: 'Name of the on-call schedule'
description: 'Name of the on-call schedule.'
field :description,
GraphQL::STRING_TYPE,
null: true,
description: 'Description of the on-call schedule'
description: 'Description of the on-call schedule.'
field :timezone,
GraphQL::STRING_TYPE,
null: false,
description: 'Time zone of the on-call schedule'
description: 'Time zone of the on-call schedule.'
field :rotations,
OncallRotationType.connection_type,
null: false,
description: 'On-call rotations for the on-call schedule'
description: 'On-call rotations for the on-call schedule.'
end
end
end
......@@ -9,22 +9,22 @@ module Types
field :projects,
Types::ProjectType.connection_type,
null: false,
description: 'Projects selected in Instance Security Dashboard'
description: 'Projects selected in Instance Security Dashboard.'
field :vulnerability_scanners,
::Types::VulnerabilityScannerType.connection_type,
null: true,
description: 'Vulnerability scanners reported on the vulnerabilities from projects selected in Instance Security Dashboard',
description: 'Vulnerability scanners reported on the vulnerabilities from projects selected in Instance Security Dashboard.',
resolver: ::Resolvers::Vulnerabilities::ScannersResolver
field :vulnerability_severities_count, ::Types::VulnerabilitySeveritiesCountType, null: true,
description: 'Counts for each vulnerability severity from projects selected in Instance Security Dashboard',
description: 'Counts for each vulnerability severity from projects selected in Instance Security Dashboard.',
resolver: ::Resolvers::VulnerabilitySeveritiesCountResolver
field :vulnerability_grades,
[Types::VulnerableProjectsByGradeType],
null: false,
description: 'Represents vulnerable project counts for each grade'
description: 'Represents vulnerable project counts for each grade.'
def vulnerability_grades
::Gitlab::Graphql::Aggregations::VulnerabilityStatistics::LazyAggregate.new(
......
......@@ -12,43 +12,43 @@ module Types
implements ::Types::TimeboxReportInterface
field :id, GraphQL::ID_TYPE, null: false,
description: 'ID of the iteration'
description: 'ID of the iteration.'
field :iid, GraphQL::ID_TYPE, null: false,
description: 'Internal ID of the iteration'
description: 'Internal ID of the iteration.'
field :title, GraphQL::STRING_TYPE, null: false,
description: 'Title of the iteration'
description: 'Title of the iteration.'
field :description, GraphQL::STRING_TYPE, null: true,
description: 'Description of the iteration'
description: 'Description of the iteration.'
markdown_field :description_html, null: true
field :state, Types::IterationStateEnum, null: false,
description: 'State of the iteration'
description: 'State of the iteration.'
field :web_path, GraphQL::STRING_TYPE, null: false, method: :iteration_path,
description: 'Web path of the iteration'
description: 'Web path of the iteration.'
field :web_url, GraphQL::STRING_TYPE, null: false, method: :iteration_url,
description: 'Web URL of the iteration'
description: 'Web URL of the iteration.'
field :scoped_path, GraphQL::STRING_TYPE, null: true, method: :scoped_iteration_path, extras: [:parent],
description: 'Web path of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts'
description: 'Web path of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts.'
field :scoped_url, GraphQL::STRING_TYPE, null: true, method: :scoped_iteration_url, extras: [:parent],
description: 'Web URL of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts'
description: 'Web URL of the iteration, scoped to the query parent. Only valid for Project parents. Returns null in other contexts.'
field :due_date, Types::TimeType, null: true,
description: 'Timestamp of the iteration due date'
description: 'Timestamp of the iteration due date.'
field :start_date, Types::TimeType, null: true,
description: 'Timestamp of the iteration start date'
description: 'Timestamp of the iteration start date.'
field :created_at, Types::TimeType, null: false,
description: 'Timestamp of iteration creation'
description: 'Timestamp of iteration creation.'
field :updated_at, Types::TimeType, null: false,
description: 'Timestamp of last iteration update'
description: 'Timestamp of last iteration update.'
end
end
......@@ -8,19 +8,19 @@ module Types
authorize :read_issuable_metric_image
field :id, GraphQL::ID_TYPE, null: false,
description: 'ID of the metric upload'
description: 'ID of the metric upload.'
field :iid, GraphQL::ID_TYPE, null: false,
description: 'Internal ID of the metric upload'
description: 'Internal ID of the metric upload.'
field :url, GraphQL::STRING_TYPE, null: false,
description: 'URL of the metric source'
description: 'URL of the metric source.'
field :file_name, GraphQL::STRING_TYPE, null: true,
description: 'File name of the metric image',
description: 'File name of the metric image.',
method: :filename
field :file_path, GraphQL::STRING_TYPE, null: true,
description: 'File path of the metric image'
description: 'File path of the metric image.'
end
end
......@@ -7,8 +7,8 @@ module Types
graphql_name 'RequirementStatesCount'
description 'Counts of requirements by their state'
field :opened, GraphQL::INT_TYPE, null: true, description: 'Number of opened requirements'
field :archived, GraphQL::INT_TYPE, null: true, description: 'Number of archived requirements'
field :opened, GraphQL::INT_TYPE, null: true, description: 'Number of opened requirements.'
field :archived, GraphQL::INT_TYPE, null: true, description: 'Number of archived requirements.'
end
# rubocop: enable Graphql/AuthorizeTypes
end
......
......@@ -11,46 +11,46 @@ module Types
expose_permissions Types::PermissionTypes::Requirement
field :id, GraphQL::ID_TYPE, null: false,
description: 'ID of the requirement'
description: 'ID of the requirement.'
field :iid, GraphQL::ID_TYPE, null: false,
description: 'Internal ID of the requirement'
description: 'Internal ID of the requirement.'
field :title, GraphQL::STRING_TYPE, null: true,
description: 'Title of the requirement'
description: 'Title of the requirement.'
markdown_field :title_html, null: true
field :description, GraphQL::STRING_TYPE, null: true,
description: 'Description of the requirement'
description: 'Description of the requirement.'
markdown_field :description_html, null: true
field :state, RequirementsManagement::RequirementStateEnum, null: false,
description: 'State of the requirement'
description: 'State of the requirement.'
field :last_test_report_state, RequirementsManagement::TestReportStateEnum, null: true,
description: 'Latest requirement test report state'
description: 'Latest requirement test report state.'
field :last_test_report_manually_created,
GraphQL::BOOLEAN_TYPE,
method: :last_test_report_manually_created?,
null: true,
description: 'Indicates if latest test report was created by user'
description: 'Indicates if latest test report was created by user.'
field :project, ProjectType, null: false,
description: 'Project to which the requirement belongs'
description: 'Project to which the requirement belongs.'
field :author, UserType, null: false,
description: 'Author of the requirement'
description: 'Author of the requirement.'
field :test_reports, TestReportType.connection_type, null: true, complexity: 5,
description: 'Test reports of the requirement',
description: 'Test reports of the requirement.',
resolver: Resolvers::RequirementsManagement::TestReportsResolver
field :created_at, Types::TimeType, null: false,
description: 'Timestamp of when the requirement was created'
description: 'Timestamp of when the requirement was created.'
field :updated_at, Types::TimeType, null: false,
description: 'Timestamp of when the requirement was last updated'
description: 'Timestamp of when the requirement was last updated.'
def project
Gitlab::Graphql::Loaders::BatchModelLoader.new(Project, object.project_id).find
......
......@@ -9,16 +9,16 @@ module Types
authorize :read_requirement
field :id, GraphQL::ID_TYPE, null: false,
description: 'ID of the test report'
description: 'ID of the test report.'
field :state, TestReportStateEnum, null: false,
description: 'State of the test report'
description: 'State of the test report.'
field :author, UserType, null: true,
description: 'Author of the test report'
description: 'Author of the test report.'
field :created_at, TimeType, null: false,
description: 'Timestamp of when the test report was created'
description: 'Timestamp of when the test report was created.'
def author
Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.author_id).find
......
......@@ -6,7 +6,7 @@ module Types
graphql_name 'ScannedResource'
description 'Represents a resource scanned by a security scan'
field :url, GraphQL::STRING_TYPE, null: true, description: 'The URL scanned by the scanner'
field :request_method, GraphQL::STRING_TYPE, null: true, description: 'The HTTP request method used to access the URL'
field :url, GraphQL::STRING_TYPE, null: true, description: 'The URL scanned by the scanner.'
field :request_method, GraphQL::STRING_TYPE, null: true, description: 'The HTTP request method used to access the URL.'
end
end
......@@ -6,9 +6,9 @@ module Types
graphql_name 'SecurityReportSummarySection'
description 'Represents a section of a summary of a security report'
field :vulnerabilities_count, GraphQL::INT_TYPE, null: true, description: 'Total number of vulnerabilities'
field :scanned_resources_count, GraphQL::INT_TYPE, null: true, description: 'Total number of scanned resources'
field :scanned_resources, ::Types::ScannedResourceType.connection_type, null: true, description: 'A list of the first 20 scanned resources'
field :scanned_resources_csv_path, GraphQL::STRING_TYPE, null: true, description: 'Path to download all the scanned resources in CSV format'
field :vulnerabilities_count, GraphQL::INT_TYPE, null: true, description: 'Total number of vulnerabilities.'
field :scanned_resources_count, GraphQL::INT_TYPE, null: true, description: 'Total number of scanned resources.'
field :scanned_resources, ::Types::ScannedResourceType.connection_type, null: true, description: 'A list of the first 20 scanned resources.'
field :scanned_resources_csv_path, GraphQL::STRING_TYPE, null: true, description: 'Path to download all the scanned resources in CSV format.'
end
end
......@@ -7,12 +7,12 @@ module Types
description 'Represents the time report stats for timeboxes'
field :complete, ::Types::TimeboxMetricsType, null: true,
description: 'Completed issues metrics'
description: 'Completed issues metrics.'
field :incomplete, ::Types::TimeboxMetricsType, null: true,
description: 'Incomplete issues metrics'
description: 'Incomplete issues metrics.'
field :total, ::Types::TimeboxMetricsType, null: true,
description: 'Total issues metrics'
description: 'Total issues metrics.'
end
end
......@@ -7,9 +7,9 @@ module Types
description 'Represents measured stats metrics for timeboxes'
field :count, GraphQL::INT_TYPE, null: false,
description: 'The count metric'
description: 'The count metric.'
field :weight, GraphQL::INT_TYPE, null: false,
description: 'The weight metric'
description: 'The weight metric.'
end
end
......@@ -6,7 +6,7 @@ module Types
field :report, Types::TimeboxReportType, null: true,
resolver: ::Resolvers::TimeboxReportResolver,
description: 'Historically accurate report about the timebox',
description: 'Historically accurate report about the timebox.',
complexity: 175
end
end
......@@ -7,8 +7,8 @@ module Types
description 'Represents a historically accurate report about the timebox'
field :stats, ::Types::TimeReportStatsType, null: true,
description: 'Represents the time report stats for the timebox'
description: 'Represents the time report stats for the timebox.'
field :burnup_time_series, [::Types::BurnupChartDailyTotalsType], null: true,
description: 'Daily scope and completed totals for burnup charts'
description: 'Daily scope and completed totals for burnup charts.'
end
end
......@@ -9,27 +9,27 @@ module Types
field :spent_at,
Types::TimeType,
null: true,
description: 'Timestamp of when the time tracked was spent at'
description: 'Timestamp of when the time tracked was spent at.'
field :time_spent,
GraphQL::INT_TYPE,
null: false,
description: 'The time spent displayed in seconds'
description: 'The time spent displayed in seconds.'
field :user,
Types::UserType,
null: false,
description: 'The user that logged the time'
description: 'The user that logged the time.'
field :issue,
Types::IssueType,
null: true,
description: 'The issue that logged time was added to'
description: 'The issue that logged time was added to.'
field :note,
Types::Notes::NoteType,
null: true,
description: 'The note where the quick action to add the logged time was executed'
description: 'The note where the quick action to add the logged time was executed.'
def user
Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.user_id).find
......
......@@ -7,12 +7,12 @@ module Types
description 'Represents the number of vulnerabilities for a particular severity on a particular day. This data is retained for 365 days'
field :count, GraphQL::INT_TYPE, null: true,
description: 'Number of vulnerabilities'
description: 'Number of vulnerabilities.'
field :day, GraphQL::Types::ISO8601Date, null: true,
description: 'Date for the count'
description: 'Date for the count.'
field :severity, VulnerabilitySeverityEnum, null: true,
description: 'Severity of the counted vulnerabilities'
description: 'Severity of the counted vulnerabilities.'
end
end
......@@ -7,10 +7,10 @@ module Types
description 'Represents the count of vulnerabilities by severity on a particular day. This data is retained for 365 days'
field :date, GraphQL::Types::ISO8601Date, null: false,
description: 'Date for the count'
description: 'Date for the count.'
field :total, GraphQL::INT_TYPE, null: false,
description: 'Total number of vulnerabilities on a particular day'
description: 'Total number of vulnerabilities on a particular day.'
::Enums::Vulnerability.severity_levels.keys.each do |severity|
field severity.to_s, GraphQL::INT_TYPE, null: false,
......
......@@ -9,13 +9,13 @@ module Types
authorize :read_vulnerability
field :id, GlobalIDType[::Vulnerabilities::ExternalIssueLink], null: false,
description: 'GraphQL ID of the external issue link'
description: 'GraphQL ID of the external issue link.'
field :link_type, ::Types::Vulnerability::ExternalIssueLinkTypeEnum, null: false,
description: 'Type of the external issue link'
description: 'Type of the external issue link.'
field :external_issue, ::Types::ExternalIssueType, null: true,
description: 'The external issue attached to the issue link',
description: 'The external issue attached to the issue link.',
resolver: Resolvers::ExternalIssueResolver
end
end
......
......@@ -8,13 +8,13 @@ module Types
description 'Represents an issue link of a vulnerability'
field :id, GraphQL::ID_TYPE, null: false,
description: 'GraphQL ID of the vulnerability'
description: 'GraphQL ID of the vulnerability.'
field :link_type, ::Types::Vulnerability::IssueLinkTypeEnum, null: false,
description: "Type of the issue link"
description: "Type of the issue link."
field :issue, ::Types::IssueType, null: false,
description: 'The issue attached to issue link'
description: 'The issue attached to issue link.'
end
# rubocop: enable Graphql/AuthorizeTypes
end
......
......@@ -7,16 +7,16 @@ module Types
description 'Represents a vulnerability identifier'
field :name, GraphQL::STRING_TYPE, null: true,
description: 'Name of the vulnerability identifier'
description: 'Name of the vulnerability identifier.'
field :url, GraphQL::STRING_TYPE, null: true,
description: 'URL of the vulnerability identifier'
description: 'URL of the vulnerability identifier.'
field :external_type, GraphQL::STRING_TYPE, null: true,
description: 'External type of the vulnerability identifier'
description: 'External type of the vulnerability identifier.'
field :external_id, GraphQL::STRING_TYPE, null: true,
description: 'External ID of the vulnerability identifier'
description: 'External ID of the vulnerability identifier.'
end
# rubocop: enable Graphql/AuthorizeTypes
end
......@@ -8,13 +8,13 @@ module Types
description 'Represents the location of a vulnerability found by a container security scan'
field :dependency, ::Types::VulnerableDependencyType, null: true,
description: 'Dependency containing the vulnerability'
description: 'Dependency containing the vulnerability.'
field :image, GraphQL::STRING_TYPE, null: true,
description: 'Name of the vulnerable container image'
description: 'Name of the vulnerable container image.'
field :operating_system, GraphQL::STRING_TYPE, null: true,
description: 'Operating system that runs on the vulnerable container image'
description: 'Operating system that runs on the vulnerable container image.'
end
end
end
......@@ -8,24 +8,24 @@ module Types
description 'Represents the location of a vulnerability found by a Coverage Fuzzing scan'
field :vulnerable_class, GraphQL::STRING_TYPE, null: true,
description: 'Class containing the vulnerability',
description: 'Class containing the vulnerability.',
hash_key: :class
field :end_line, GraphQL::STRING_TYPE, null: true,
description: 'Number of the last relevant line in the vulnerable file'
description: 'Number of the last relevant line in the vulnerable file.'
field :file, GraphQL::STRING_TYPE, null: true,
description: 'Path to the vulnerable file'
description: 'Path to the vulnerable file.'
field :vulnerable_method, GraphQL::STRING_TYPE, null: true,
description: 'Method containing the vulnerability',
description: 'Method containing the vulnerability.',
hash_key: :method
field :start_line, GraphQL::STRING_TYPE, null: true,
description: 'Number of the first relevant line in the vulnerable file'
description: 'Number of the first relevant line in the vulnerable file.'
field :blob_path, GraphQL::STRING_TYPE, null: true,
description: 'Blob path to the vulnerable file'
description: 'Blob path to the vulnerable file.'
end
end
end
......@@ -8,16 +8,16 @@ module Types
description 'Represents the location of a vulnerability found by a DAST scan'
field :hostname, GraphQL::STRING_TYPE, null: true,
description: 'Domain name of the vulnerable request'
description: 'Domain name of the vulnerable request.'
field :param, GraphQL::STRING_TYPE, null: true,
description: 'Query parameter for the URL on which the vulnerability occurred'
description: 'Query parameter for the URL on which the vulnerability occurred.'
field :path, GraphQL::STRING_TYPE, null: true,
description: 'URL path and query string of the vulnerable request'
description: 'URL path and query string of the vulnerable request.'
field :request_method, GraphQL::STRING_TYPE, null: true,
description: 'HTTP method of the vulnerable request'
description: 'HTTP method of the vulnerable request.'
end
end
end
......@@ -8,13 +8,13 @@ module Types
description 'Represents the location of a vulnerability found by a dependency security scan'
field :dependency, ::Types::VulnerableDependencyType, null: true,
description: 'Dependency containing the vulnerability'
description: 'Dependency containing the vulnerability.'
field :file, GraphQL::STRING_TYPE, null: true,
description: 'Path to the vulnerable file'
description: 'Path to the vulnerable file.'
field :blob_path, GraphQL::STRING_TYPE, null: true,
description: 'Blob path to the vulnerable file'
description: 'Blob path to the vulnerable file.'
end
end
end
......@@ -8,24 +8,24 @@ module Types
description 'Represents the location of a vulnerability found by a SAST scan'
field :vulnerable_class, GraphQL::STRING_TYPE, null: true,
description: 'Class containing the vulnerability',
description: 'Class containing the vulnerability.',
hash_key: :class
field :end_line, GraphQL::STRING_TYPE, null: true,
description: 'Number of the last relevant line in the vulnerable file'
description: 'Number of the last relevant line in the vulnerable file.'
field :file, GraphQL::STRING_TYPE, null: true,
description: 'Path to the vulnerable file'
description: 'Path to the vulnerable file.'
field :vulnerable_method, GraphQL::STRING_TYPE, null: true,
description: 'Method containing the vulnerability',
description: 'Method containing the vulnerability.',
hash_key: :method
field :start_line, GraphQL::STRING_TYPE, null: true,
description: 'Number of the first relevant line in the vulnerable file'
description: 'Number of the first relevant line in the vulnerable file.'
field :blob_path, GraphQL::STRING_TYPE, null: true,
description: 'Blob path to the vulnerable file'
description: 'Blob path to the vulnerable file.'
end
end
end
......@@ -8,24 +8,24 @@ module Types
description 'Represents the location of a vulnerability found by a secret detection scan'
field :vulnerable_class, GraphQL::STRING_TYPE, null: true,
description: 'Class containing the vulnerability',
description: 'Class containing the vulnerability.',
hash_key: :class
field :end_line, GraphQL::STRING_TYPE, null: true,
description: 'Number of the last relevant line in the vulnerable file'
description: 'Number of the last relevant line in the vulnerable file.'
field :file, GraphQL::STRING_TYPE, null: true,
description: 'Path to the vulnerable file'
description: 'Path to the vulnerable file.'
field :vulnerable_method, GraphQL::STRING_TYPE, null: true,
description: 'Method containing the vulnerability',
description: 'Method containing the vulnerability.',
hash_key: :method
field :start_line, GraphQL::STRING_TYPE, null: true,
description: 'Number of the first relevant line in the vulnerable file'
description: 'Number of the first relevant line in the vulnerable file.'
field :blob_path, GraphQL::STRING_TYPE, null: true,
description: 'Blob path to the vulnerable file'
description: 'Blob path to the vulnerable file.'
end
end
end
......@@ -8,15 +8,15 @@ module Types
authorize :read_vulnerability_scanner
field :name, GraphQL::STRING_TYPE, null: true,
description: 'Name of the vulnerability scanner'
description: 'Name of the vulnerability scanner.'
field :external_id, GraphQL::STRING_TYPE, null: true,
description: 'External ID of the vulnerability scanner'
description: 'External ID of the vulnerability scanner.'
field :vendor, GraphQL::STRING_TYPE, null: true,
description: 'Vendor of the vulnerability scanner'
description: 'Vendor of the vulnerability scanner.'
field :report_type, VulnerabilityReportTypeEnum, null: true,
description: 'Type of the vulnerability report'
description: 'Type of the vulnerability report.'
end
end
......@@ -12,13 +12,13 @@ module Types
expose_permissions Types::PermissionTypes::Vulnerability
field :id, GraphQL::ID_TYPE, null: false,
description: 'GraphQL ID of the vulnerability'
description: 'GraphQL ID of the vulnerability.'
field :title, GraphQL::STRING_TYPE, null: true,
description: 'Title of the vulnerability'
description: 'Title of the vulnerability.'
field :description, GraphQL::STRING_TYPE, null: true,
description: 'Description of the vulnerability'
description: 'Description of the vulnerability.'
field :state, VulnerabilityStateEnum, null: true,
description: "State of the vulnerability (#{::Vulnerability.states.keys.join(', ').upcase})"
......@@ -30,23 +30,23 @@ module Types
description: "Type of the security report that found the vulnerability (#{::Enums::Vulnerability.report_types.keys.join(', ').upcase})"
field :resolved_on_default_branch, GraphQL::BOOLEAN_TYPE, null: false,
description: "Indicates whether the vulnerability is fixed on the default branch or not"
description: "Indicates whether the vulnerability is fixed on the default branch or not."
field :user_notes_count, GraphQL::INT_TYPE, null: false,
description: 'Number of user notes attached to the vulnerability'
description: 'Number of user notes attached to the vulnerability.'
field :vulnerability_path, GraphQL::STRING_TYPE, null: true,
description: "URL to the vulnerability's details page"
description: "URL to the vulnerability's details page."
field :issue_links, ::Types::Vulnerability::IssueLinkType.connection_type, null: false,
description: "List of issue links related to the vulnerability",
description: "List of issue links related to the vulnerability.",
resolver: Resolvers::Vulnerabilities::IssueLinksResolver
field :external_issue_links, ::Types::Vulnerability::ExternalIssueLinkType.connection_type, null: false,
description: 'List of external issue links related to the vulnerability'
description: 'List of external issue links related to the vulnerability.'
field :location, VulnerabilityLocationType, null: true,
description: 'Location metadata for the vulnerability. Its fields depend on the type of security scan that found the vulnerability'
description: 'Location metadata for the vulnerability. Its fields depend on the type of security scan that found the vulnerability.'
field :scanner, VulnerabilityScannerType, null: true,
description: 'Scanner metadata for the vulnerability.'
......@@ -58,21 +58,21 @@ module Types
description: 'Identifiers of the vulnerability.'
field :project, ::Types::ProjectType, null: true,
description: 'The project on which the vulnerability was found',
description: 'The project on which the vulnerability was found.',
authorize: :read_project
field :detected_at, Types::TimeType, null: false,
description: 'Timestamp of when the vulnerability was first detected',
description: 'Timestamp of when the vulnerability was first detected.',
method: :created_at
field :confirmed_at, Types::TimeType, null: true,
description: 'Timestamp of when the vulnerability state was changed to confirmed'
description: 'Timestamp of when the vulnerability state was changed to confirmed.'
field :resolved_at, Types::TimeType, null: true,
description: 'Timestamp of when the vulnerability state was changed to resolved'
description: 'Timestamp of when the vulnerability state was changed to resolved.'
field :dismissed_at, Types::TimeType, null: true,
description: 'Timestamp of when the vulnerability state was changed to dismissed'
description: 'Timestamp of when the vulnerability state was changed to dismissed.'
field :has_solutions, GraphQL::BOOLEAN_TYPE, null: true,
description: 'Indicates whether there is a solution available for this vulnerability.',
......@@ -91,7 +91,7 @@ module Types
description: 'The user that dismissed the vulnerability.'
field :details, [VulnerabilityDetailType], null: false,
description: 'Details of the vulnerability',
description: 'Details of the vulnerability.',
resolver: Resolvers::Vulnerabilities::DetailsResolver
def confirmed_by
......
......@@ -7,9 +7,9 @@ module Types
description 'Represents a vulnerable dependency. Used in vulnerability location data'
field :package, ::Types::VulnerablePackageType, null: true,
description: 'The package associated with the vulnerable dependency'
description: 'The package associated with the vulnerable dependency.'
field :version, GraphQL::STRING_TYPE, null: true,
description: 'The version of the vulnerable dependency'
description: 'The version of the vulnerable dependency.'
end
end
......@@ -7,6 +7,6 @@ module Types
description 'Represents a vulnerable package. Used in vulnerability dependency data'
field :name, GraphQL::STRING_TYPE, null: true,
description: 'The name of the vulnerable package'
description: 'The name of the vulnerable package.'
end
end
......@@ -7,14 +7,14 @@ module Types
description 'Represents vulnerability letter grades with associated projects'
field :grade, Types::VulnerabilityGradeEnum, null: false,
description: "Grade based on the highest severity vulnerability present"
description: "Grade based on the highest severity vulnerability present."
field :count, GraphQL::INT_TYPE, null: false,
description: 'Number of projects within this grade',
description: 'Number of projects within this grade.',
complexity: 5
field :projects, Types::ProjectType.connection_type, null: false,
description: 'Projects within this grade',
description: 'Projects within this grade.',
complexity: 5
end
# rubocop: enable Graphql/AuthorizeTypes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment