Commit 3e6ae729 authored by David Fernandez's avatar David Fernandez

Merge branch '292426-fix-graphql-descriptions-rubocop-offenses-8' into 'master'

Fix Graphql/Descriptions EE types offenses

See merge request gitlab-org/gitlab!53926
parents a5d9320d b63a4745
......@@ -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:
......
......@@ -10136,22 +10136,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
}
......@@ -10271,69 +10271,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(
"""
......@@ -10363,17 +10363,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(
"""
......@@ -10403,17 +10403,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(
"""
......@@ -10438,17 +10438,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(
"""
......@@ -10478,12 +10478,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(
"""
......@@ -10513,12 +10513,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
}
......@@ -12005,7 +12005,7 @@ Contains statistics about a group
"""
type GroupStats {
"""
Statistics related to releases within the group
Statistics related to releases within the group.
"""
releaseStats: GroupReleaseStats
}
......@@ -12344,22 +12344,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(
"""
......@@ -12384,7 +12384,7 @@ type IncidentManagementOncallSchedule {
): IncidentManagementOncallRotationConnection!
"""
Time zone of the on-call schedule
Time zone of the on-call schedule.
"""
timezone: String!
}
......@@ -12481,7 +12481,7 @@ type IncidentManagementOncallShiftEdge {
type InstanceSecurityDashboard {
"""
Projects selected in Instance Security Dashboard
Projects selected in Instance Security Dashboard.
"""
projects(
"""
......@@ -12506,12 +12506,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(
"""
......@@ -12536,7 +12536,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(
"""
......@@ -13883,12 +13883,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
......@@ -13898,62 +13898,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!
}
......@@ -15437,7 +15437,7 @@ type MergeRequestDiffRegistry {
lastSyncedAt: Time
"""
ID of the Merge Request diff
ID of the Merge Request diff.
"""
mergeRequestDiffId: ID!
......@@ -16059,27 +16059,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!
}
......@@ -16233,7 +16233,7 @@ type Milestone implements TimeboxReportInterface {
projectMilestone: Boolean!
"""
Historically accurate report about the timebox
Historically accurate report about the timebox.
"""
report: TimeboxReport
......@@ -17680,7 +17680,7 @@ type PackageFileRegistry {
lastSyncedAt: Time
"""
ID of the PackageFile
ID of the PackageFile.
"""
packageFileId: ID!
......@@ -22449,17 +22449,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
......@@ -22469,37 +22469,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(
"""
......@@ -22529,7 +22529,7 @@ type Requirement {
): TestReportConnection
"""
Title of the requirement
Title of the requirement.
"""
title: String
......@@ -22539,7 +22539,7 @@ type Requirement {
titleHtml: String
"""
Timestamp of when the requirement was last updated
Timestamp of when the requirement was last updated.
"""
updatedAt: Time!
......@@ -22627,12 +22627,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
}
......@@ -23311,12 +23311,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
}
......@@ -23401,7 +23401,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(
"""
......@@ -23426,17 +23426,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
}
......@@ -24639,7 +24639,7 @@ type SnippetRepositoryRegistry {
retryCount: Int
"""
ID of the Snippet Repository
ID of the Snippet Repository.
"""
snippetRepositoryId: ID!
......@@ -25097,7 +25097,7 @@ type TerraformStateVersionRegistry {
state: RegistryState
"""
ID of the terraform state version
ID of the terraform state version.
"""
terraformStateVersionId: ID!
}
......@@ -25142,22 +25142,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!
}
......@@ -25215,17 +25215,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
}
......@@ -25235,12 +25235,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!
}
......@@ -25250,19 +25250,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
}
......@@ -25284,27 +25284,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!
}
......@@ -27449,7 +27449,7 @@ type VulnerabilitiesCountByDay {
critical: Int!
"""
Date for the count
Date for the count.
"""
date: ISO8601Date!
......@@ -27474,7 +27474,7 @@ type VulnerabilitiesCountByDay {
medium: Int!
"""
Total number of vulnerabilities on a particular day
Total number of vulnerabilities on a particular day.
"""
total: Int!
......@@ -27489,17 +27489,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
}
......@@ -27584,7 +27584,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
......@@ -27594,17 +27594,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!
......@@ -27634,7 +27634,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
......@@ -27644,7 +27644,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(
"""
......@@ -27674,7 +27674,7 @@ type Vulnerability implements Noteable {
hasSolutions: Boolean
"""
GraphQL ID of the vulnerability
GraphQL ID of the vulnerability.
"""
id: ID!
......@@ -27684,7 +27684,7 @@ type Vulnerability implements Noteable {
identifiers: [VulnerabilityIdentifier!]!
"""
List of issue links related to the vulnerability
List of issue links related to the vulnerability.
"""
issueLinks(
"""
......@@ -27714,7 +27714,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
......@@ -27754,7 +27754,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
......@@ -27766,7 +27766,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
......@@ -27776,7 +27776,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!
......@@ -27796,12 +27796,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!
......@@ -27811,7 +27811,7 @@ type Vulnerability implements Noteable {
userPermissions: VulnerabilityPermissions!
"""
URL to the vulnerability's details page
URL to the vulnerability's details page.
"""
vulnerabilityPath: String
}
......@@ -28326,17 +28326,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!
}
......@@ -28492,22 +28492,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
}
......@@ -28517,17 +28517,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!
}
......@@ -28585,17 +28585,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
}
......@@ -28605,32 +28605,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
}
......@@ -28640,22 +28640,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
}
......@@ -28665,17 +28665,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
}
......@@ -28685,32 +28685,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
}
......@@ -28720,32 +28720,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
}
......@@ -28888,22 +28888,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
}
......@@ -29060,12 +29060,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
}
......@@ -29075,7 +29075,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
}
......@@ -29085,17 +29085,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(
"""
......
......@@ -27978,7 +27978,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,
......@@ -27992,7 +27992,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",
......@@ -28002,7 +28002,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",
......@@ -28012,7 +28012,7 @@
},
{
"name": "newParentId",
"description": "ID of the new parent epic",
"description": "ID of the new parent epic.",
"type": {
"kind": "SCALAR",
"name": "EpicID",
......@@ -28321,7 +28321,7 @@
"fields": [
{
"name": "createdAt",
"description": "Timestamp of when the issue was created",
"description": "Timestamp of when the issue was created.",
"args": [
],
......@@ -28335,7 +28335,7 @@
},
{
"name": "externalTracker",
"description": "Type of external tracker",
"description": "Type of external tracker.",
"args": [
],
......@@ -28349,7 +28349,7 @@
},
{
"name": "relativeReference",
"description": "Relative reference of the issue in the external tracker",
"description": "Relative reference of the issue in the external tracker.",
"args": [
],
......@@ -28363,7 +28363,7 @@
},
{
"name": "status",
"description": "Status of the issue in the external tracker",
"description": "Status of the issue in the external tracker.",
"args": [
],
......@@ -28377,7 +28377,7 @@
},
{
"name": "title",
"description": "Title of the issue in the external tracker",
"description": "Title of the issue in the external tracker.",
"args": [
],
......@@ -28391,7 +28391,7 @@
},
{
"name": "updatedAt",
"description": "Timestamp of when the issue was updated",
"description": "Timestamp of when the issue was updated.",
"args": [
],
......@@ -28405,7 +28405,7 @@
},
{
"name": "webUrl",
"description": "URL to the issue in the external tracker",
"description": "URL to the issue in the external tracker.",
"args": [
],
......@@ -28442,7 +28442,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": [
],
......@@ -28456,7 +28456,7 @@
},
{
"name": "enabled",
"description": "Indicates whether this Geo node is enabled",
"description": "Indicates whether this Geo node is enabled.",
"args": [
],
......@@ -28470,7 +28470,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": [
],
......@@ -28484,7 +28484,7 @@
},
{
"name": "id",
"description": "ID of this GeoNode",
"description": "ID of this GeoNode.",
"args": [
],
......@@ -28502,7 +28502,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": [
],
......@@ -28516,7 +28516,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",
......@@ -28587,7 +28587,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": [
],
......@@ -28601,7 +28601,7 @@
},
{
"name": "name",
"description": "The unique identifier for this Geo node",
"description": "The unique identifier for this Geo node.",
"args": [
],
......@@ -28615,7 +28615,7 @@
},
{
"name": "packageFileRegistries",
"description": "Package file registries of the GeoNode",
"description": "Package file registries of the GeoNode.",
"args": [
{
"name": "ids",
......@@ -28686,7 +28686,7 @@
},
{
"name": "primary",
"description": "Indicates whether this Geo node is the primary",
"description": "Indicates whether this Geo node is the primary.",
"args": [
],
......@@ -28700,7 +28700,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": [
],
......@@ -28714,7 +28714,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",
......@@ -28767,7 +28767,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": [
],
......@@ -28789,7 +28789,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": [
],
......@@ -28803,7 +28803,7 @@
},
{
"name": "snippetRepositoryRegistries",
"description": "Find snippet repository registries on this Geo node",
"description": "Find snippet repository registries on this Geo node.",
"args": [
{
"name": "ids",
......@@ -28874,7 +28874,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": [
],
......@@ -28888,7 +28888,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",
......@@ -28959,7 +28959,7 @@
},
{
"name": "url",
"description": "The user-facing URL for this Geo node",
"description": "The user-facing URL for this Geo node.",
"args": [
],
......@@ -28973,7 +28973,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": [
],
......@@ -32637,7 +32637,7 @@
"fields": [
{
"name": "releaseStats",
"description": "Statistics related to releases within the group",
"description": "Statistics related to releases within the group.",
"args": [
],
......@@ -33582,7 +33582,7 @@
"fields": [
{
"name": "description",
"description": "Description of the on-call schedule",
"description": "Description of the on-call schedule.",
"args": [
],
......@@ -33596,7 +33596,7 @@
},
{
"name": "iid",
"description": "Internal ID of the on-call schedule",
"description": "Internal ID of the on-call schedule.",
"args": [
],
......@@ -33614,7 +33614,7 @@
},
{
"name": "name",
"description": "Name of the on-call schedule",
"description": "Name of the on-call schedule.",
"args": [
],
......@@ -33632,7 +33632,7 @@
},
{
"name": "rotations",
"description": "On-call rotations for the on-call schedule",
"description": "On-call rotations for the on-call schedule.",
"args": [
{
"name": "after",
......@@ -33689,7 +33689,7 @@
},
{
"name": "timezone",
"description": "Time zone of the on-call schedule",
"description": "Time zone of the on-call schedule.",
"args": [
],
......@@ -33999,7 +33999,7 @@
"fields": [
{
"name": "projects",
"description": "Projects selected in Instance Security Dashboard",
"description": "Projects selected in Instance Security Dashboard.",
"args": [
{
"name": "after",
......@@ -34056,7 +34056,7 @@
},
{
"name": "vulnerabilityGrades",
"description": "Represents vulnerable project counts for each grade",
"description": "Represents vulnerable project counts for each grade.",
"args": [
],
......@@ -34082,7 +34082,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",
......@@ -34135,7 +34135,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",
......@@ -37763,7 +37763,7 @@
"fields": [
{
"name": "createdAt",
"description": "Timestamp of iteration creation",
"description": "Timestamp of iteration creation.",
"args": [
],
......@@ -37781,7 +37781,7 @@
},
{
"name": "description",
"description": "Description of the iteration",
"description": "Description of the iteration.",
"args": [
],
......@@ -37809,7 +37809,7 @@
},
{
"name": "dueDate",
"description": "Timestamp of the iteration due date",
"description": "Timestamp of the iteration due date.",
"args": [
],
......@@ -37823,7 +37823,7 @@
},
{
"name": "id",
"description": "ID of the iteration",
"description": "ID of the iteration.",
"args": [
],
......@@ -37841,7 +37841,7 @@
},
{
"name": "iid",
"description": "Internal ID of the iteration",
"description": "Internal ID of the iteration.",
"args": [
],
......@@ -37859,7 +37859,7 @@
},
{
"name": "report",
"description": "Historically accurate report about the timebox",
"description": "Historically accurate report about the timebox.",
"args": [
],
......@@ -37873,7 +37873,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": [
],
......@@ -37887,7 +37887,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": [
],
......@@ -37901,7 +37901,7 @@
},
{
"name": "startDate",
"description": "Timestamp of the iteration start date",
"description": "Timestamp of the iteration start date.",
"args": [
],
......@@ -37915,7 +37915,7 @@
},
{
"name": "state",
"description": "State of the iteration",
"description": "State of the iteration.",
"args": [
],
......@@ -37933,7 +37933,7 @@
},
{
"name": "title",
"description": "Title of the iteration",
"description": "Title of the iteration.",
"args": [
],
......@@ -37951,7 +37951,7 @@
},
{
"name": "updatedAt",
"description": "Timestamp of last iteration update",
"description": "Timestamp of last iteration update.",
"args": [
],
......@@ -37969,7 +37969,7 @@
},
{
"name": "webPath",
"description": "Web path of the iteration",
"description": "Web path of the iteration.",
"args": [
],
......@@ -37987,7 +37987,7 @@
},
{
"name": "webUrl",
"description": "Web URL of the iteration",
"description": "Web URL of the iteration.",
"args": [
],
......@@ -42297,7 +42297,7 @@
},
{
"name": "mergeRequestDiffId",
"description": "ID of the Merge Request diff",
"description": "ID of the Merge Request diff.",
"args": [
],
......@@ -43997,7 +43997,7 @@
"fields": [
{
"name": "fileName",
"description": "File name of the metric image",
"description": "File name of the metric image.",
"args": [
],
......@@ -44011,7 +44011,7 @@
},
{
"name": "filePath",
"description": "File path of the metric image",
"description": "File path of the metric image.",
"args": [
],
......@@ -44025,7 +44025,7 @@
},
{
"name": "id",
"description": "ID of the metric upload",
"description": "ID of the metric upload.",
"args": [
],
......@@ -44043,7 +44043,7 @@
},
{
"name": "iid",
"description": "Internal ID of the metric upload",
"description": "Internal ID of the metric upload.",
"args": [
],
......@@ -44061,7 +44061,7 @@
},
{
"name": "url",
"description": "URL of the metric source",
"description": "URL of the metric source.",
"args": [
],
......@@ -44527,7 +44527,7 @@
},
{
"name": "report",
"description": "Historically accurate report about the timebox",
"description": "Historically accurate report about the timebox.",
"args": [
],
......@@ -52055,7 +52055,7 @@
},
{
"name": "packageFileId",
"description": "ID of the PackageFile",
"description": "ID of the PackageFile.",
"args": [
],
......@@ -64751,7 +64751,7 @@
"fields": [
{
"name": "author",
"description": "Author of the requirement",
"description": "Author of the requirement.",
"args": [
],
......@@ -64769,7 +64769,7 @@
},
{
"name": "createdAt",
"description": "Timestamp of when the requirement was created",
"description": "Timestamp of when the requirement was created.",
"args": [
],
......@@ -64787,7 +64787,7 @@
},
{
"name": "description",
"description": "Description of the requirement",
"description": "Description of the requirement.",
"args": [
],
......@@ -64815,7 +64815,7 @@
},
{
"name": "id",
"description": "ID of the requirement",
"description": "ID of the requirement.",
"args": [
],
......@@ -64833,7 +64833,7 @@
},
{
"name": "iid",
"description": "Internal ID of the requirement",
"description": "Internal ID of the requirement.",
"args": [
],
......@@ -64851,7 +64851,7 @@
},
{
"name": "lastTestReportManuallyCreated",
"description": "Indicates if latest test report was created by user",
"description": "Indicates if latest test report was created by user.",
"args": [
],
......@@ -64865,7 +64865,7 @@
},
{
"name": "lastTestReportState",
"description": "Latest requirement test report state",
"description": "Latest requirement test report state.",
"args": [
],
......@@ -64879,7 +64879,7 @@
},
{
"name": "project",
"description": "Project to which the requirement belongs",
"description": "Project to which the requirement belongs.",
"args": [
],
......@@ -64897,7 +64897,7 @@
},
{
"name": "state",
"description": "State of the requirement",
"description": "State of the requirement.",
"args": [
],
......@@ -64915,7 +64915,7 @@
},
{
"name": "testReports",
"description": "Test reports of the requirement",
"description": "Test reports of the requirement.",
"args": [
{
"name": "sort",
......@@ -64978,7 +64978,7 @@
},
{
"name": "title",
"description": "Title of the requirement",
"description": "Title of the requirement.",
"args": [
],
......@@ -65006,7 +65006,7 @@
},
{
"name": "updatedAt",
"description": "Timestamp of when the requirement was last updated",
"description": "Timestamp of when the requirement was last updated.",
"args": [
],
......@@ -65293,7 +65293,7 @@
"fields": [
{
"name": "archived",
"description": "Number of archived requirements",
"description": "Number of archived requirements.",
"args": [
],
......@@ -65307,7 +65307,7 @@
},
{
"name": "opened",
"description": "Number of opened requirements",
"description": "Number of opened requirements.",
"args": [
],
......@@ -67300,7 +67300,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": [
],
......@@ -67314,7 +67314,7 @@
},
{
"name": "url",
"description": "The URL scanned by the scanner",
"description": "The URL scanned by the scanner.",
"args": [
],
......@@ -67564,7 +67564,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",
......@@ -67617,7 +67617,7 @@
},
{
"name": "scannedResourcesCount",
"description": "Total number of scanned resources",
"description": "Total number of scanned resources.",
"args": [
],
......@@ -67631,7 +67631,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": [
],
......@@ -67645,7 +67645,7 @@
},
{
"name": "vulnerabilitiesCount",
"description": "Total number of vulnerabilities",
"description": "Total number of vulnerabilities.",
"args": [
],
......@@ -70995,7 +70995,7 @@
},
{
"name": "snippetRepositoryId",
"description": "ID of the Snippet Repository",
"description": "ID of the Snippet Repository.",
"args": [
],
......@@ -72374,7 +72374,7 @@
},
{
"name": "terraformStateVersionId",
"description": "ID of the terraform state version",
"description": "ID of the terraform state version.",
"args": [
],
......@@ -72517,7 +72517,7 @@
"fields": [
{
"name": "author",
"description": "Author of the test report",
"description": "Author of the test report.",
"args": [
],
......@@ -72531,7 +72531,7 @@
},
{
"name": "createdAt",
"description": "Timestamp of when the test report was created",
"description": "Timestamp of when the test report was created.",
"args": [
],
......@@ -72549,7 +72549,7 @@
},
{
"name": "id",
"description": "ID of the test report",
"description": "ID of the test report.",
"args": [
],
......@@ -72567,7 +72567,7 @@
},
{
"name": "state",
"description": "State of the test report",
"description": "State of the test report.",
"args": [
],
......@@ -72743,7 +72743,7 @@
"fields": [
{
"name": "complete",
"description": "Completed issues metrics",
"description": "Completed issues metrics.",
"args": [
],
......@@ -72757,7 +72757,7 @@
},
{
"name": "incomplete",
"description": "Incomplete issues metrics",
"description": "Incomplete issues metrics.",
"args": [
],
......@@ -72771,7 +72771,7 @@
},
{
"name": "total",
"description": "Total issues metrics",
"description": "Total issues metrics.",
"args": [
],
......@@ -72798,7 +72798,7 @@
"fields": [
{
"name": "count",
"description": "The count metric",
"description": "The count metric.",
"args": [
],
......@@ -72816,7 +72816,7 @@
},
{
"name": "weight",
"description": "The weight metric",
"description": "The weight metric.",
"args": [
],
......@@ -72847,7 +72847,7 @@
"fields": [
{
"name": "burnupTimeSeries",
"description": "Daily scope and completed totals for burnup charts",
"description": "Daily scope and completed totals for burnup charts.",
"args": [
],
......@@ -72869,7 +72869,7 @@
},
{
"name": "stats",
"description": "Represents the time report stats for the timebox",
"description": "Represents the time report stats for the timebox.",
"args": [
],
......@@ -72896,7 +72896,7 @@
"fields": [
{
"name": "report",
"description": "Historically accurate report about the timebox",
"description": "Historically accurate report about the timebox.",
"args": [
],
......@@ -72971,7 +72971,7 @@
"fields": [
{
"name": "issue",
"description": "The issue that logged time was added to",
"description": "The issue that logged time was added to.",
"args": [
],
......@@ -72985,7 +72985,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": [
],
......@@ -72999,7 +72999,7 @@
},
{
"name": "spentAt",
"description": "Timestamp of when the time tracked was spent at",
"description": "Timestamp of when the time tracked was spent at.",
"args": [
],
......@@ -73013,7 +73013,7 @@
},
{
"name": "timeSpent",
"description": "The time spent displayed in seconds",
"description": "The time spent displayed in seconds.",
"args": [
],
......@@ -73031,7 +73031,7 @@
},
{
"name": "user",
"description": "The user that logged the time",
"description": "The user that logged the time.",
"args": [
],
......@@ -78917,7 +78917,7 @@
},
{
"name": "date",
"description": "Date for the count",
"description": "Date for the count.",
"args": [
],
......@@ -79007,7 +79007,7 @@
},
{
"name": "total",
"description": "Total number of vulnerabilities on a particular day",
"description": "Total number of vulnerabilities on a particular day.",
"args": [
],
......@@ -79056,7 +79056,7 @@
"fields": [
{
"name": "count",
"description": "Number of vulnerabilities",
"description": "Number of vulnerabilities.",
"args": [
],
......@@ -79070,7 +79070,7 @@
},
{
"name": "day",
"description": "Date for the count",
"description": "Date for the count.",
"args": [
],
......@@ -79084,7 +79084,7 @@
},
{
"name": "severity",
"description": "Severity of the counted vulnerabilities",
"description": "Severity of the counted vulnerabilities.",
"args": [
],
......@@ -79345,7 +79345,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": [
],
......@@ -79373,7 +79373,7 @@
},
{
"name": "description",
"description": "Description of the vulnerability",
"description": "Description of the vulnerability.",
"args": [
],
......@@ -79387,7 +79387,7 @@
},
{
"name": "details",
"description": "Details of the vulnerability",
"description": "Details of the vulnerability.",
"args": [
],
......@@ -79413,7 +79413,7 @@
},
{
"name": "detectedAt",
"description": "Timestamp of when the vulnerability was first detected",
"description": "Timestamp of when the vulnerability was first detected.",
"args": [
],
......@@ -79488,7 +79488,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": [
],
......@@ -79516,7 +79516,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",
......@@ -79587,7 +79587,7 @@
},
{
"name": "id",
"description": "GraphQL ID of the vulnerability",
"description": "GraphQL ID of the vulnerability.",
"args": [
],
......@@ -79631,7 +79631,7 @@
},
{
"name": "issueLinks",
"description": "List of issue links related to the vulnerability",
"description": "List of issue links related to the vulnerability.",
"args": [
{
"name": "linkType",
......@@ -79698,7 +79698,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": [
],
......@@ -79797,7 +79797,7 @@
},
{
"name": "project",
"description": "The project on which the vulnerability was found",
"description": "The project on which the vulnerability was found.",
"args": [
],
......@@ -79825,7 +79825,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": [
],
......@@ -79853,7 +79853,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": [
],
......@@ -79913,7 +79913,7 @@
},
{
"name": "title",
"description": "Title of the vulnerability",
"description": "Title of the vulnerability.",
"args": [
],
......@@ -79927,7 +79927,7 @@
},
{
"name": "userNotesCount",
"description": "Number of user notes attached to the vulnerability",
"description": "Number of user notes attached to the vulnerability.",
"args": [
],
......@@ -79963,7 +79963,7 @@
},
{
"name": "vulnerabilityPath",
"description": "URL to the vulnerability's details page",
"description": "URL to the vulnerability's details page.",
"args": [
],
......@@ -81624,7 +81624,7 @@
"fields": [
{
"name": "externalIssue",
"description": "The external issue attached to the issue link",
"description": "The external issue attached to the issue link.",
"args": [
],
......@@ -81638,7 +81638,7 @@
},
{
"name": "id",
"description": "GraphQL ID of the external issue link",
"description": "GraphQL ID of the external issue link.",
"args": [
],
......@@ -81656,7 +81656,7 @@
},
{
"name": "linkType",
"description": "Type of the external issue link",
"description": "Type of the external issue link.",
"args": [
],
......@@ -82102,7 +82102,7 @@
"fields": [
{
"name": "externalId",
"description": "External ID of the vulnerability identifier",
"description": "External ID of the vulnerability identifier.",
"args": [
],
......@@ -82116,7 +82116,7 @@
},
{
"name": "externalType",
"description": "External type of the vulnerability identifier",
"description": "External type of the vulnerability identifier.",
"args": [
],
......@@ -82130,7 +82130,7 @@
},
{
"name": "name",
"description": "Name of the vulnerability identifier",
"description": "Name of the vulnerability identifier.",
"args": [
],
......@@ -82144,7 +82144,7 @@
},
{
"name": "url",
"description": "URL of the vulnerability identifier",
"description": "URL of the vulnerability identifier.",
"args": [
],
......@@ -82171,7 +82171,7 @@
"fields": [
{
"name": "id",
"description": "GraphQL ID of the vulnerability",
"description": "GraphQL ID of the vulnerability.",
"args": [
],
......@@ -82189,7 +82189,7 @@
},
{
"name": "issue",
"description": "The issue attached to issue link",
"description": "The issue attached to issue link.",
"args": [
],
......@@ -82207,7 +82207,7 @@
},
{
"name": "linkType",
"description": "Type of the issue link",
"description": "Type of the issue link.",
"args": [
],
......@@ -82414,7 +82414,7 @@
"fields": [
{
"name": "dependency",
"description": "Dependency containing the vulnerability",
"description": "Dependency containing the vulnerability.",
"args": [
],
......@@ -82428,7 +82428,7 @@
},
{
"name": "image",
"description": "Name of the vulnerable container image",
"description": "Name of the vulnerable container image.",
"args": [
],
......@@ -82442,7 +82442,7 @@
},
{
"name": "operatingSystem",
"description": "Operating system that runs on the vulnerable container image",
"description": "Operating system that runs on the vulnerable container image.",
"args": [
],
......@@ -82469,7 +82469,7 @@
"fields": [
{
"name": "blobPath",
"description": "Blob path to the vulnerable file",
"description": "Blob path to the vulnerable file.",
"args": [
],
......@@ -82483,7 +82483,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": [
],
......@@ -82497,7 +82497,7 @@
},
{
"name": "file",
"description": "Path to the vulnerable file",
"description": "Path to the vulnerable file.",
"args": [
],
......@@ -82511,7 +82511,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": [
],
......@@ -82525,7 +82525,7 @@
},
{
"name": "vulnerableClass",
"description": "Class containing the vulnerability",
"description": "Class containing the vulnerability.",
"args": [
],
......@@ -82539,7 +82539,7 @@
},
{
"name": "vulnerableMethod",
"description": "Method containing the vulnerability",
"description": "Method containing the vulnerability.",
"args": [
],
......@@ -82566,7 +82566,7 @@
"fields": [
{
"name": "hostname",
"description": "Domain name of the vulnerable request",
"description": "Domain name of the vulnerable request.",
"args": [
],
......@@ -82580,7 +82580,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": [
],
......@@ -82594,7 +82594,7 @@
},
{
"name": "path",
"description": "URL path and query string of the vulnerable request",
"description": "URL path and query string of the vulnerable request.",
"args": [
],
......@@ -82608,7 +82608,7 @@
},
{
"name": "requestMethod",
"description": "HTTP method of the vulnerable request",
"description": "HTTP method of the vulnerable request.",
"args": [
],
......@@ -82635,7 +82635,7 @@
"fields": [
{
"name": "blobPath",
"description": "Blob path to the vulnerable file",
"description": "Blob path to the vulnerable file.",
"args": [
],
......@@ -82649,7 +82649,7 @@
},
{
"name": "dependency",
"description": "Dependency containing the vulnerability",
"description": "Dependency containing the vulnerability.",
"args": [
],
......@@ -82663,7 +82663,7 @@
},
{
"name": "file",
"description": "Path to the vulnerable file",
"description": "Path to the vulnerable file.",
"args": [
],
......@@ -82690,7 +82690,7 @@
"fields": [
{
"name": "blobPath",
"description": "Blob path to the vulnerable file",
"description": "Blob path to the vulnerable file.",
"args": [
],
......@@ -82704,7 +82704,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": [
],
......@@ -82718,7 +82718,7 @@
},
{
"name": "file",
"description": "Path to the vulnerable file",
"description": "Path to the vulnerable file.",
"args": [
],
......@@ -82732,7 +82732,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": [
],
......@@ -82746,7 +82746,7 @@
},
{
"name": "vulnerableClass",
"description": "Class containing the vulnerability",
"description": "Class containing the vulnerability.",
"args": [
],
......@@ -82760,7 +82760,7 @@
},
{
"name": "vulnerableMethod",
"description": "Method containing the vulnerability",
"description": "Method containing the vulnerability.",
"args": [
],
......@@ -82787,7 +82787,7 @@
"fields": [
{
"name": "blobPath",
"description": "Blob path to the vulnerable file",
"description": "Blob path to the vulnerable file.",
"args": [
],
......@@ -82801,7 +82801,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": [
],
......@@ -82815,7 +82815,7 @@
},
{
"name": "file",
"description": "Path to the vulnerable file",
"description": "Path to the vulnerable file.",
"args": [
],
......@@ -82829,7 +82829,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": [
],
......@@ -82843,7 +82843,7 @@
},
{
"name": "vulnerableClass",
"description": "Class containing the vulnerability",
"description": "Class containing the vulnerability.",
"args": [
],
......@@ -82857,7 +82857,7 @@
},
{
"name": "vulnerableMethod",
"description": "Method containing the vulnerability",
"description": "Method containing the vulnerability.",
"args": [
],
......@@ -83316,7 +83316,7 @@
"fields": [
{
"name": "externalId",
"description": "External ID of the vulnerability scanner",
"description": "External ID of the vulnerability scanner.",
"args": [
],
......@@ -83330,7 +83330,7 @@
},
{
"name": "name",
"description": "Name of the vulnerability scanner",
"description": "Name of the vulnerability scanner.",
"args": [
],
......@@ -83344,7 +83344,7 @@
},
{
"name": "reportType",
"description": "Type of the vulnerability report",
"description": "Type of the vulnerability report.",
"args": [
],
......@@ -83358,7 +83358,7 @@
},
{
"name": "vendor",
"description": "Vendor of the vulnerability scanner",
"description": "Vendor of the vulnerability scanner.",
"args": [
],
......@@ -83747,7 +83747,7 @@
"fields": [
{
"name": "package",
"description": "The package associated with the vulnerable dependency",
"description": "The package associated with the vulnerable dependency.",
"args": [
],
......@@ -83761,7 +83761,7 @@
},
{
"name": "version",
"description": "The version of the vulnerable dependency",
"description": "The version of the vulnerable dependency.",
"args": [
],
......@@ -83788,7 +83788,7 @@
"fields": [
{
"name": "name",
"description": "The name of the vulnerable package",
"description": "The name of the vulnerable package.",
"args": [
],
......@@ -83815,7 +83815,7 @@
"fields": [
{
"name": "count",
"description": "Number of projects within this grade",
"description": "Number of projects within this grade.",
"args": [
],
......@@ -83833,7 +83833,7 @@
},
{
"name": "grade",
"description": "Grade based on the highest severity vulnerability present",
"description": "Grade based on the highest severity vulnerability present.",
"args": [
],
......@@ -83851,7 +83851,7 @@
},
{
"name": "projects",
"description": "Projects within this grade",
"description": "Projects within this grade.",
"args": [
{
"name": "after",
......@@ -1683,37 +1683,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
......@@ -1838,7 +1838,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
......@@ -1900,11 +1900,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
......@@ -1920,10 +1920,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
......@@ -2135,21 +2135,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
......@@ -2348,7 +2348,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 |
......@@ -2462,11 +2462,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
......@@ -2498,7 +2498,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. |
......@@ -2688,7 +2688,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 |
......@@ -3223,20 +3223,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
......@@ -3257,8 +3257,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
......@@ -3368,8 +3368,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
......@@ -3391,10 +3391,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
......@@ -3605,7 +3605,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
......@@ -3704,7 +3704,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
......@@ -3712,10 +3712,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
......@@ -3723,9 +3723,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
......@@ -3733,8 +3733,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
......@@ -3742,18 +3742,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
......@@ -4062,12 +4062,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
......@@ -4076,9 +4076,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
......@@ -4086,35 +4086,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
......@@ -4291,9 +4291,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
......@@ -4320,10 +4320,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
......@@ -4331,9 +4331,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
......@@ -4341,9 +4341,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
......@@ -4351,12 +4351,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
......@@ -4364,10 +4364,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
......@@ -4375,9 +4375,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
......@@ -4385,12 +4385,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
......@@ -4398,12 +4398,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
......@@ -4447,10 +4447,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
......@@ -4471,8 +4471,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
......@@ -4480,7 +4480,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
......@@ -4488,9 +4488,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