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: ...@@ -691,47 +691,6 @@ RSpec/TimecopTravel:
- 'spec/workers/concerns/reenqueuer_spec.rb' - 'spec/workers/concerns/reenqueuer_spec.rb'
- 'spec/lib/gitlab/analytics/cycle_analytics/median_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 # WIP: https://gitlab.com/gitlab-org/gitlab/-/issues/34997
RSpec/AnyInstanceOf: RSpec/AnyInstanceOf:
Exclude: Exclude:
......
...@@ -10136,22 +10136,22 @@ A node of an epic tree. ...@@ -10136,22 +10136,22 @@ A node of an epic tree.
""" """
input EpicTreeNodeFieldsInputType { 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 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: EpicTreeSortingID!
""" """
ID of the new parent epic ID of the new parent epic.
""" """
newParentId: EpicID newParentId: EpicID
""" """
The type of the switch, after or before allowed The type of the switch, after or before allowed.
""" """
relativePosition: MoveType relativePosition: MoveType
} }
...@@ -10271,69 +10271,69 @@ Represents an external issue ...@@ -10271,69 +10271,69 @@ Represents an external issue
""" """
type ExternalIssue { type ExternalIssue {
""" """
Timestamp of when the issue was created Timestamp of when the issue was created.
""" """
createdAt: Time createdAt: Time
""" """
Type of external tracker Type of external tracker.
""" """
externalTracker: String externalTracker: String
""" """
Relative reference of the issue in the external tracker Relative reference of the issue in the external tracker.
""" """
relativeReference: String relativeReference: String
""" """
Status of the issue in the external tracker Status of the issue in the external tracker.
""" """
status: String status: String
""" """
Title of the issue in the external tracker Title of the issue in the external tracker.
""" """
title: String title: String
""" """
Timestamp of when the issue was updated Timestamp of when the issue was updated.
""" """
updatedAt: Time updatedAt: Time
""" """
URL to the issue in the external tracker URL to the issue in the external tracker.
""" """
webUrl: String webUrl: String
} }
type GeoNode { 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 containerRepositoriesMaxCapacity: Int
""" """
Indicates whether this Geo node is enabled Indicates whether this Geo node is enabled.
""" """
enabled: Boolean 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 filesMaxCapacity: Int
""" """
ID of this GeoNode ID of this GeoNode.
""" """
id: ID! 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 internalUrl: String
""" """
Find merge request diff registries on this Geo node Find merge request diff registries on this Geo node.
""" """
mergeRequestDiffRegistries( mergeRequestDiffRegistries(
""" """
...@@ -10363,17 +10363,17 @@ type GeoNode { ...@@ -10363,17 +10363,17 @@ type GeoNode {
): MergeRequestDiffRegistryConnection ): 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 minimumReverificationInterval: Int
""" """
The unique identifier for this Geo node The unique identifier for this Geo node.
""" """
name: String name: String
""" """
Package file registries of the GeoNode Package file registries of the GeoNode.
""" """
packageFileRegistries( packageFileRegistries(
""" """
...@@ -10403,17 +10403,17 @@ type GeoNode { ...@@ -10403,17 +10403,17 @@ type GeoNode {
): PackageFileRegistryConnection ): PackageFileRegistryConnection
""" """
Indicates whether this Geo node is the primary Indicates whether this Geo node is the primary.
""" """
primary: Boolean primary: Boolean
""" """
The maximum concurrency of repository backfill for this secondary node The maximum concurrency of repository backfill for this secondary node.
""" """
reposMaxCapacity: Int 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( selectiveSyncNamespaces(
""" """
...@@ -10438,17 +10438,17 @@ type GeoNode { ...@@ -10438,17 +10438,17 @@ type GeoNode {
): NamespaceConnection ): 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!] 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 selectiveSyncType: String
""" """
Find snippet repository registries on this Geo node Find snippet repository registries on this Geo node.
""" """
snippetRepositoryRegistries( snippetRepositoryRegistries(
""" """
...@@ -10478,12 +10478,12 @@ type GeoNode { ...@@ -10478,12 +10478,12 @@ type GeoNode {
): SnippetRepositoryRegistryConnection ): 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 syncObjectStorage: Boolean
""" """
Find terraform state version registries on this Geo node Find terraform state version registries on this Geo node.
""" """
terraformStateVersionRegistries( terraformStateVersionRegistries(
""" """
...@@ -10513,12 +10513,12 @@ type GeoNode { ...@@ -10513,12 +10513,12 @@ type GeoNode {
): TerraformStateVersionRegistryConnection ): TerraformStateVersionRegistryConnection
""" """
The user-facing URL for this Geo node The user-facing URL for this Geo node.
""" """
url: String url: String
""" """
The maximum concurrency of repository verification for this secondary node The maximum concurrency of repository verification for this secondary node.
""" """
verificationMaxCapacity: Int verificationMaxCapacity: Int
} }
...@@ -12005,7 +12005,7 @@ Contains statistics about a group ...@@ -12005,7 +12005,7 @@ Contains statistics about a group
""" """
type GroupStats { type GroupStats {
""" """
Statistics related to releases within the group Statistics related to releases within the group.
""" """
releaseStats: GroupReleaseStats releaseStats: GroupReleaseStats
} }
...@@ -12344,22 +12344,22 @@ Describes an incident management on-call schedule ...@@ -12344,22 +12344,22 @@ Describes an incident management on-call schedule
""" """
type IncidentManagementOncallSchedule { type IncidentManagementOncallSchedule {
""" """
Description of the on-call schedule Description of the on-call schedule.
""" """
description: String description: String
""" """
Internal ID of the on-call schedule Internal ID of the on-call schedule.
""" """
iid: ID! iid: ID!
""" """
Name of the on-call schedule Name of the on-call schedule.
""" """
name: String! name: String!
""" """
On-call rotations for the on-call schedule On-call rotations for the on-call schedule.
""" """
rotations( rotations(
""" """
...@@ -12384,7 +12384,7 @@ type IncidentManagementOncallSchedule { ...@@ -12384,7 +12384,7 @@ type IncidentManagementOncallSchedule {
): IncidentManagementOncallRotationConnection! ): IncidentManagementOncallRotationConnection!
""" """
Time zone of the on-call schedule Time zone of the on-call schedule.
""" """
timezone: String! timezone: String!
} }
...@@ -12481,7 +12481,7 @@ type IncidentManagementOncallShiftEdge { ...@@ -12481,7 +12481,7 @@ type IncidentManagementOncallShiftEdge {
type InstanceSecurityDashboard { type InstanceSecurityDashboard {
""" """
Projects selected in Instance Security Dashboard Projects selected in Instance Security Dashboard.
""" """
projects( projects(
""" """
...@@ -12506,12 +12506,12 @@ type InstanceSecurityDashboard { ...@@ -12506,12 +12506,12 @@ type InstanceSecurityDashboard {
): ProjectConnection! ): ProjectConnection!
""" """
Represents vulnerable project counts for each grade Represents vulnerable project counts for each grade.
""" """
vulnerabilityGrades: [VulnerableProjectsByGrade!]! 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( vulnerabilityScanners(
""" """
...@@ -12536,7 +12536,7 @@ type InstanceSecurityDashboard { ...@@ -12536,7 +12536,7 @@ type InstanceSecurityDashboard {
): VulnerabilityScannerConnection ): 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( vulnerabilitySeveritiesCount(
""" """
...@@ -13883,12 +13883,12 @@ Represents an iteration object ...@@ -13883,12 +13883,12 @@ Represents an iteration object
""" """
type Iteration implements TimeboxReportInterface { type Iteration implements TimeboxReportInterface {
""" """
Timestamp of iteration creation Timestamp of iteration creation.
""" """
createdAt: Time! createdAt: Time!
""" """
Description of the iteration Description of the iteration.
""" """
description: String description: String
...@@ -13898,62 +13898,62 @@ type Iteration implements TimeboxReportInterface { ...@@ -13898,62 +13898,62 @@ type Iteration implements TimeboxReportInterface {
descriptionHtml: String descriptionHtml: String
""" """
Timestamp of the iteration due date Timestamp of the iteration due date.
""" """
dueDate: Time dueDate: Time
""" """
ID of the iteration ID of the iteration.
""" """
id: ID! id: ID!
""" """
Internal ID of the iteration Internal ID of the iteration.
""" """
iid: ID! iid: ID!
""" """
Historically accurate report about the timebox Historically accurate report about the timebox.
""" """
report: TimeboxReport 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 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 scopedUrl: String
""" """
Timestamp of the iteration start date Timestamp of the iteration start date.
""" """
startDate: Time startDate: Time
""" """
State of the iteration State of the iteration.
""" """
state: IterationState! state: IterationState!
""" """
Title of the iteration Title of the iteration.
""" """
title: String! title: String!
""" """
Timestamp of last iteration update Timestamp of last iteration update.
""" """
updatedAt: Time! updatedAt: Time!
""" """
Web path of the iteration Web path of the iteration.
""" """
webPath: String! webPath: String!
""" """
Web URL of the iteration Web URL of the iteration.
""" """
webUrl: String! webUrl: String!
} }
...@@ -15437,7 +15437,7 @@ type MergeRequestDiffRegistry { ...@@ -15437,7 +15437,7 @@ type MergeRequestDiffRegistry {
lastSyncedAt: Time lastSyncedAt: Time
""" """
ID of the Merge Request diff ID of the Merge Request diff.
""" """
mergeRequestDiffId: ID! mergeRequestDiffId: ID!
...@@ -16059,27 +16059,27 @@ Represents a metric image upload ...@@ -16059,27 +16059,27 @@ Represents a metric image upload
""" """
type MetricImage { type MetricImage {
""" """
File name of the metric image File name of the metric image.
""" """
fileName: String fileName: String
""" """
File path of the metric image File path of the metric image.
""" """
filePath: String filePath: String
""" """
ID of the metric upload ID of the metric upload.
""" """
id: ID! id: ID!
""" """
Internal ID of the metric upload Internal ID of the metric upload.
""" """
iid: ID! iid: ID!
""" """
URL of the metric source URL of the metric source.
""" """
url: String! url: String!
} }
...@@ -16233,7 +16233,7 @@ type Milestone implements TimeboxReportInterface { ...@@ -16233,7 +16233,7 @@ type Milestone implements TimeboxReportInterface {
projectMilestone: Boolean! projectMilestone: Boolean!
""" """
Historically accurate report about the timebox Historically accurate report about the timebox.
""" """
report: TimeboxReport report: TimeboxReport
...@@ -17680,7 +17680,7 @@ type PackageFileRegistry { ...@@ -17680,7 +17680,7 @@ type PackageFileRegistry {
lastSyncedAt: Time lastSyncedAt: Time
""" """
ID of the PackageFile ID of the PackageFile.
""" """
packageFileId: ID! packageFileId: ID!
...@@ -22449,17 +22449,17 @@ Represents a requirement ...@@ -22449,17 +22449,17 @@ Represents a requirement
""" """
type Requirement { type Requirement {
""" """
Author of the requirement Author of the requirement.
""" """
author: User! author: User!
""" """
Timestamp of when the requirement was created Timestamp of when the requirement was created.
""" """
createdAt: Time! createdAt: Time!
""" """
Description of the requirement Description of the requirement.
""" """
description: String description: String
...@@ -22469,37 +22469,37 @@ type Requirement { ...@@ -22469,37 +22469,37 @@ type Requirement {
descriptionHtml: String descriptionHtml: String
""" """
ID of the requirement ID of the requirement.
""" """
id: ID! id: ID!
""" """
Internal ID of the requirement Internal ID of the requirement.
""" """
iid: ID! iid: ID!
""" """
Indicates if latest test report was created by user Indicates if latest test report was created by user.
""" """
lastTestReportManuallyCreated: Boolean lastTestReportManuallyCreated: Boolean
""" """
Latest requirement test report state Latest requirement test report state.
""" """
lastTestReportState: TestReportState lastTestReportState: TestReportState
""" """
Project to which the requirement belongs Project to which the requirement belongs.
""" """
project: Project! project: Project!
""" """
State of the requirement State of the requirement.
""" """
state: RequirementState! state: RequirementState!
""" """
Test reports of the requirement Test reports of the requirement.
""" """
testReports( testReports(
""" """
...@@ -22529,7 +22529,7 @@ type Requirement { ...@@ -22529,7 +22529,7 @@ type Requirement {
): TestReportConnection ): TestReportConnection
""" """
Title of the requirement Title of the requirement.
""" """
title: String title: String
...@@ -22539,7 +22539,7 @@ type Requirement { ...@@ -22539,7 +22539,7 @@ type Requirement {
titleHtml: String titleHtml: String
""" """
Timestamp of when the requirement was last updated Timestamp of when the requirement was last updated.
""" """
updatedAt: Time! updatedAt: Time!
...@@ -22627,12 +22627,12 @@ Counts of requirements by their state ...@@ -22627,12 +22627,12 @@ Counts of requirements by their state
""" """
type RequirementStatesCount { type RequirementStatesCount {
""" """
Number of archived requirements Number of archived requirements.
""" """
archived: Int archived: Int
""" """
Number of opened requirements Number of opened requirements.
""" """
opened: Int opened: Int
} }
...@@ -23311,12 +23311,12 @@ Represents a resource scanned by a security scan ...@@ -23311,12 +23311,12 @@ Represents a resource scanned by a security scan
""" """
type ScannedResource { type ScannedResource {
""" """
The HTTP request method used to access the URL The HTTP request method used to access the URL.
""" """
requestMethod: String requestMethod: String
""" """
The URL scanned by the scanner The URL scanned by the scanner.
""" """
url: String url: String
} }
...@@ -23401,7 +23401,7 @@ Represents a section of a summary of a security report ...@@ -23401,7 +23401,7 @@ Represents a section of a summary of a security report
""" """
type SecurityReportSummarySection { type SecurityReportSummarySection {
""" """
A list of the first 20 scanned resources A list of the first 20 scanned resources.
""" """
scannedResources( scannedResources(
""" """
...@@ -23426,17 +23426,17 @@ type SecurityReportSummarySection { ...@@ -23426,17 +23426,17 @@ type SecurityReportSummarySection {
): ScannedResourceConnection ): ScannedResourceConnection
""" """
Total number of scanned resources Total number of scanned resources.
""" """
scannedResourcesCount: Int scannedResourcesCount: Int
""" """
Path to download all the scanned resources in CSV format Path to download all the scanned resources in CSV format.
""" """
scannedResourcesCsvPath: String scannedResourcesCsvPath: String
""" """
Total number of vulnerabilities Total number of vulnerabilities.
""" """
vulnerabilitiesCount: Int vulnerabilitiesCount: Int
} }
...@@ -24639,7 +24639,7 @@ type SnippetRepositoryRegistry { ...@@ -24639,7 +24639,7 @@ type SnippetRepositoryRegistry {
retryCount: Int retryCount: Int
""" """
ID of the Snippet Repository ID of the Snippet Repository.
""" """
snippetRepositoryId: ID! snippetRepositoryId: ID!
...@@ -25097,7 +25097,7 @@ type TerraformStateVersionRegistry { ...@@ -25097,7 +25097,7 @@ type TerraformStateVersionRegistry {
state: RegistryState state: RegistryState
""" """
ID of the terraform state version ID of the terraform state version.
""" """
terraformStateVersionId: ID! terraformStateVersionId: ID!
} }
...@@ -25142,22 +25142,22 @@ Represents a requirement test report ...@@ -25142,22 +25142,22 @@ Represents a requirement test report
""" """
type TestReport { type TestReport {
""" """
Author of the test report Author of the test report.
""" """
author: User author: User
""" """
Timestamp of when the test report was created Timestamp of when the test report was created.
""" """
createdAt: Time! createdAt: Time!
""" """
ID of the test report ID of the test report.
""" """
id: ID! id: ID!
""" """
State of the test report State of the test report.
""" """
state: TestReportState! state: TestReportState!
} }
...@@ -25215,17 +25215,17 @@ Represents the time report stats for timeboxes ...@@ -25215,17 +25215,17 @@ Represents the time report stats for timeboxes
""" """
type TimeReportStats { type TimeReportStats {
""" """
Completed issues metrics Completed issues metrics.
""" """
complete: TimeboxMetrics complete: TimeboxMetrics
""" """
Incomplete issues metrics Incomplete issues metrics.
""" """
incomplete: TimeboxMetrics incomplete: TimeboxMetrics
""" """
Total issues metrics Total issues metrics.
""" """
total: TimeboxMetrics total: TimeboxMetrics
} }
...@@ -25235,12 +25235,12 @@ Represents measured stats metrics for timeboxes ...@@ -25235,12 +25235,12 @@ Represents measured stats metrics for timeboxes
""" """
type TimeboxMetrics { type TimeboxMetrics {
""" """
The count metric The count metric.
""" """
count: Int! count: Int!
""" """
The weight metric The weight metric.
""" """
weight: Int! weight: Int!
} }
...@@ -25250,19 +25250,19 @@ Represents a historically accurate report about the timebox ...@@ -25250,19 +25250,19 @@ Represents a historically accurate report about the timebox
""" """
type TimeboxReport { type TimeboxReport {
""" """
Daily scope and completed totals for burnup charts Daily scope and completed totals for burnup charts.
""" """
burnupTimeSeries: [BurnupChartDailyTotals!] burnupTimeSeries: [BurnupChartDailyTotals!]
""" """
Represents the time report stats for the timebox Represents the time report stats for the timebox.
""" """
stats: TimeReportStats stats: TimeReportStats
} }
interface TimeboxReportInterface { interface TimeboxReportInterface {
""" """
Historically accurate report about the timebox Historically accurate report about the timebox.
""" """
report: TimeboxReport report: TimeboxReport
} }
...@@ -25284,27 +25284,27 @@ input Timeframe { ...@@ -25284,27 +25284,27 @@ input Timeframe {
type Timelog { type Timelog {
""" """
The issue that logged time was added to The issue that logged time was added to.
""" """
issue: Issue 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 note: Note
""" """
Timestamp of when the time tracked was spent at Timestamp of when the time tracked was spent at.
""" """
spentAt: Time spentAt: Time
""" """
The time spent displayed in seconds The time spent displayed in seconds.
""" """
timeSpent: Int! timeSpent: Int!
""" """
The user that logged the time The user that logged the time.
""" """
user: User! user: User!
} }
...@@ -27449,7 +27449,7 @@ type VulnerabilitiesCountByDay { ...@@ -27449,7 +27449,7 @@ type VulnerabilitiesCountByDay {
critical: Int! critical: Int!
""" """
Date for the count Date for the count.
""" """
date: ISO8601Date! date: ISO8601Date!
...@@ -27474,7 +27474,7 @@ type VulnerabilitiesCountByDay { ...@@ -27474,7 +27474,7 @@ type VulnerabilitiesCountByDay {
medium: Int! medium: Int!
""" """
Total number of vulnerabilities on a particular day Total number of vulnerabilities on a particular day.
""" """
total: Int! total: Int!
...@@ -27489,17 +27489,17 @@ Represents the number of vulnerabilities for a particular severity on a particul ...@@ -27489,17 +27489,17 @@ Represents the number of vulnerabilities for a particular severity on a particul
""" """
type VulnerabilitiesCountByDayAndSeverity { type VulnerabilitiesCountByDayAndSeverity {
""" """
Number of vulnerabilities Number of vulnerabilities.
""" """
count: Int count: Int
""" """
Date for the count Date for the count.
""" """
day: ISO8601Date day: ISO8601Date
""" """
Severity of the counted vulnerabilities Severity of the counted vulnerabilities.
""" """
severity: VulnerabilitySeverity severity: VulnerabilitySeverity
} }
...@@ -27584,7 +27584,7 @@ Represents a vulnerability ...@@ -27584,7 +27584,7 @@ Represents a vulnerability
""" """
type Vulnerability implements Noteable { 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 confirmedAt: Time
...@@ -27594,17 +27594,17 @@ type Vulnerability implements Noteable { ...@@ -27594,17 +27594,17 @@ type Vulnerability implements Noteable {
confirmedBy: User confirmedBy: User
""" """
Description of the vulnerability Description of the vulnerability.
""" """
description: String description: String
""" """
Details of the vulnerability Details of the vulnerability.
""" """
details: [VulnerabilityDetail!]! details: [VulnerabilityDetail!]!
""" """
Timestamp of when the vulnerability was first detected Timestamp of when the vulnerability was first detected.
""" """
detectedAt: Time! detectedAt: Time!
...@@ -27634,7 +27634,7 @@ type Vulnerability implements Noteable { ...@@ -27634,7 +27634,7 @@ type Vulnerability implements Noteable {
): DiscussionConnection! ): DiscussionConnection!
""" """
Timestamp of when the vulnerability state was changed to dismissed Timestamp of when the vulnerability state was changed to dismissed.
""" """
dismissedAt: Time dismissedAt: Time
...@@ -27644,7 +27644,7 @@ type Vulnerability implements Noteable { ...@@ -27644,7 +27644,7 @@ type Vulnerability implements Noteable {
dismissedBy: User dismissedBy: User
""" """
List of external issue links related to the vulnerability List of external issue links related to the vulnerability.
""" """
externalIssueLinks( externalIssueLinks(
""" """
...@@ -27674,7 +27674,7 @@ type Vulnerability implements Noteable { ...@@ -27674,7 +27674,7 @@ type Vulnerability implements Noteable {
hasSolutions: Boolean hasSolutions: Boolean
""" """
GraphQL ID of the vulnerability GraphQL ID of the vulnerability.
""" """
id: ID! id: ID!
...@@ -27684,7 +27684,7 @@ type Vulnerability implements Noteable { ...@@ -27684,7 +27684,7 @@ type Vulnerability implements Noteable {
identifiers: [VulnerabilityIdentifier!]! identifiers: [VulnerabilityIdentifier!]!
""" """
List of issue links related to the vulnerability List of issue links related to the vulnerability.
""" """
issueLinks( issueLinks(
""" """
...@@ -27714,7 +27714,7 @@ type Vulnerability implements Noteable { ...@@ -27714,7 +27714,7 @@ type Vulnerability implements Noteable {
): VulnerabilityIssueLinkConnection! ): 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 location: VulnerabilityLocation
...@@ -27754,7 +27754,7 @@ type Vulnerability implements Noteable { ...@@ -27754,7 +27754,7 @@ type Vulnerability implements Noteable {
primaryIdentifier: VulnerabilityIdentifier primaryIdentifier: VulnerabilityIdentifier
""" """
The project on which the vulnerability was found The project on which the vulnerability was found.
""" """
project: Project project: Project
...@@ -27766,7 +27766,7 @@ type Vulnerability implements Noteable { ...@@ -27766,7 +27766,7 @@ type Vulnerability implements Noteable {
reportType: VulnerabilityReportType reportType: VulnerabilityReportType
""" """
Timestamp of when the vulnerability state was changed to resolved Timestamp of when the vulnerability state was changed to resolved.
""" """
resolvedAt: Time resolvedAt: Time
...@@ -27776,7 +27776,7 @@ type Vulnerability implements Noteable { ...@@ -27776,7 +27776,7 @@ type Vulnerability implements Noteable {
resolvedBy: User 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! resolvedOnDefaultBranch: Boolean!
...@@ -27796,12 +27796,12 @@ type Vulnerability implements Noteable { ...@@ -27796,12 +27796,12 @@ type Vulnerability implements Noteable {
state: VulnerabilityState state: VulnerabilityState
""" """
Title of the vulnerability Title of the vulnerability.
""" """
title: String title: String
""" """
Number of user notes attached to the vulnerability Number of user notes attached to the vulnerability.
""" """
userNotesCount: Int! userNotesCount: Int!
...@@ -27811,7 +27811,7 @@ type Vulnerability implements Noteable { ...@@ -27811,7 +27811,7 @@ type Vulnerability implements Noteable {
userPermissions: VulnerabilityPermissions! userPermissions: VulnerabilityPermissions!
""" """
URL to the vulnerability's details page URL to the vulnerability's details page.
""" """
vulnerabilityPath: String vulnerabilityPath: String
} }
...@@ -28326,17 +28326,17 @@ Represents an external issue link of a vulnerability ...@@ -28326,17 +28326,17 @@ Represents an external issue link of a vulnerability
""" """
type VulnerabilityExternalIssueLink { type VulnerabilityExternalIssueLink {
""" """
The external issue attached to the issue link The external issue attached to the issue link.
""" """
externalIssue: ExternalIssue externalIssue: ExternalIssue
""" """
GraphQL ID of the external issue link GraphQL ID of the external issue link.
""" """
id: VulnerabilitiesExternalIssueLinkID! id: VulnerabilitiesExternalIssueLinkID!
""" """
Type of the external issue link Type of the external issue link.
""" """
linkType: VulnerabilityExternalIssueLinkType! linkType: VulnerabilityExternalIssueLinkType!
} }
...@@ -28492,22 +28492,22 @@ Represents a vulnerability identifier ...@@ -28492,22 +28492,22 @@ Represents a vulnerability identifier
""" """
type VulnerabilityIdentifier { type VulnerabilityIdentifier {
""" """
External ID of the vulnerability identifier External ID of the vulnerability identifier.
""" """
externalId: String externalId: String
""" """
External type of the vulnerability identifier External type of the vulnerability identifier.
""" """
externalType: String externalType: String
""" """
Name of the vulnerability identifier Name of the vulnerability identifier.
""" """
name: String name: String
""" """
URL of the vulnerability identifier URL of the vulnerability identifier.
""" """
url: String url: String
} }
...@@ -28517,17 +28517,17 @@ Represents an issue link of a vulnerability ...@@ -28517,17 +28517,17 @@ Represents an issue link of a vulnerability
""" """
type VulnerabilityIssueLink { type VulnerabilityIssueLink {
""" """
GraphQL ID of the vulnerability GraphQL ID of the vulnerability.
""" """
id: ID! id: ID!
""" """
The issue attached to issue link The issue attached to issue link.
""" """
issue: Issue! issue: Issue!
""" """
Type of the issue link Type of the issue link.
""" """
linkType: VulnerabilityIssueLinkType! linkType: VulnerabilityIssueLinkType!
} }
...@@ -28585,17 +28585,17 @@ Represents the location of a vulnerability found by a container security scan ...@@ -28585,17 +28585,17 @@ Represents the location of a vulnerability found by a container security scan
""" """
type VulnerabilityLocationContainerScanning { type VulnerabilityLocationContainerScanning {
""" """
Dependency containing the vulnerability Dependency containing the vulnerability.
""" """
dependency: VulnerableDependency dependency: VulnerableDependency
""" """
Name of the vulnerable container image Name of the vulnerable container image.
""" """
image: String image: String
""" """
Operating system that runs on the vulnerable container image Operating system that runs on the vulnerable container image.
""" """
operatingSystem: String operatingSystem: String
} }
...@@ -28605,32 +28605,32 @@ Represents the location of a vulnerability found by a Coverage Fuzzing scan ...@@ -28605,32 +28605,32 @@ Represents the location of a vulnerability found by a Coverage Fuzzing scan
""" """
type VulnerabilityLocationCoverageFuzzing { type VulnerabilityLocationCoverageFuzzing {
""" """
Blob path to the vulnerable file Blob path to the vulnerable file.
""" """
blobPath: String blobPath: String
""" """
Number of the last relevant line in the vulnerable file Number of the last relevant line in the vulnerable file.
""" """
endLine: String endLine: String
""" """
Path to the vulnerable file Path to the vulnerable file.
""" """
file: String file: String
""" """
Number of the first relevant line in the vulnerable file Number of the first relevant line in the vulnerable file.
""" """
startLine: String startLine: String
""" """
Class containing the vulnerability Class containing the vulnerability.
""" """
vulnerableClass: String vulnerableClass: String
""" """
Method containing the vulnerability Method containing the vulnerability.
""" """
vulnerableMethod: String vulnerableMethod: String
} }
...@@ -28640,22 +28640,22 @@ Represents the location of a vulnerability found by a DAST scan ...@@ -28640,22 +28640,22 @@ Represents the location of a vulnerability found by a DAST scan
""" """
type VulnerabilityLocationDast { type VulnerabilityLocationDast {
""" """
Domain name of the vulnerable request Domain name of the vulnerable request.
""" """
hostname: String hostname: String
""" """
Query parameter for the URL on which the vulnerability occurred Query parameter for the URL on which the vulnerability occurred.
""" """
param: String param: String
""" """
URL path and query string of the vulnerable request URL path and query string of the vulnerable request.
""" """
path: String path: String
""" """
HTTP method of the vulnerable request HTTP method of the vulnerable request.
""" """
requestMethod: String requestMethod: String
} }
...@@ -28665,17 +28665,17 @@ Represents the location of a vulnerability found by a dependency security scan ...@@ -28665,17 +28665,17 @@ Represents the location of a vulnerability found by a dependency security scan
""" """
type VulnerabilityLocationDependencyScanning { type VulnerabilityLocationDependencyScanning {
""" """
Blob path to the vulnerable file Blob path to the vulnerable file.
""" """
blobPath: String blobPath: String
""" """
Dependency containing the vulnerability Dependency containing the vulnerability.
""" """
dependency: VulnerableDependency dependency: VulnerableDependency
""" """
Path to the vulnerable file Path to the vulnerable file.
""" """
file: String file: String
} }
...@@ -28685,32 +28685,32 @@ Represents the location of a vulnerability found by a SAST scan ...@@ -28685,32 +28685,32 @@ Represents the location of a vulnerability found by a SAST scan
""" """
type VulnerabilityLocationSast { type VulnerabilityLocationSast {
""" """
Blob path to the vulnerable file Blob path to the vulnerable file.
""" """
blobPath: String blobPath: String
""" """
Number of the last relevant line in the vulnerable file Number of the last relevant line in the vulnerable file.
""" """
endLine: String endLine: String
""" """
Path to the vulnerable file Path to the vulnerable file.
""" """
file: String file: String
""" """
Number of the first relevant line in the vulnerable file Number of the first relevant line in the vulnerable file.
""" """
startLine: String startLine: String
""" """
Class containing the vulnerability Class containing the vulnerability.
""" """
vulnerableClass: String vulnerableClass: String
""" """
Method containing the vulnerability Method containing the vulnerability.
""" """
vulnerableMethod: String vulnerableMethod: String
} }
...@@ -28720,32 +28720,32 @@ Represents the location of a vulnerability found by a secret detection scan ...@@ -28720,32 +28720,32 @@ Represents the location of a vulnerability found by a secret detection scan
""" """
type VulnerabilityLocationSecretDetection { type VulnerabilityLocationSecretDetection {
""" """
Blob path to the vulnerable file Blob path to the vulnerable file.
""" """
blobPath: String blobPath: String
""" """
Number of the last relevant line in the vulnerable file Number of the last relevant line in the vulnerable file.
""" """
endLine: String endLine: String
""" """
Path to the vulnerable file Path to the vulnerable file.
""" """
file: String file: String
""" """
Number of the first relevant line in the vulnerable file Number of the first relevant line in the vulnerable file.
""" """
startLine: String startLine: String
""" """
Class containing the vulnerability Class containing the vulnerability.
""" """
vulnerableClass: String vulnerableClass: String
""" """
Method containing the vulnerability Method containing the vulnerability.
""" """
vulnerableMethod: String vulnerableMethod: String
} }
...@@ -28888,22 +28888,22 @@ Represents a vulnerability scanner ...@@ -28888,22 +28888,22 @@ Represents a vulnerability scanner
""" """
type VulnerabilityScanner { type VulnerabilityScanner {
""" """
External ID of the vulnerability scanner External ID of the vulnerability scanner.
""" """
externalId: String externalId: String
""" """
Name of the vulnerability scanner Name of the vulnerability scanner.
""" """
name: String name: String
""" """
Type of the vulnerability report Type of the vulnerability report.
""" """
reportType: VulnerabilityReportType reportType: VulnerabilityReportType
""" """
Vendor of the vulnerability scanner Vendor of the vulnerability scanner.
""" """
vendor: String vendor: String
} }
...@@ -29060,12 +29060,12 @@ Represents a vulnerable dependency. Used in vulnerability location data ...@@ -29060,12 +29060,12 @@ Represents a vulnerable dependency. Used in vulnerability location data
""" """
type VulnerableDependency { type VulnerableDependency {
""" """
The package associated with the vulnerable dependency The package associated with the vulnerable dependency.
""" """
package: VulnerablePackage package: VulnerablePackage
""" """
The version of the vulnerable dependency The version of the vulnerable dependency.
""" """
version: String version: String
} }
...@@ -29075,7 +29075,7 @@ Represents a vulnerable package. Used in vulnerability dependency data ...@@ -29075,7 +29075,7 @@ Represents a vulnerable package. Used in vulnerability dependency data
""" """
type VulnerablePackage { type VulnerablePackage {
""" """
The name of the vulnerable package The name of the vulnerable package.
""" """
name: String name: String
} }
...@@ -29085,17 +29085,17 @@ Represents vulnerability letter grades with associated projects ...@@ -29085,17 +29085,17 @@ Represents vulnerability letter grades with associated projects
""" """
type VulnerableProjectsByGrade { type VulnerableProjectsByGrade {
""" """
Number of projects within this grade Number of projects within this grade.
""" """
count: Int! count: Int!
""" """
Grade based on the highest severity vulnerability present Grade based on the highest severity vulnerability present.
""" """
grade: VulnerabilityGrade! grade: VulnerabilityGrade!
""" """
Projects within this grade Projects within this grade.
""" """
projects( projects(
""" """
......
...@@ -27978,7 +27978,7 @@ ...@@ -27978,7 +27978,7 @@
"inputFields": [ "inputFields": [
{ {
"name": "id", "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": { "type": {
"kind": "NON_NULL", "kind": "NON_NULL",
"name": null, "name": null,
...@@ -27992,7 +27992,7 @@ ...@@ -27992,7 +27992,7 @@
}, },
{ {
"name": "adjacentReferenceId", "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": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "EpicTreeSortingID", "name": "EpicTreeSortingID",
...@@ -28002,7 +28002,7 @@ ...@@ -28002,7 +28002,7 @@
}, },
{ {
"name": "relativePosition", "name": "relativePosition",
"description": "The type of the switch, after or before allowed", "description": "The type of the switch, after or before allowed.",
"type": { "type": {
"kind": "ENUM", "kind": "ENUM",
"name": "MoveType", "name": "MoveType",
...@@ -28012,7 +28012,7 @@ ...@@ -28012,7 +28012,7 @@
}, },
{ {
"name": "newParentId", "name": "newParentId",
"description": "ID of the new parent epic", "description": "ID of the new parent epic.",
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "EpicID", "name": "EpicID",
...@@ -28321,7 +28321,7 @@ ...@@ -28321,7 +28321,7 @@
"fields": [ "fields": [
{ {
"name": "createdAt", "name": "createdAt",
"description": "Timestamp of when the issue was created", "description": "Timestamp of when the issue was created.",
"args": [ "args": [
], ],
...@@ -28335,7 +28335,7 @@ ...@@ -28335,7 +28335,7 @@
}, },
{ {
"name": "externalTracker", "name": "externalTracker",
"description": "Type of external tracker", "description": "Type of external tracker.",
"args": [ "args": [
], ],
...@@ -28349,7 +28349,7 @@ ...@@ -28349,7 +28349,7 @@
}, },
{ {
"name": "relativeReference", "name": "relativeReference",
"description": "Relative reference of the issue in the external tracker", "description": "Relative reference of the issue in the external tracker.",
"args": [ "args": [
], ],
...@@ -28363,7 +28363,7 @@ ...@@ -28363,7 +28363,7 @@
}, },
{ {
"name": "status", "name": "status",
"description": "Status of the issue in the external tracker", "description": "Status of the issue in the external tracker.",
"args": [ "args": [
], ],
...@@ -28377,7 +28377,7 @@ ...@@ -28377,7 +28377,7 @@
}, },
{ {
"name": "title", "name": "title",
"description": "Title of the issue in the external tracker", "description": "Title of the issue in the external tracker.",
"args": [ "args": [
], ],
...@@ -28391,7 +28391,7 @@ ...@@ -28391,7 +28391,7 @@
}, },
{ {
"name": "updatedAt", "name": "updatedAt",
"description": "Timestamp of when the issue was updated", "description": "Timestamp of when the issue was updated.",
"args": [ "args": [
], ],
...@@ -28405,7 +28405,7 @@ ...@@ -28405,7 +28405,7 @@
}, },
{ {
"name": "webUrl", "name": "webUrl",
"description": "URL to the issue in the external tracker", "description": "URL to the issue in the external tracker.",
"args": [ "args": [
], ],
...@@ -28442,7 +28442,7 @@ ...@@ -28442,7 +28442,7 @@
"fields": [ "fields": [
{ {
"name": "containerRepositoriesMaxCapacity", "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": [ "args": [
], ],
...@@ -28456,7 +28456,7 @@ ...@@ -28456,7 +28456,7 @@
}, },
{ {
"name": "enabled", "name": "enabled",
"description": "Indicates whether this Geo node is enabled", "description": "Indicates whether this Geo node is enabled.",
"args": [ "args": [
], ],
...@@ -28470,7 +28470,7 @@ ...@@ -28470,7 +28470,7 @@
}, },
{ {
"name": "filesMaxCapacity", "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": [ "args": [
], ],
...@@ -28484,7 +28484,7 @@ ...@@ -28484,7 +28484,7 @@
}, },
{ {
"name": "id", "name": "id",
"description": "ID of this GeoNode", "description": "ID of this GeoNode.",
"args": [ "args": [
], ],
...@@ -28502,7 +28502,7 @@ ...@@ -28502,7 +28502,7 @@
}, },
{ {
"name": "internalUrl", "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": [ "args": [
], ],
...@@ -28516,7 +28516,7 @@ ...@@ -28516,7 +28516,7 @@
}, },
{ {
"name": "mergeRequestDiffRegistries", "name": "mergeRequestDiffRegistries",
"description": "Find merge request diff registries on this Geo node", "description": "Find merge request diff registries on this Geo node.",
"args": [ "args": [
{ {
"name": "ids", "name": "ids",
...@@ -28587,7 +28587,7 @@ ...@@ -28587,7 +28587,7 @@
}, },
{ {
"name": "minimumReverificationInterval", "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": [ "args": [
], ],
...@@ -28601,7 +28601,7 @@ ...@@ -28601,7 +28601,7 @@
}, },
{ {
"name": "name", "name": "name",
"description": "The unique identifier for this Geo node", "description": "The unique identifier for this Geo node.",
"args": [ "args": [
], ],
...@@ -28615,7 +28615,7 @@ ...@@ -28615,7 +28615,7 @@
}, },
{ {
"name": "packageFileRegistries", "name": "packageFileRegistries",
"description": "Package file registries of the GeoNode", "description": "Package file registries of the GeoNode.",
"args": [ "args": [
{ {
"name": "ids", "name": "ids",
...@@ -28686,7 +28686,7 @@ ...@@ -28686,7 +28686,7 @@
}, },
{ {
"name": "primary", "name": "primary",
"description": "Indicates whether this Geo node is the primary", "description": "Indicates whether this Geo node is the primary.",
"args": [ "args": [
], ],
...@@ -28700,7 +28700,7 @@ ...@@ -28700,7 +28700,7 @@
}, },
{ {
"name": "reposMaxCapacity", "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": [ "args": [
], ],
...@@ -28714,7 +28714,7 @@ ...@@ -28714,7 +28714,7 @@
}, },
{ {
"name": "selectiveSyncNamespaces", "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": [ "args": [
{ {
"name": "after", "name": "after",
...@@ -28767,7 +28767,7 @@ ...@@ -28767,7 +28767,7 @@
}, },
{ {
"name": "selectiveSyncShards", "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": [ "args": [
], ],
...@@ -28789,7 +28789,7 @@ ...@@ -28789,7 +28789,7 @@
}, },
{ {
"name": "selectiveSyncType", "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": [ "args": [
], ],
...@@ -28803,7 +28803,7 @@ ...@@ -28803,7 +28803,7 @@
}, },
{ {
"name": "snippetRepositoryRegistries", "name": "snippetRepositoryRegistries",
"description": "Find snippet repository registries on this Geo node", "description": "Find snippet repository registries on this Geo node.",
"args": [ "args": [
{ {
"name": "ids", "name": "ids",
...@@ -28874,7 +28874,7 @@ ...@@ -28874,7 +28874,7 @@
}, },
{ {
"name": "syncObjectStorage", "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": [ "args": [
], ],
...@@ -28888,7 +28888,7 @@ ...@@ -28888,7 +28888,7 @@
}, },
{ {
"name": "terraformStateVersionRegistries", "name": "terraformStateVersionRegistries",
"description": "Find terraform state version registries on this Geo node", "description": "Find terraform state version registries on this Geo node.",
"args": [ "args": [
{ {
"name": "ids", "name": "ids",
...@@ -28959,7 +28959,7 @@ ...@@ -28959,7 +28959,7 @@
}, },
{ {
"name": "url", "name": "url",
"description": "The user-facing URL for this Geo node", "description": "The user-facing URL for this Geo node.",
"args": [ "args": [
], ],
...@@ -28973,7 +28973,7 @@ ...@@ -28973,7 +28973,7 @@
}, },
{ {
"name": "verificationMaxCapacity", "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": [ "args": [
], ],
...@@ -32637,7 +32637,7 @@ ...@@ -32637,7 +32637,7 @@
"fields": [ "fields": [
{ {
"name": "releaseStats", "name": "releaseStats",
"description": "Statistics related to releases within the group", "description": "Statistics related to releases within the group.",
"args": [ "args": [
], ],
...@@ -33582,7 +33582,7 @@ ...@@ -33582,7 +33582,7 @@
"fields": [ "fields": [
{ {
"name": "description", "name": "description",
"description": "Description of the on-call schedule", "description": "Description of the on-call schedule.",
"args": [ "args": [
], ],
...@@ -33596,7 +33596,7 @@ ...@@ -33596,7 +33596,7 @@
}, },
{ {
"name": "iid", "name": "iid",
"description": "Internal ID of the on-call schedule", "description": "Internal ID of the on-call schedule.",
"args": [ "args": [
], ],
...@@ -33614,7 +33614,7 @@ ...@@ -33614,7 +33614,7 @@
}, },
{ {
"name": "name", "name": "name",
"description": "Name of the on-call schedule", "description": "Name of the on-call schedule.",
"args": [ "args": [
], ],
...@@ -33632,7 +33632,7 @@ ...@@ -33632,7 +33632,7 @@
}, },
{ {
"name": "rotations", "name": "rotations",
"description": "On-call rotations for the on-call schedule", "description": "On-call rotations for the on-call schedule.",
"args": [ "args": [
{ {
"name": "after", "name": "after",
...@@ -33689,7 +33689,7 @@ ...@@ -33689,7 +33689,7 @@
}, },
{ {
"name": "timezone", "name": "timezone",
"description": "Time zone of the on-call schedule", "description": "Time zone of the on-call schedule.",
"args": [ "args": [
], ],
...@@ -33999,7 +33999,7 @@ ...@@ -33999,7 +33999,7 @@
"fields": [ "fields": [
{ {
"name": "projects", "name": "projects",
"description": "Projects selected in Instance Security Dashboard", "description": "Projects selected in Instance Security Dashboard.",
"args": [ "args": [
{ {
"name": "after", "name": "after",
...@@ -34056,7 +34056,7 @@ ...@@ -34056,7 +34056,7 @@
}, },
{ {
"name": "vulnerabilityGrades", "name": "vulnerabilityGrades",
"description": "Represents vulnerable project counts for each grade", "description": "Represents vulnerable project counts for each grade.",
"args": [ "args": [
], ],
...@@ -34082,7 +34082,7 @@ ...@@ -34082,7 +34082,7 @@
}, },
{ {
"name": "vulnerabilityScanners", "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": [ "args": [
{ {
"name": "after", "name": "after",
...@@ -34135,7 +34135,7 @@ ...@@ -34135,7 +34135,7 @@
}, },
{ {
"name": "vulnerabilitySeveritiesCount", "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": [ "args": [
{ {
"name": "projectId", "name": "projectId",
...@@ -37763,7 +37763,7 @@ ...@@ -37763,7 +37763,7 @@
"fields": [ "fields": [
{ {
"name": "createdAt", "name": "createdAt",
"description": "Timestamp of iteration creation", "description": "Timestamp of iteration creation.",
"args": [ "args": [
], ],
...@@ -37781,7 +37781,7 @@ ...@@ -37781,7 +37781,7 @@
}, },
{ {
"name": "description", "name": "description",
"description": "Description of the iteration", "description": "Description of the iteration.",
"args": [ "args": [
], ],
...@@ -37809,7 +37809,7 @@ ...@@ -37809,7 +37809,7 @@
}, },
{ {
"name": "dueDate", "name": "dueDate",
"description": "Timestamp of the iteration due date", "description": "Timestamp of the iteration due date.",
"args": [ "args": [
], ],
...@@ -37823,7 +37823,7 @@ ...@@ -37823,7 +37823,7 @@
}, },
{ {
"name": "id", "name": "id",
"description": "ID of the iteration", "description": "ID of the iteration.",
"args": [ "args": [
], ],
...@@ -37841,7 +37841,7 @@ ...@@ -37841,7 +37841,7 @@
}, },
{ {
"name": "iid", "name": "iid",
"description": "Internal ID of the iteration", "description": "Internal ID of the iteration.",
"args": [ "args": [
], ],
...@@ -37859,7 +37859,7 @@ ...@@ -37859,7 +37859,7 @@
}, },
{ {
"name": "report", "name": "report",
"description": "Historically accurate report about the timebox", "description": "Historically accurate report about the timebox.",
"args": [ "args": [
], ],
...@@ -37873,7 +37873,7 @@ ...@@ -37873,7 +37873,7 @@
}, },
{ {
"name": "scopedPath", "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": [ "args": [
], ],
...@@ -37887,7 +37887,7 @@ ...@@ -37887,7 +37887,7 @@
}, },
{ {
"name": "scopedUrl", "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": [ "args": [
], ],
...@@ -37901,7 +37901,7 @@ ...@@ -37901,7 +37901,7 @@
}, },
{ {
"name": "startDate", "name": "startDate",
"description": "Timestamp of the iteration start date", "description": "Timestamp of the iteration start date.",
"args": [ "args": [
], ],
...@@ -37915,7 +37915,7 @@ ...@@ -37915,7 +37915,7 @@
}, },
{ {
"name": "state", "name": "state",
"description": "State of the iteration", "description": "State of the iteration.",
"args": [ "args": [
], ],
...@@ -37933,7 +37933,7 @@ ...@@ -37933,7 +37933,7 @@
}, },
{ {
"name": "title", "name": "title",
"description": "Title of the iteration", "description": "Title of the iteration.",
"args": [ "args": [
], ],
...@@ -37951,7 +37951,7 @@ ...@@ -37951,7 +37951,7 @@
}, },
{ {
"name": "updatedAt", "name": "updatedAt",
"description": "Timestamp of last iteration update", "description": "Timestamp of last iteration update.",
"args": [ "args": [
], ],
...@@ -37969,7 +37969,7 @@ ...@@ -37969,7 +37969,7 @@
}, },
{ {
"name": "webPath", "name": "webPath",
"description": "Web path of the iteration", "description": "Web path of the iteration.",
"args": [ "args": [
], ],
...@@ -37987,7 +37987,7 @@ ...@@ -37987,7 +37987,7 @@
}, },
{ {
"name": "webUrl", "name": "webUrl",
"description": "Web URL of the iteration", "description": "Web URL of the iteration.",
"args": [ "args": [
], ],
...@@ -42297,7 +42297,7 @@ ...@@ -42297,7 +42297,7 @@
}, },
{ {
"name": "mergeRequestDiffId", "name": "mergeRequestDiffId",
"description": "ID of the Merge Request diff", "description": "ID of the Merge Request diff.",
"args": [ "args": [
], ],
...@@ -43997,7 +43997,7 @@ ...@@ -43997,7 +43997,7 @@
"fields": [ "fields": [
{ {
"name": "fileName", "name": "fileName",
"description": "File name of the metric image", "description": "File name of the metric image.",
"args": [ "args": [
], ],
...@@ -44011,7 +44011,7 @@ ...@@ -44011,7 +44011,7 @@
}, },
{ {
"name": "filePath", "name": "filePath",
"description": "File path of the metric image", "description": "File path of the metric image.",
"args": [ "args": [
], ],
...@@ -44025,7 +44025,7 @@ ...@@ -44025,7 +44025,7 @@
}, },
{ {
"name": "id", "name": "id",
"description": "ID of the metric upload", "description": "ID of the metric upload.",
"args": [ "args": [
], ],
...@@ -44043,7 +44043,7 @@ ...@@ -44043,7 +44043,7 @@
}, },
{ {
"name": "iid", "name": "iid",
"description": "Internal ID of the metric upload", "description": "Internal ID of the metric upload.",
"args": [ "args": [
], ],
...@@ -44061,7 +44061,7 @@ ...@@ -44061,7 +44061,7 @@
}, },
{ {
"name": "url", "name": "url",
"description": "URL of the metric source", "description": "URL of the metric source.",
"args": [ "args": [
], ],
...@@ -44527,7 +44527,7 @@ ...@@ -44527,7 +44527,7 @@
}, },
{ {
"name": "report", "name": "report",
"description": "Historically accurate report about the timebox", "description": "Historically accurate report about the timebox.",
"args": [ "args": [
], ],
...@@ -52055,7 +52055,7 @@ ...@@ -52055,7 +52055,7 @@
}, },
{ {
"name": "packageFileId", "name": "packageFileId",
"description": "ID of the PackageFile", "description": "ID of the PackageFile.",
"args": [ "args": [
], ],
...@@ -64751,7 +64751,7 @@ ...@@ -64751,7 +64751,7 @@
"fields": [ "fields": [
{ {
"name": "author", "name": "author",
"description": "Author of the requirement", "description": "Author of the requirement.",
"args": [ "args": [
], ],
...@@ -64769,7 +64769,7 @@ ...@@ -64769,7 +64769,7 @@
}, },
{ {
"name": "createdAt", "name": "createdAt",
"description": "Timestamp of when the requirement was created", "description": "Timestamp of when the requirement was created.",
"args": [ "args": [
], ],
...@@ -64787,7 +64787,7 @@ ...@@ -64787,7 +64787,7 @@
}, },
{ {
"name": "description", "name": "description",
"description": "Description of the requirement", "description": "Description of the requirement.",
"args": [ "args": [
], ],
...@@ -64815,7 +64815,7 @@ ...@@ -64815,7 +64815,7 @@
}, },
{ {
"name": "id", "name": "id",
"description": "ID of the requirement", "description": "ID of the requirement.",
"args": [ "args": [
], ],
...@@ -64833,7 +64833,7 @@ ...@@ -64833,7 +64833,7 @@
}, },
{ {
"name": "iid", "name": "iid",
"description": "Internal ID of the requirement", "description": "Internal ID of the requirement.",
"args": [ "args": [
], ],
...@@ -64851,7 +64851,7 @@ ...@@ -64851,7 +64851,7 @@
}, },
{ {
"name": "lastTestReportManuallyCreated", "name": "lastTestReportManuallyCreated",
"description": "Indicates if latest test report was created by user", "description": "Indicates if latest test report was created by user.",
"args": [ "args": [
], ],
...@@ -64865,7 +64865,7 @@ ...@@ -64865,7 +64865,7 @@
}, },
{ {
"name": "lastTestReportState", "name": "lastTestReportState",
"description": "Latest requirement test report state", "description": "Latest requirement test report state.",
"args": [ "args": [
], ],
...@@ -64879,7 +64879,7 @@ ...@@ -64879,7 +64879,7 @@
}, },
{ {
"name": "project", "name": "project",
"description": "Project to which the requirement belongs", "description": "Project to which the requirement belongs.",
"args": [ "args": [
], ],
...@@ -64897,7 +64897,7 @@ ...@@ -64897,7 +64897,7 @@
}, },
{ {
"name": "state", "name": "state",
"description": "State of the requirement", "description": "State of the requirement.",
"args": [ "args": [
], ],
...@@ -64915,7 +64915,7 @@ ...@@ -64915,7 +64915,7 @@
}, },
{ {
"name": "testReports", "name": "testReports",
"description": "Test reports of the requirement", "description": "Test reports of the requirement.",
"args": [ "args": [
{ {
"name": "sort", "name": "sort",
...@@ -64978,7 +64978,7 @@ ...@@ -64978,7 +64978,7 @@
}, },
{ {
"name": "title", "name": "title",
"description": "Title of the requirement", "description": "Title of the requirement.",
"args": [ "args": [
], ],
...@@ -65006,7 +65006,7 @@ ...@@ -65006,7 +65006,7 @@
}, },
{ {
"name": "updatedAt", "name": "updatedAt",
"description": "Timestamp of when the requirement was last updated", "description": "Timestamp of when the requirement was last updated.",
"args": [ "args": [
], ],
...@@ -65293,7 +65293,7 @@ ...@@ -65293,7 +65293,7 @@
"fields": [ "fields": [
{ {
"name": "archived", "name": "archived",
"description": "Number of archived requirements", "description": "Number of archived requirements.",
"args": [ "args": [
], ],
...@@ -65307,7 +65307,7 @@ ...@@ -65307,7 +65307,7 @@
}, },
{ {
"name": "opened", "name": "opened",
"description": "Number of opened requirements", "description": "Number of opened requirements.",
"args": [ "args": [
], ],
...@@ -67300,7 +67300,7 @@ ...@@ -67300,7 +67300,7 @@
"fields": [ "fields": [
{ {
"name": "requestMethod", "name": "requestMethod",
"description": "The HTTP request method used to access the URL", "description": "The HTTP request method used to access the URL.",
"args": [ "args": [
], ],
...@@ -67314,7 +67314,7 @@ ...@@ -67314,7 +67314,7 @@
}, },
{ {
"name": "url", "name": "url",
"description": "The URL scanned by the scanner", "description": "The URL scanned by the scanner.",
"args": [ "args": [
], ],
...@@ -67564,7 +67564,7 @@ ...@@ -67564,7 +67564,7 @@
"fields": [ "fields": [
{ {
"name": "scannedResources", "name": "scannedResources",
"description": "A list of the first 20 scanned resources", "description": "A list of the first 20 scanned resources.",
"args": [ "args": [
{ {
"name": "after", "name": "after",
...@@ -67617,7 +67617,7 @@ ...@@ -67617,7 +67617,7 @@
}, },
{ {
"name": "scannedResourcesCount", "name": "scannedResourcesCount",
"description": "Total number of scanned resources", "description": "Total number of scanned resources.",
"args": [ "args": [
], ],
...@@ -67631,7 +67631,7 @@ ...@@ -67631,7 +67631,7 @@
}, },
{ {
"name": "scannedResourcesCsvPath", "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": [ "args": [
], ],
...@@ -67645,7 +67645,7 @@ ...@@ -67645,7 +67645,7 @@
}, },
{ {
"name": "vulnerabilitiesCount", "name": "vulnerabilitiesCount",
"description": "Total number of vulnerabilities", "description": "Total number of vulnerabilities.",
"args": [ "args": [
], ],
...@@ -70995,7 +70995,7 @@ ...@@ -70995,7 +70995,7 @@
}, },
{ {
"name": "snippetRepositoryId", "name": "snippetRepositoryId",
"description": "ID of the Snippet Repository", "description": "ID of the Snippet Repository.",
"args": [ "args": [
], ],
...@@ -72374,7 +72374,7 @@ ...@@ -72374,7 +72374,7 @@
}, },
{ {
"name": "terraformStateVersionId", "name": "terraformStateVersionId",
"description": "ID of the terraform state version", "description": "ID of the terraform state version.",
"args": [ "args": [
], ],
...@@ -72517,7 +72517,7 @@ ...@@ -72517,7 +72517,7 @@
"fields": [ "fields": [
{ {
"name": "author", "name": "author",
"description": "Author of the test report", "description": "Author of the test report.",
"args": [ "args": [
], ],
...@@ -72531,7 +72531,7 @@ ...@@ -72531,7 +72531,7 @@
}, },
{ {
"name": "createdAt", "name": "createdAt",
"description": "Timestamp of when the test report was created", "description": "Timestamp of when the test report was created.",
"args": [ "args": [
], ],
...@@ -72549,7 +72549,7 @@ ...@@ -72549,7 +72549,7 @@
}, },
{ {
"name": "id", "name": "id",
"description": "ID of the test report", "description": "ID of the test report.",
"args": [ "args": [
], ],
...@@ -72567,7 +72567,7 @@ ...@@ -72567,7 +72567,7 @@
}, },
{ {
"name": "state", "name": "state",
"description": "State of the test report", "description": "State of the test report.",
"args": [ "args": [
], ],
...@@ -72743,7 +72743,7 @@ ...@@ -72743,7 +72743,7 @@
"fields": [ "fields": [
{ {
"name": "complete", "name": "complete",
"description": "Completed issues metrics", "description": "Completed issues metrics.",
"args": [ "args": [
], ],
...@@ -72757,7 +72757,7 @@ ...@@ -72757,7 +72757,7 @@
}, },
{ {
"name": "incomplete", "name": "incomplete",
"description": "Incomplete issues metrics", "description": "Incomplete issues metrics.",
"args": [ "args": [
], ],
...@@ -72771,7 +72771,7 @@ ...@@ -72771,7 +72771,7 @@
}, },
{ {
"name": "total", "name": "total",
"description": "Total issues metrics", "description": "Total issues metrics.",
"args": [ "args": [
], ],
...@@ -72798,7 +72798,7 @@ ...@@ -72798,7 +72798,7 @@
"fields": [ "fields": [
{ {
"name": "count", "name": "count",
"description": "The count metric", "description": "The count metric.",
"args": [ "args": [
], ],
...@@ -72816,7 +72816,7 @@ ...@@ -72816,7 +72816,7 @@
}, },
{ {
"name": "weight", "name": "weight",
"description": "The weight metric", "description": "The weight metric.",
"args": [ "args": [
], ],
...@@ -72847,7 +72847,7 @@ ...@@ -72847,7 +72847,7 @@
"fields": [ "fields": [
{ {
"name": "burnupTimeSeries", "name": "burnupTimeSeries",
"description": "Daily scope and completed totals for burnup charts", "description": "Daily scope and completed totals for burnup charts.",
"args": [ "args": [
], ],
...@@ -72869,7 +72869,7 @@ ...@@ -72869,7 +72869,7 @@
}, },
{ {
"name": "stats", "name": "stats",
"description": "Represents the time report stats for the timebox", "description": "Represents the time report stats for the timebox.",
"args": [ "args": [
], ],
...@@ -72896,7 +72896,7 @@ ...@@ -72896,7 +72896,7 @@
"fields": [ "fields": [
{ {
"name": "report", "name": "report",
"description": "Historically accurate report about the timebox", "description": "Historically accurate report about the timebox.",
"args": [ "args": [
], ],
...@@ -72971,7 +72971,7 @@ ...@@ -72971,7 +72971,7 @@
"fields": [ "fields": [
{ {
"name": "issue", "name": "issue",
"description": "The issue that logged time was added to", "description": "The issue that logged time was added to.",
"args": [ "args": [
], ],
...@@ -72985,7 +72985,7 @@ ...@@ -72985,7 +72985,7 @@
}, },
{ {
"name": "note", "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": [ "args": [
], ],
...@@ -72999,7 +72999,7 @@ ...@@ -72999,7 +72999,7 @@
}, },
{ {
"name": "spentAt", "name": "spentAt",
"description": "Timestamp of when the time tracked was spent at", "description": "Timestamp of when the time tracked was spent at.",
"args": [ "args": [
], ],
...@@ -73013,7 +73013,7 @@ ...@@ -73013,7 +73013,7 @@
}, },
{ {
"name": "timeSpent", "name": "timeSpent",
"description": "The time spent displayed in seconds", "description": "The time spent displayed in seconds.",
"args": [ "args": [
], ],
...@@ -73031,7 +73031,7 @@ ...@@ -73031,7 +73031,7 @@
}, },
{ {
"name": "user", "name": "user",
"description": "The user that logged the time", "description": "The user that logged the time.",
"args": [ "args": [
], ],
...@@ -78917,7 +78917,7 @@ ...@@ -78917,7 +78917,7 @@
}, },
{ {
"name": "date", "name": "date",
"description": "Date for the count", "description": "Date for the count.",
"args": [ "args": [
], ],
...@@ -79007,7 +79007,7 @@ ...@@ -79007,7 +79007,7 @@
}, },
{ {
"name": "total", "name": "total",
"description": "Total number of vulnerabilities on a particular day", "description": "Total number of vulnerabilities on a particular day.",
"args": [ "args": [
], ],
...@@ -79056,7 +79056,7 @@ ...@@ -79056,7 +79056,7 @@
"fields": [ "fields": [
{ {
"name": "count", "name": "count",
"description": "Number of vulnerabilities", "description": "Number of vulnerabilities.",
"args": [ "args": [
], ],
...@@ -79070,7 +79070,7 @@ ...@@ -79070,7 +79070,7 @@
}, },
{ {
"name": "day", "name": "day",
"description": "Date for the count", "description": "Date for the count.",
"args": [ "args": [
], ],
...@@ -79084,7 +79084,7 @@ ...@@ -79084,7 +79084,7 @@
}, },
{ {
"name": "severity", "name": "severity",
"description": "Severity of the counted vulnerabilities", "description": "Severity of the counted vulnerabilities.",
"args": [ "args": [
], ],
...@@ -79345,7 +79345,7 @@ ...@@ -79345,7 +79345,7 @@
"fields": [ "fields": [
{ {
"name": "confirmedAt", "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": [ "args": [
], ],
...@@ -79373,7 +79373,7 @@ ...@@ -79373,7 +79373,7 @@
}, },
{ {
"name": "description", "name": "description",
"description": "Description of the vulnerability", "description": "Description of the vulnerability.",
"args": [ "args": [
], ],
...@@ -79387,7 +79387,7 @@ ...@@ -79387,7 +79387,7 @@
}, },
{ {
"name": "details", "name": "details",
"description": "Details of the vulnerability", "description": "Details of the vulnerability.",
"args": [ "args": [
], ],
...@@ -79413,7 +79413,7 @@ ...@@ -79413,7 +79413,7 @@
}, },
{ {
"name": "detectedAt", "name": "detectedAt",
"description": "Timestamp of when the vulnerability was first detected", "description": "Timestamp of when the vulnerability was first detected.",
"args": [ "args": [
], ],
...@@ -79488,7 +79488,7 @@ ...@@ -79488,7 +79488,7 @@
}, },
{ {
"name": "dismissedAt", "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": [ "args": [
], ],
...@@ -79516,7 +79516,7 @@ ...@@ -79516,7 +79516,7 @@
}, },
{ {
"name": "externalIssueLinks", "name": "externalIssueLinks",
"description": "List of external issue links related to the vulnerability", "description": "List of external issue links related to the vulnerability.",
"args": [ "args": [
{ {
"name": "after", "name": "after",
...@@ -79587,7 +79587,7 @@ ...@@ -79587,7 +79587,7 @@
}, },
{ {
"name": "id", "name": "id",
"description": "GraphQL ID of the vulnerability", "description": "GraphQL ID of the vulnerability.",
"args": [ "args": [
], ],
...@@ -79631,7 +79631,7 @@ ...@@ -79631,7 +79631,7 @@
}, },
{ {
"name": "issueLinks", "name": "issueLinks",
"description": "List of issue links related to the vulnerability", "description": "List of issue links related to the vulnerability.",
"args": [ "args": [
{ {
"name": "linkType", "name": "linkType",
...@@ -79698,7 +79698,7 @@ ...@@ -79698,7 +79698,7 @@
}, },
{ {
"name": "location", "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": [ "args": [
], ],
...@@ -79797,7 +79797,7 @@ ...@@ -79797,7 +79797,7 @@
}, },
{ {
"name": "project", "name": "project",
"description": "The project on which the vulnerability was found", "description": "The project on which the vulnerability was found.",
"args": [ "args": [
], ],
...@@ -79825,7 +79825,7 @@ ...@@ -79825,7 +79825,7 @@
}, },
{ {
"name": "resolvedAt", "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": [ "args": [
], ],
...@@ -79853,7 +79853,7 @@ ...@@ -79853,7 +79853,7 @@
}, },
{ {
"name": "resolvedOnDefaultBranch", "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": [ "args": [
], ],
...@@ -79913,7 +79913,7 @@ ...@@ -79913,7 +79913,7 @@
}, },
{ {
"name": "title", "name": "title",
"description": "Title of the vulnerability", "description": "Title of the vulnerability.",
"args": [ "args": [
], ],
...@@ -79927,7 +79927,7 @@ ...@@ -79927,7 +79927,7 @@
}, },
{ {
"name": "userNotesCount", "name": "userNotesCount",
"description": "Number of user notes attached to the vulnerability", "description": "Number of user notes attached to the vulnerability.",
"args": [ "args": [
], ],
...@@ -79963,7 +79963,7 @@ ...@@ -79963,7 +79963,7 @@
}, },
{ {
"name": "vulnerabilityPath", "name": "vulnerabilityPath",
"description": "URL to the vulnerability's details page", "description": "URL to the vulnerability's details page.",
"args": [ "args": [
], ],
...@@ -81624,7 +81624,7 @@ ...@@ -81624,7 +81624,7 @@
"fields": [ "fields": [
{ {
"name": "externalIssue", "name": "externalIssue",
"description": "The external issue attached to the issue link", "description": "The external issue attached to the issue link.",
"args": [ "args": [
], ],
...@@ -81638,7 +81638,7 @@ ...@@ -81638,7 +81638,7 @@
}, },
{ {
"name": "id", "name": "id",
"description": "GraphQL ID of the external issue link", "description": "GraphQL ID of the external issue link.",
"args": [ "args": [
], ],
...@@ -81656,7 +81656,7 @@ ...@@ -81656,7 +81656,7 @@
}, },
{ {
"name": "linkType", "name": "linkType",
"description": "Type of the external issue link", "description": "Type of the external issue link.",
"args": [ "args": [
], ],
...@@ -82102,7 +82102,7 @@ ...@@ -82102,7 +82102,7 @@
"fields": [ "fields": [
{ {
"name": "externalId", "name": "externalId",
"description": "External ID of the vulnerability identifier", "description": "External ID of the vulnerability identifier.",
"args": [ "args": [
], ],
...@@ -82116,7 +82116,7 @@ ...@@ -82116,7 +82116,7 @@
}, },
{ {
"name": "externalType", "name": "externalType",
"description": "External type of the vulnerability identifier", "description": "External type of the vulnerability identifier.",
"args": [ "args": [
], ],
...@@ -82130,7 +82130,7 @@ ...@@ -82130,7 +82130,7 @@
}, },
{ {
"name": "name", "name": "name",
"description": "Name of the vulnerability identifier", "description": "Name of the vulnerability identifier.",
"args": [ "args": [
], ],
...@@ -82144,7 +82144,7 @@ ...@@ -82144,7 +82144,7 @@
}, },
{ {
"name": "url", "name": "url",
"description": "URL of the vulnerability identifier", "description": "URL of the vulnerability identifier.",
"args": [ "args": [
], ],
...@@ -82171,7 +82171,7 @@ ...@@ -82171,7 +82171,7 @@
"fields": [ "fields": [
{ {
"name": "id", "name": "id",
"description": "GraphQL ID of the vulnerability", "description": "GraphQL ID of the vulnerability.",
"args": [ "args": [
], ],
...@@ -82189,7 +82189,7 @@ ...@@ -82189,7 +82189,7 @@
}, },
{ {
"name": "issue", "name": "issue",
"description": "The issue attached to issue link", "description": "The issue attached to issue link.",
"args": [ "args": [
], ],
...@@ -82207,7 +82207,7 @@ ...@@ -82207,7 +82207,7 @@
}, },
{ {
"name": "linkType", "name": "linkType",
"description": "Type of the issue link", "description": "Type of the issue link.",
"args": [ "args": [
], ],
...@@ -82414,7 +82414,7 @@ ...@@ -82414,7 +82414,7 @@
"fields": [ "fields": [
{ {
"name": "dependency", "name": "dependency",
"description": "Dependency containing the vulnerability", "description": "Dependency containing the vulnerability.",
"args": [ "args": [
], ],
...@@ -82428,7 +82428,7 @@ ...@@ -82428,7 +82428,7 @@
}, },
{ {
"name": "image", "name": "image",
"description": "Name of the vulnerable container image", "description": "Name of the vulnerable container image.",
"args": [ "args": [
], ],
...@@ -82442,7 +82442,7 @@ ...@@ -82442,7 +82442,7 @@
}, },
{ {
"name": "operatingSystem", "name": "operatingSystem",
"description": "Operating system that runs on the vulnerable container image", "description": "Operating system that runs on the vulnerable container image.",
"args": [ "args": [
], ],
...@@ -82469,7 +82469,7 @@ ...@@ -82469,7 +82469,7 @@
"fields": [ "fields": [
{ {
"name": "blobPath", "name": "blobPath",
"description": "Blob path to the vulnerable file", "description": "Blob path to the vulnerable file.",
"args": [ "args": [
], ],
...@@ -82483,7 +82483,7 @@ ...@@ -82483,7 +82483,7 @@
}, },
{ {
"name": "endLine", "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": [ "args": [
], ],
...@@ -82497,7 +82497,7 @@ ...@@ -82497,7 +82497,7 @@
}, },
{ {
"name": "file", "name": "file",
"description": "Path to the vulnerable file", "description": "Path to the vulnerable file.",
"args": [ "args": [
], ],
...@@ -82511,7 +82511,7 @@ ...@@ -82511,7 +82511,7 @@
}, },
{ {
"name": "startLine", "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": [ "args": [
], ],
...@@ -82525,7 +82525,7 @@ ...@@ -82525,7 +82525,7 @@
}, },
{ {
"name": "vulnerableClass", "name": "vulnerableClass",
"description": "Class containing the vulnerability", "description": "Class containing the vulnerability.",
"args": [ "args": [
], ],
...@@ -82539,7 +82539,7 @@ ...@@ -82539,7 +82539,7 @@
}, },
{ {
"name": "vulnerableMethod", "name": "vulnerableMethod",
"description": "Method containing the vulnerability", "description": "Method containing the vulnerability.",
"args": [ "args": [
], ],
...@@ -82566,7 +82566,7 @@ ...@@ -82566,7 +82566,7 @@
"fields": [ "fields": [
{ {
"name": "hostname", "name": "hostname",
"description": "Domain name of the vulnerable request", "description": "Domain name of the vulnerable request.",
"args": [ "args": [
], ],
...@@ -82580,7 +82580,7 @@ ...@@ -82580,7 +82580,7 @@
}, },
{ {
"name": "param", "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": [ "args": [
], ],
...@@ -82594,7 +82594,7 @@ ...@@ -82594,7 +82594,7 @@
}, },
{ {
"name": "path", "name": "path",
"description": "URL path and query string of the vulnerable request", "description": "URL path and query string of the vulnerable request.",
"args": [ "args": [
], ],
...@@ -82608,7 +82608,7 @@ ...@@ -82608,7 +82608,7 @@
}, },
{ {
"name": "requestMethod", "name": "requestMethod",
"description": "HTTP method of the vulnerable request", "description": "HTTP method of the vulnerable request.",
"args": [ "args": [
], ],
...@@ -82635,7 +82635,7 @@ ...@@ -82635,7 +82635,7 @@
"fields": [ "fields": [
{ {
"name": "blobPath", "name": "blobPath",
"description": "Blob path to the vulnerable file", "description": "Blob path to the vulnerable file.",
"args": [ "args": [
], ],
...@@ -82649,7 +82649,7 @@ ...@@ -82649,7 +82649,7 @@
}, },
{ {
"name": "dependency", "name": "dependency",
"description": "Dependency containing the vulnerability", "description": "Dependency containing the vulnerability.",
"args": [ "args": [
], ],
...@@ -82663,7 +82663,7 @@ ...@@ -82663,7 +82663,7 @@
}, },
{ {
"name": "file", "name": "file",
"description": "Path to the vulnerable file", "description": "Path to the vulnerable file.",
"args": [ "args": [
], ],
...@@ -82690,7 +82690,7 @@ ...@@ -82690,7 +82690,7 @@
"fields": [ "fields": [
{ {
"name": "blobPath", "name": "blobPath",
"description": "Blob path to the vulnerable file", "description": "Blob path to the vulnerable file.",
"args": [ "args": [
], ],
...@@ -82704,7 +82704,7 @@ ...@@ -82704,7 +82704,7 @@
}, },
{ {
"name": "endLine", "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": [ "args": [
], ],
...@@ -82718,7 +82718,7 @@ ...@@ -82718,7 +82718,7 @@
}, },
{ {
"name": "file", "name": "file",
"description": "Path to the vulnerable file", "description": "Path to the vulnerable file.",
"args": [ "args": [
], ],
...@@ -82732,7 +82732,7 @@ ...@@ -82732,7 +82732,7 @@
}, },
{ {
"name": "startLine", "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": [ "args": [
], ],
...@@ -82746,7 +82746,7 @@ ...@@ -82746,7 +82746,7 @@
}, },
{ {
"name": "vulnerableClass", "name": "vulnerableClass",
"description": "Class containing the vulnerability", "description": "Class containing the vulnerability.",
"args": [ "args": [
], ],
...@@ -82760,7 +82760,7 @@ ...@@ -82760,7 +82760,7 @@
}, },
{ {
"name": "vulnerableMethod", "name": "vulnerableMethod",
"description": "Method containing the vulnerability", "description": "Method containing the vulnerability.",
"args": [ "args": [
], ],
...@@ -82787,7 +82787,7 @@ ...@@ -82787,7 +82787,7 @@
"fields": [ "fields": [
{ {
"name": "blobPath", "name": "blobPath",
"description": "Blob path to the vulnerable file", "description": "Blob path to the vulnerable file.",
"args": [ "args": [
], ],
...@@ -82801,7 +82801,7 @@ ...@@ -82801,7 +82801,7 @@
}, },
{ {
"name": "endLine", "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": [ "args": [
], ],
...@@ -82815,7 +82815,7 @@ ...@@ -82815,7 +82815,7 @@
}, },
{ {
"name": "file", "name": "file",
"description": "Path to the vulnerable file", "description": "Path to the vulnerable file.",
"args": [ "args": [
], ],
...@@ -82829,7 +82829,7 @@ ...@@ -82829,7 +82829,7 @@
}, },
{ {
"name": "startLine", "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": [ "args": [
], ],
...@@ -82843,7 +82843,7 @@ ...@@ -82843,7 +82843,7 @@
}, },
{ {
"name": "vulnerableClass", "name": "vulnerableClass",
"description": "Class containing the vulnerability", "description": "Class containing the vulnerability.",
"args": [ "args": [
], ],
...@@ -82857,7 +82857,7 @@ ...@@ -82857,7 +82857,7 @@
}, },
{ {
"name": "vulnerableMethod", "name": "vulnerableMethod",
"description": "Method containing the vulnerability", "description": "Method containing the vulnerability.",
"args": [ "args": [
], ],
...@@ -83316,7 +83316,7 @@ ...@@ -83316,7 +83316,7 @@
"fields": [ "fields": [
{ {
"name": "externalId", "name": "externalId",
"description": "External ID of the vulnerability scanner", "description": "External ID of the vulnerability scanner.",
"args": [ "args": [
], ],
...@@ -83330,7 +83330,7 @@ ...@@ -83330,7 +83330,7 @@
}, },
{ {
"name": "name", "name": "name",
"description": "Name of the vulnerability scanner", "description": "Name of the vulnerability scanner.",
"args": [ "args": [
], ],
...@@ -83344,7 +83344,7 @@ ...@@ -83344,7 +83344,7 @@
}, },
{ {
"name": "reportType", "name": "reportType",
"description": "Type of the vulnerability report", "description": "Type of the vulnerability report.",
"args": [ "args": [
], ],
...@@ -83358,7 +83358,7 @@ ...@@ -83358,7 +83358,7 @@
}, },
{ {
"name": "vendor", "name": "vendor",
"description": "Vendor of the vulnerability scanner", "description": "Vendor of the vulnerability scanner.",
"args": [ "args": [
], ],
...@@ -83747,7 +83747,7 @@ ...@@ -83747,7 +83747,7 @@
"fields": [ "fields": [
{ {
"name": "package", "name": "package",
"description": "The package associated with the vulnerable dependency", "description": "The package associated with the vulnerable dependency.",
"args": [ "args": [
], ],
...@@ -83761,7 +83761,7 @@ ...@@ -83761,7 +83761,7 @@
}, },
{ {
"name": "version", "name": "version",
"description": "The version of the vulnerable dependency", "description": "The version of the vulnerable dependency.",
"args": [ "args": [
], ],
...@@ -83788,7 +83788,7 @@ ...@@ -83788,7 +83788,7 @@
"fields": [ "fields": [
{ {
"name": "name", "name": "name",
"description": "The name of the vulnerable package", "description": "The name of the vulnerable package.",
"args": [ "args": [
], ],
...@@ -83815,7 +83815,7 @@ ...@@ -83815,7 +83815,7 @@
"fields": [ "fields": [
{ {
"name": "count", "name": "count",
"description": "Number of projects within this grade", "description": "Number of projects within this grade.",
"args": [ "args": [
], ],
...@@ -83833,7 +83833,7 @@ ...@@ -83833,7 +83833,7 @@
}, },
{ {
"name": "grade", "name": "grade",
"description": "Grade based on the highest severity vulnerability present", "description": "Grade based on the highest severity vulnerability present.",
"args": [ "args": [
], ],
...@@ -83851,7 +83851,7 @@ ...@@ -83851,7 +83851,7 @@
}, },
{ {
"name": "projects", "name": "projects",
"description": "Projects within this grade", "description": "Projects within this grade.",
"args": [ "args": [
{ {
"name": "after", "name": "after",
...@@ -1683,37 +1683,37 @@ Represents an external issue. ...@@ -1683,37 +1683,37 @@ Represents an external issue.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `createdAt` | Time | Timestamp of when the issue was created | | `createdAt` | Time | Timestamp of when the issue was created. |
| `externalTracker` | String | Type of external tracker | | `externalTracker` | String | Type of external tracker. |
| `relativeReference` | String | Relative reference of the issue in the external tracker | | `relativeReference` | String | Relative reference of the issue in the external tracker. |
| `status` | String | Status 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 | | `title` | String | Title of the issue in the external tracker. |
| `updatedAt` | Time | Timestamp of when the issue was updated | | `updatedAt` | Time | Timestamp of when the issue was updated. |
| `webUrl` | String | URL to the issue in the external tracker | | `webUrl` | String | URL to the issue in the external tracker. |
### GeoNode ### GeoNode
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `containerRepositoriesMaxCapacity` | Int | The maximum concurrency of container repository sync 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 | | `enabled` | Boolean | Indicates whether this Geo node is enabled. |
| `filesMaxCapacity` | Int | The maximum concurrency of LFS/attachment backfill for this secondary node | | `filesMaxCapacity` | Int | The maximum concurrency of LFS/attachment backfill for this secondary node. |
| `id` | ID! | ID of this GeoNode | | `id` | ID! | ID of this GeoNode. |
| `internalUrl` | String | The URL defined on the primary node that secondary nodes should use to contact it | | `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 | | `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 | | `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 | | `name` | String | The unique identifier for this Geo node. |
| `packageFileRegistries` | PackageFileRegistryConnection | Package file registries of the GeoNode | | `packageFileRegistries` | PackageFileRegistryConnection | Package file registries of the GeoNode. |
| `primary` | Boolean | Indicates whether this Geo node is the primary | | `primary` | Boolean | Indicates whether this Geo node is the primary. |
| `reposMaxCapacity` | Int | The maximum concurrency of repository backfill for this secondary node | | `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` | | `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` | | `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 | | `selectiveSyncType` | String | Indicates if syncing is limited to only specific groups, or shards. |
| `snippetRepositoryRegistries` | SnippetRepositoryRegistryConnection | Find snippet repository registries on this Geo node | | `snippetRepositoryRegistries` | SnippetRepositoryRegistryConnection | Find snippet repository registries on this Geo node. |
| `syncObjectStorage` | Boolean | Indicates if this secondary node will replicate blobs in Object Storage | | `syncObjectStorage` | Boolean | Indicates if this secondary node will replicate blobs in Object Storage. |
| `terraformStateVersionRegistries` | TerraformStateVersionRegistryConnection | Find terraform state version registries on this Geo node | | `terraformStateVersionRegistries` | TerraformStateVersionRegistryConnection | Find terraform state version registries on this Geo node. |
| `url` | String | The user-facing URL for 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 | | `verificationMaxCapacity` | Int | The maximum concurrency of repository verification for this secondary node. |
### GitlabSubscriptionActivatePayload ### GitlabSubscriptionActivatePayload
...@@ -1838,7 +1838,7 @@ Contains statistics about a group. ...@@ -1838,7 +1838,7 @@ Contains statistics about a group.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `releaseStats` | GroupReleaseStats | Statistics related to releases within the group | | `releaseStats` | GroupReleaseStats | Statistics related to releases within the group. |
### HttpIntegrationCreatePayload ### HttpIntegrationCreatePayload
...@@ -1900,11 +1900,11 @@ Describes an incident management on-call schedule. ...@@ -1900,11 +1900,11 @@ Describes an incident management on-call schedule.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `description` | String | Description of the on-call schedule | | `description` | String | Description of the on-call schedule. |
| `iid` | ID! | Internal ID of the on-call schedule | | `iid` | ID! | Internal ID of the on-call schedule. |
| `name` | String! | Name of the on-call schedule | | `name` | String! | Name of the on-call schedule. |
| `rotations` | IncidentManagementOncallRotationConnection! | On-call rotations for the on-call schedule | | `rotations` | IncidentManagementOncallRotationConnection! | On-call rotations for the on-call schedule. |
| `timezone` | String! | Time zone of the on-call schedule | | `timezone` | String! | Time zone of the on-call schedule. |
### IncidentManagementOncallShift ### IncidentManagementOncallShift
...@@ -1920,10 +1920,10 @@ A block of time for which a participant is on-call.. ...@@ -1920,10 +1920,10 @@ A block of time for which a participant is on-call..
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `projects` | ProjectConnection! | Projects selected in Instance Security Dashboard | | `projects` | ProjectConnection! | Projects selected in Instance Security Dashboard. |
| `vulnerabilityGrades` | VulnerableProjectsByGrade! => Array | Represents vulnerable project counts for each grade | | `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 | | `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 | | `vulnerabilitySeveritiesCount` | VulnerabilitySeveritiesCount | Counts for each vulnerability severity from projects selected in Instance Security Dashboard. |
### InstanceStatisticsMeasurement ### InstanceStatisticsMeasurement
...@@ -2135,21 +2135,21 @@ Represents an iteration object. ...@@ -2135,21 +2135,21 @@ Represents an iteration object.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `createdAt` | Time! | Timestamp of iteration creation | | `createdAt` | Time! | Timestamp of iteration creation. |
| `description` | String | Description of the iteration | | `description` | String | Description of the iteration. |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` | | `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `dueDate` | Time | Timestamp of the iteration due date | | `dueDate` | Time | Timestamp of the iteration due date. |
| `id` | ID! | ID of the iteration | | `id` | ID! | ID of the iteration. |
| `iid` | ID! | Internal ID of the iteration | | `iid` | ID! | Internal ID of the iteration. |
| `report` | TimeboxReport | Historically accurate report about the timebox | | `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 | | `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 | | `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 | | `startDate` | Time | Timestamp of the iteration start date. |
| `state` | IterationState! | State of the iteration | | `state` | IterationState! | State of the iteration. |
| `title` | String! | Title of the iteration | | `title` | String! | Title of the iteration. |
| `updatedAt` | Time! | Timestamp of last iteration update | | `updatedAt` | Time! | Timestamp of last iteration update. |
| `webPath` | String! | Web path of the iteration | | `webPath` | String! | Web path of the iteration. |
| `webUrl` | String! | Web URL of the iteration | | `webUrl` | String! | Web URL of the iteration. |
### JiraImport ### JiraImport
...@@ -2348,7 +2348,7 @@ Represents the Geo sync and verification state of a Merge Request diff. ...@@ -2348,7 +2348,7 @@ Represents the Geo sync and verification state of a Merge Request diff.
| `id` | ID! | ID of the MergeRequestDiffRegistry | | `id` | ID! | ID of the MergeRequestDiffRegistry |
| `lastSyncFailure` | String | Error message during sync of the MergeRequestDiffRegistry | | `lastSyncFailure` | String | Error message during sync of the MergeRequestDiffRegistry |
| `lastSyncedAt` | Time | Timestamp of the most recent successful 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 | | `retryAt` | Time | Timestamp after which the MergeRequestDiffRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the MergeRequestDiffRegistry | | `retryCount` | Int | Number of consecutive failed sync attempts of the MergeRequestDiffRegistry |
| `state` | RegistryState | Sync state of the MergeRequestDiffRegistry | | `state` | RegistryState | Sync state of the MergeRequestDiffRegistry |
...@@ -2462,11 +2462,11 @@ Represents a metric image upload. ...@@ -2462,11 +2462,11 @@ Represents a metric image upload.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `fileName` | String | File name of the metric image | | `fileName` | String | File name of the metric image. |
| `filePath` | String | File path of the metric image | | `filePath` | String | File path of the metric image. |
| `id` | ID! | ID of the metric upload | | `id` | ID! | ID of the metric upload. |
| `iid` | ID! | Internal ID of the metric upload | | `iid` | ID! | Internal ID of the metric upload. |
| `url` | String! | URL of the metric source | | `url` | String! | URL of the metric source. |
### MetricsDashboard ### MetricsDashboard
...@@ -2498,7 +2498,7 @@ Represents a milestone. ...@@ -2498,7 +2498,7 @@ Represents a milestone.
| `groupMilestone` | Boolean! | Indicates if milestone is at group level. | | `groupMilestone` | Boolean! | Indicates if milestone is at group level. |
| `id` | ID! | ID of the milestone. | | `id` | ID! | ID of the milestone. |
| `projectMilestone` | Boolean! | Indicates if milestone is at project level. | | `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. | | `startDate` | Time | Timestamp of the milestone start date. |
| `state` | MilestoneStateEnum! | State of the milestone. | | `state` | MilestoneStateEnum! | State of the milestone. |
| `stats` | MilestoneStats | Milestone statistics. | | `stats` | MilestoneStats | Milestone statistics. |
...@@ -2688,7 +2688,7 @@ Represents the Geo sync and verification state of a package file. ...@@ -2688,7 +2688,7 @@ Represents the Geo sync and verification state of a package file.
| `id` | ID! | ID of the PackageFileRegistry | | `id` | ID! | ID of the PackageFileRegistry |
| `lastSyncFailure` | String | Error message during sync of the PackageFileRegistry | | `lastSyncFailure` | String | Error message during sync of the PackageFileRegistry |
| `lastSyncedAt` | Time | Timestamp of the most recent successful 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 | | `retryAt` | Time | Timestamp after which the PackageFileRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the PackageFileRegistry | | `retryCount` | Int | Number of consecutive failed sync attempts of the PackageFileRegistry |
| `state` | RegistryState | Sync state of the PackageFileRegistry | | `state` | RegistryState | Sync state of the PackageFileRegistry |
...@@ -3223,20 +3223,20 @@ Represents a requirement. ...@@ -3223,20 +3223,20 @@ Represents a requirement.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `author` | User! | Author of the requirement | | `author` | User! | Author of the requirement. |
| `createdAt` | Time! | Timestamp of when the requirement was created | | `createdAt` | Time! | Timestamp of when the requirement was created. |
| `description` | String | Description of the requirement | | `description` | String | Description of the requirement. |
| `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` | | `descriptionHtml` | String | The GitLab Flavored Markdown rendering of `description` |
| `id` | ID! | ID of the requirement | | `id` | ID! | ID of the requirement. |
| `iid` | ID! | Internal ID of the requirement | | `iid` | ID! | Internal ID of the requirement. |
| `lastTestReportManuallyCreated` | Boolean | Indicates if latest test report was created by user | | `lastTestReportManuallyCreated` | Boolean | Indicates if latest test report was created by user. |
| `lastTestReportState` | TestReportState | Latest requirement test report state | | `lastTestReportState` | TestReportState | Latest requirement test report state. |
| `project` | Project! | Project to which the requirement belongs | | `project` | Project! | Project to which the requirement belongs. |
| `state` | RequirementState! | State of the requirement | | `state` | RequirementState! | State of the requirement. |
| `testReports` | TestReportConnection | Test reports of the requirement | | `testReports` | TestReportConnection | Test reports of the requirement. |
| `title` | String | Title of the requirement | | `title` | String | Title of the requirement. |
| `titleHtml` | String | The GitLab Flavored Markdown rendering of `title` | | `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 | | `userPermissions` | RequirementPermissions! | Permissions for the current user on the resource |
### RequirementPermissions ### RequirementPermissions
...@@ -3257,8 +3257,8 @@ Counts of requirements by their state. ...@@ -3257,8 +3257,8 @@ Counts of requirements by their state.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `archived` | Int | Number of archived requirements | | `archived` | Int | Number of archived requirements. |
| `opened` | Int | Number of opened requirements | | `opened` | Int | Number of opened requirements. |
### RevertVulnerabilityToDetectedPayload ### RevertVulnerabilityToDetectedPayload
...@@ -3368,8 +3368,8 @@ Represents a resource scanned by a security scan. ...@@ -3368,8 +3368,8 @@ Represents a resource scanned by a security scan.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `requestMethod` | String | The HTTP request method used to access the URL | | `requestMethod` | String | The HTTP request method used to access the URL. |
| `url` | String | The URL scanned by the scanner | | `url` | String | The URL scanned by the scanner. |
### SecurityReportSummary ### SecurityReportSummary
...@@ -3391,10 +3391,10 @@ Represents a section of a summary of a security report. ...@@ -3391,10 +3391,10 @@ Represents a section of a summary of a security report.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `scannedResources` | ScannedResourceConnection | A list of the first 20 scanned resources | | `scannedResources` | ScannedResourceConnection | A list of the first 20 scanned resources. |
| `scannedResourcesCount` | Int | Total number of scanned resources | | `scannedResourcesCount` | Int | Total number of scanned resources. |
| `scannedResourcesCsvPath` | String | Path to download all the scanned resources in CSV format | | `scannedResourcesCsvPath` | String | Path to download all the scanned resources in CSV format. |
| `vulnerabilitiesCount` | Int | Total number of vulnerabilities | | `vulnerabilitiesCount` | Int | Total number of vulnerabilities. |
### SecurityScanners ### SecurityScanners
...@@ -3605,7 +3605,7 @@ Represents the Geo sync and verification state of a snippet repository. ...@@ -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 | | `lastSyncedAt` | Time | Timestamp of the most recent successful sync of the SnippetRepositoryRegistry |
| `retryAt` | Time | Timestamp after which the SnippetRepositoryRegistry should be resynced | | `retryAt` | Time | Timestamp after which the SnippetRepositoryRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the SnippetRepositoryRegistry | | `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 | | `state` | RegistryState | Sync state of the SnippetRepositoryRegistry |
### StatusAction ### StatusAction
...@@ -3704,7 +3704,7 @@ Represents the Geo sync and verification state of a terraform state version. ...@@ -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 | | `retryAt` | Time | Timestamp after which the TerraformStateVersionRegistry should be resynced |
| `retryCount` | Int | Number of consecutive failed sync attempts of the TerraformStateVersionRegistry | | `retryCount` | Int | Number of consecutive failed sync attempts of the TerraformStateVersionRegistry |
| `state` | RegistryState | Sync state 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 ### TestReport
...@@ -3712,10 +3712,10 @@ Represents a requirement test report. ...@@ -3712,10 +3712,10 @@ Represents a requirement test report.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `author` | User | Author of the test report | | `author` | User | Author of the test report. |
| `createdAt` | Time! | Timestamp of when the test report was created | | `createdAt` | Time! | Timestamp of when the test report was created. |
| `id` | ID! | ID of the test report | | `id` | ID! | ID of the test report. |
| `state` | TestReportState! | State of the test report | | `state` | TestReportState! | State of the test report. |
### TimeReportStats ### TimeReportStats
...@@ -3723,9 +3723,9 @@ Represents the time report stats for timeboxes. ...@@ -3723,9 +3723,9 @@ Represents the time report stats for timeboxes.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `complete` | TimeboxMetrics | Completed issues metrics | | `complete` | TimeboxMetrics | Completed issues metrics. |
| `incomplete` | TimeboxMetrics | Incomplete issues metrics | | `incomplete` | TimeboxMetrics | Incomplete issues metrics. |
| `total` | TimeboxMetrics | Total issues metrics | | `total` | TimeboxMetrics | Total issues metrics. |
### TimeboxMetrics ### TimeboxMetrics
...@@ -3733,8 +3733,8 @@ Represents measured stats metrics for timeboxes. ...@@ -3733,8 +3733,8 @@ Represents measured stats metrics for timeboxes.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `count` | Int! | The count metric | | `count` | Int! | The count metric. |
| `weight` | Int! | The weight metric | | `weight` | Int! | The weight metric. |
### TimeboxReport ### TimeboxReport
...@@ -3742,18 +3742,18 @@ Represents a historically accurate report about the timebox. ...@@ -3742,18 +3742,18 @@ Represents a historically accurate report about the timebox.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `burnupTimeSeries` | BurnupChartDailyTotals! => Array | Daily scope and completed totals for burnup charts | | `burnupTimeSeries` | BurnupChartDailyTotals! => Array | Daily scope and completed totals for burnup charts. |
| `stats` | TimeReportStats | Represents the time report stats for the timebox | | `stats` | TimeReportStats | Represents the time report stats for the timebox. |
### Timelog ### Timelog
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `issue` | Issue | The issue that logged time was added to | | `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 | | `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 | | `spentAt` | Time | Timestamp of when the time tracked was spent at. |
| `timeSpent` | Int! | The time spent displayed in seconds | | `timeSpent` | Int! | The time spent displayed in seconds. |
| `user` | User! | The user that logged the time | | `user` | User! | The user that logged the time. |
### Todo ### Todo
...@@ -4062,12 +4062,12 @@ Represents the count of vulnerabilities by severity on a particular day. This da ...@@ -4062,12 +4062,12 @@ Represents the count of vulnerabilities by severity on a particular day. This da
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `critical` | Int! | Total number of vulnerabilities on a particular day with critical severity | | `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 | | `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 | | `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 | | `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 | | `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 | | `unknown` | Int! | Total number of vulnerabilities on a particular day with unknown severity |
### VulnerabilitiesCountByDayAndSeverity ### VulnerabilitiesCountByDayAndSeverity
...@@ -4076,9 +4076,9 @@ Represents the number of vulnerabilities for a particular severity on a particul ...@@ -4076,9 +4076,9 @@ Represents the number of vulnerabilities for a particular severity on a particul
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `count` | Int | Number of vulnerabilities | | `count` | Int | Number of vulnerabilities. |
| `day` | ISO8601Date | Date for the count | | `day` | ISO8601Date | Date for the count. |
| `severity` | VulnerabilitySeverity | Severity of the counted vulnerabilities | | `severity` | VulnerabilitySeverity | Severity of the counted vulnerabilities. |
### Vulnerability ### Vulnerability
...@@ -4086,35 +4086,35 @@ Represents a vulnerability. ...@@ -4086,35 +4086,35 @@ Represents a vulnerability.
| Field | Type | Description | | 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. | | `confirmedBy` | User | The user that confirmed the vulnerability. |
| `description` | String | Description of the vulnerability | | `description` | String | Description of the vulnerability. |
| `details` | VulnerabilityDetail! => Array | Details of the vulnerability | | `details` | VulnerabilityDetail! => Array | Details of the vulnerability. |
| `detectedAt` | Time! | Timestamp of when the vulnerability was first detected | | `detectedAt` | Time! | Timestamp of when the vulnerability was first detected. |
| `discussions` | DiscussionConnection! | All discussions on this noteable. | | `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. | | `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. | | `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. | | `identifiers` | VulnerabilityIdentifier! => Array | Identifiers of the vulnerability. |
| `issueLinks` | VulnerabilityIssueLinkConnection! | List of issue links related to 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 | | `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. | | `mergeRequest` | MergeRequest | Merge request that fixes the vulnerability. |
| `notes` | NoteConnection! | All notes on this noteable. | | `notes` | NoteConnection! | All notes on this noteable. |
| `primaryIdentifier` | VulnerabilityIdentifier | Primary identifier of the vulnerability. | | `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) | | `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. | | `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. | | `scanner` | VulnerabilityScanner | Scanner metadata for the vulnerability. |
| `severity` | VulnerabilitySeverity | Severity of the vulnerability (INFO, UNKNOWN, LOW, MEDIUM, HIGH, CRITICAL) | | `severity` | VulnerabilitySeverity | Severity of the vulnerability (INFO, UNKNOWN, LOW, MEDIUM, HIGH, CRITICAL) |
| `state` | VulnerabilityState | State of the vulnerability (DETECTED, CONFIRMED, RESOLVED, DISMISSED) | | `state` | VulnerabilityState | State of the vulnerability (DETECTED, CONFIRMED, RESOLVED, DISMISSED) |
| `title` | String | Title of the vulnerability | | `title` | String | Title of the vulnerability. |
| `userNotesCount` | Int! | Number of user notes attached to the vulnerability | | `userNotesCount` | Int! | Number of user notes attached to the vulnerability. |
| `userPermissions` | VulnerabilityPermissions! | Permissions for the current user on the resource | | `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 ### VulnerabilityConfirmPayload
...@@ -4291,9 +4291,9 @@ Represents an external issue link of a vulnerability. ...@@ -4291,9 +4291,9 @@ Represents an external issue link of a vulnerability.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `externalIssue` | ExternalIssue | The external issue attached to the issue link | | `externalIssue` | ExternalIssue | The external issue attached to the issue link. |
| `id` | VulnerabilitiesExternalIssueLinkID! | GraphQL ID of the external issue link | | `id` | VulnerabilitiesExternalIssueLinkID! | GraphQL ID of the external issue link. |
| `linkType` | VulnerabilityExternalIssueLinkType! | Type of the external issue link | | `linkType` | VulnerabilityExternalIssueLinkType! | Type of the external issue link. |
### VulnerabilityExternalIssueLinkCreatePayload ### VulnerabilityExternalIssueLinkCreatePayload
...@@ -4320,10 +4320,10 @@ Represents a vulnerability identifier. ...@@ -4320,10 +4320,10 @@ Represents a vulnerability identifier.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `externalId` | String | External ID of the vulnerability identifier | | `externalId` | String | External ID of the vulnerability identifier. |
| `externalType` | String | External type of the vulnerability identifier | | `externalType` | String | External type of the vulnerability identifier. |
| `name` | String | Name of the vulnerability identifier | | `name` | String | Name of the vulnerability identifier. |
| `url` | String | URL of the vulnerability identifier | | `url` | String | URL of the vulnerability identifier. |
### VulnerabilityIssueLink ### VulnerabilityIssueLink
...@@ -4331,9 +4331,9 @@ Represents an issue link of a vulnerability. ...@@ -4331,9 +4331,9 @@ Represents an issue link of a vulnerability.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `id` | ID! | GraphQL ID of the vulnerability | | `id` | ID! | GraphQL ID of the vulnerability. |
| `issue` | Issue! | The issue attached to issue link | | `issue` | Issue! | The issue attached to issue link. |
| `linkType` | VulnerabilityIssueLinkType! | Type of the issue link | | `linkType` | VulnerabilityIssueLinkType! | Type of the issue link. |
### VulnerabilityLocationContainerScanning ### VulnerabilityLocationContainerScanning
...@@ -4341,9 +4341,9 @@ Represents the location of a vulnerability found by a container security scan. ...@@ -4341,9 +4341,9 @@ Represents the location of a vulnerability found by a container security scan.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `dependency` | VulnerableDependency | Dependency containing the vulnerability | | `dependency` | VulnerableDependency | Dependency containing the vulnerability. |
| `image` | String | Name of the vulnerable container image | | `image` | String | Name of the vulnerable container image. |
| `operatingSystem` | String | Operating system that runs on the vulnerable container image | | `operatingSystem` | String | Operating system that runs on the vulnerable container image. |
### VulnerabilityLocationCoverageFuzzing ### VulnerabilityLocationCoverageFuzzing
...@@ -4351,12 +4351,12 @@ Represents the location of a vulnerability found by a Coverage Fuzzing scan. ...@@ -4351,12 +4351,12 @@ Represents the location of a vulnerability found by a Coverage Fuzzing scan.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `blobPath` | String | Blob path to the vulnerable file | | `blobPath` | String | Blob path to the vulnerable file. |
| `endLine` | String | Number of the last relevant line in the vulnerable file | | `endLine` | String | Number of the last relevant line in the vulnerable file. |
| `file` | String | Path to the vulnerable file | | `file` | String | Path to the vulnerable file. |
| `startLine` | String | Number of the first relevant line in the vulnerable file | | `startLine` | String | Number of the first relevant line in the vulnerable file. |
| `vulnerableClass` | String | Class containing the vulnerability | | `vulnerableClass` | String | Class containing the vulnerability. |
| `vulnerableMethod` | String | Method containing the vulnerability | | `vulnerableMethod` | String | Method containing the vulnerability. |
### VulnerabilityLocationDast ### VulnerabilityLocationDast
...@@ -4364,10 +4364,10 @@ Represents the location of a vulnerability found by a DAST scan. ...@@ -4364,10 +4364,10 @@ Represents the location of a vulnerability found by a DAST scan.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `hostname` | String | Domain name of the vulnerable request | | `hostname` | String | Domain name of the vulnerable request. |
| `param` | String | Query parameter for the URL on which the vulnerability occurred | | `param` | String | Query parameter for the URL on which the vulnerability occurred. |
| `path` | String | URL path and query string of the vulnerable request | | `path` | String | URL path and query string of the vulnerable request. |
| `requestMethod` | String | HTTP method of the vulnerable request | | `requestMethod` | String | HTTP method of the vulnerable request. |
### VulnerabilityLocationDependencyScanning ### VulnerabilityLocationDependencyScanning
...@@ -4375,9 +4375,9 @@ Represents the location of a vulnerability found by a dependency security scan. ...@@ -4375,9 +4375,9 @@ Represents the location of a vulnerability found by a dependency security scan.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `blobPath` | String | Blob path to the vulnerable file | | `blobPath` | String | Blob path to the vulnerable file. |
| `dependency` | VulnerableDependency | Dependency containing the vulnerability | | `dependency` | VulnerableDependency | Dependency containing the vulnerability. |
| `file` | String | Path to the vulnerable file | | `file` | String | Path to the vulnerable file. |
### VulnerabilityLocationSast ### VulnerabilityLocationSast
...@@ -4385,12 +4385,12 @@ Represents the location of a vulnerability found by a SAST scan. ...@@ -4385,12 +4385,12 @@ Represents the location of a vulnerability found by a SAST scan.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `blobPath` | String | Blob path to the vulnerable file | | `blobPath` | String | Blob path to the vulnerable file. |
| `endLine` | String | Number of the last relevant line in the vulnerable file | | `endLine` | String | Number of the last relevant line in the vulnerable file. |
| `file` | String | Path to the vulnerable file | | `file` | String | Path to the vulnerable file. |
| `startLine` | String | Number of the first relevant line in the vulnerable file | | `startLine` | String | Number of the first relevant line in the vulnerable file. |
| `vulnerableClass` | String | Class containing the vulnerability | | `vulnerableClass` | String | Class containing the vulnerability. |
| `vulnerableMethod` | String | Method containing the vulnerability | | `vulnerableMethod` | String | Method containing the vulnerability. |
### VulnerabilityLocationSecretDetection ### VulnerabilityLocationSecretDetection
...@@ -4398,12 +4398,12 @@ Represents the location of a vulnerability found by a secret detection scan. ...@@ -4398,12 +4398,12 @@ Represents the location of a vulnerability found by a secret detection scan.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `blobPath` | String | Blob path to the vulnerable file | | `blobPath` | String | Blob path to the vulnerable file. |
| `endLine` | String | Number of the last relevant line in the vulnerable file | | `endLine` | String | Number of the last relevant line in the vulnerable file. |
| `file` | String | Path to the vulnerable file | | `file` | String | Path to the vulnerable file. |
| `startLine` | String | Number of the first relevant line in the vulnerable file | | `startLine` | String | Number of the first relevant line in the vulnerable file. |
| `vulnerableClass` | String | Class containing the vulnerability | | `vulnerableClass` | String | Class containing the vulnerability. |
| `vulnerableMethod` | String | Method containing the vulnerability | | `vulnerableMethod` | String | Method containing the vulnerability. |
### VulnerabilityPermissions ### VulnerabilityPermissions
...@@ -4447,10 +4447,10 @@ Represents a vulnerability scanner. ...@@ -4447,10 +4447,10 @@ Represents a vulnerability scanner.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `externalId` | String | External ID of the vulnerability scanner | | `externalId` | String | External ID of the vulnerability scanner. |
| `name` | String | Name of the vulnerability scanner | | `name` | String | Name of the vulnerability scanner. |
| `reportType` | VulnerabilityReportType | Type of the vulnerability report | | `reportType` | VulnerabilityReportType | Type of the vulnerability report. |
| `vendor` | String | Vendor of the vulnerability scanner | | `vendor` | String | Vendor of the vulnerability scanner. |
### VulnerabilitySeveritiesCount ### VulnerabilitySeveritiesCount
...@@ -4471,8 +4471,8 @@ Represents a vulnerable dependency. Used in vulnerability location data. ...@@ -4471,8 +4471,8 @@ Represents a vulnerable dependency. Used in vulnerability location data.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `package` | VulnerablePackage | The package associated with the vulnerable dependency | | `package` | VulnerablePackage | The package associated with the vulnerable dependency. |
| `version` | String | The version of the vulnerable dependency | | `version` | String | The version of the vulnerable dependency. |
### VulnerablePackage ### VulnerablePackage
...@@ -4480,7 +4480,7 @@ Represents a vulnerable package. Used in vulnerability dependency data. ...@@ -4480,7 +4480,7 @@ Represents a vulnerable package. Used in vulnerability dependency data.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `name` | String | The name of the vulnerable package | | `name` | String | The name of the vulnerable package. |
### VulnerableProjectsByGrade ### VulnerableProjectsByGrade
...@@ -4488,9 +4488,9 @@ Represents vulnerability letter grades with associated projects. ...@@ -4488,9 +4488,9 @@ Represents vulnerability letter grades with associated projects.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
| `count` | Int! | Number of projects within this grade | | `count` | Int! | Number of projects within this grade. |
| `grade` | VulnerabilityGrade! | Grade based on the highest severity vulnerability present | | `grade` | VulnerabilityGrade! | Grade based on the highest severity vulnerability present. |
| `projects` | ProjectConnection! | Projects within this grade | | `projects` | ProjectConnection! | Projects within this grade. |
## Enumeration types ## Enumeration types
......
...@@ -10,22 +10,22 @@ module Types ...@@ -10,22 +10,22 @@ module Types
argument :id, argument :id,
::Types::GlobalIDType[::EpicTreeSorting], ::Types::GlobalIDType[::EpicTreeSorting],
required: true, 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, argument :adjacent_reference_id,
::Types::GlobalIDType[::EpicTreeSorting], ::Types::GlobalIDType[::EpicTreeSorting],
required: false, 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, argument :relative_position,
MoveTypeEnum, MoveTypeEnum,
required: false, 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, argument :new_parent_id,
::Types::GlobalIDType[::Epic], ::Types::GlobalIDType[::Epic],
required: false, required: false,
description: 'ID of the new parent epic' description: 'ID of the new parent epic.'
end end
# rubocop: enable Graphql/AuthorizeTypes # rubocop: enable Graphql/AuthorizeTypes
end end
......
...@@ -7,25 +7,25 @@ module Types ...@@ -7,25 +7,25 @@ module Types
description 'Represents an external issue' description 'Represents an external issue'
field :title, GraphQL::STRING_TYPE, null: true, 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, 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, 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, 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, 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, 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, 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 def relative_reference
object.dig(:references, :relative) object.dig(:references, :relative)
......
...@@ -7,37 +7,37 @@ module Types ...@@ -7,37 +7,37 @@ module Types
authorize :read_geo_node authorize :read_geo_node
field :id, GraphQL::ID_TYPE, null: false, description: 'ID of this GeoNode' 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 :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 :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 :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 :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 :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 :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 :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 :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 :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 :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_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_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 :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 :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, field :merge_request_diff_registries, ::Types::Geo::MergeRequestDiffRegistryType.connection_type,
null: true, null: true,
resolver: ::Resolvers::Geo::MergeRequestDiffRegistriesResolver, 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, field :package_file_registries, ::Types::Geo::PackageFileRegistryType.connection_type,
null: true, null: true,
resolver: ::Resolvers::Geo::PackageFileRegistriesResolver, 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, field :snippet_repository_registries, ::Types::Geo::SnippetRepositoryRegistryType.connection_type,
null: true, null: true,
resolver: ::Resolvers::Geo::SnippetRepositoryRegistriesResolver, 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, field :terraform_state_version_registries, ::Types::Geo::TerraformStateVersionRegistryType.connection_type,
null: true, null: true,
resolver: ::Resolvers::Geo::TerraformStateVersionRegistriesResolver, 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 end
end end
...@@ -9,7 +9,7 @@ module Types ...@@ -9,7 +9,7 @@ module Types
graphql_name 'MergeRequestDiffRegistry' graphql_name 'MergeRequestDiffRegistry'
description 'Represents the Geo sync and verification state of a Merge Request diff' 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 end
end end
...@@ -9,7 +9,7 @@ module Types ...@@ -9,7 +9,7 @@ module Types
graphql_name 'PackageFileRegistry' graphql_name 'PackageFileRegistry'
description 'Represents the Geo sync and verification state of a package file' 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 end
end end
...@@ -9,7 +9,7 @@ module Types ...@@ -9,7 +9,7 @@ module Types
graphql_name 'SnippetRepositoryRegistry' graphql_name 'SnippetRepositoryRegistry'
description 'Represents the Geo sync and verification state of a snippet repository' 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 end
end end
...@@ -9,7 +9,7 @@ module Types ...@@ -9,7 +9,7 @@ module Types
graphql_name 'TerraformStateVersionRegistry' graphql_name 'TerraformStateVersionRegistry'
description 'Represents the Geo sync and verification state of a terraform state version' 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 end
end end
...@@ -9,6 +9,6 @@ module Types ...@@ -9,6 +9,6 @@ module Types
field :release_stats, Types::GroupReleaseStatsType, field :release_stats, Types::GroupReleaseStatsType,
null: true, method: :itself, null: true, method: :itself,
description: 'Statistics related to releases within the group' description: 'Statistics related to releases within the group.'
end end
end end
...@@ -11,27 +11,27 @@ module Types ...@@ -11,27 +11,27 @@ module Types
field :iid, field :iid,
GraphQL::ID_TYPE, GraphQL::ID_TYPE,
null: false, null: false,
description: 'Internal ID of the on-call schedule' description: 'Internal ID of the on-call schedule.'
field :name, field :name,
GraphQL::STRING_TYPE, GraphQL::STRING_TYPE,
null: false, null: false,
description: 'Name of the on-call schedule' description: 'Name of the on-call schedule.'
field :description, field :description,
GraphQL::STRING_TYPE, GraphQL::STRING_TYPE,
null: true, null: true,
description: 'Description of the on-call schedule' description: 'Description of the on-call schedule.'
field :timezone, field :timezone,
GraphQL::STRING_TYPE, GraphQL::STRING_TYPE,
null: false, null: false,
description: 'Time zone of the on-call schedule' description: 'Time zone of the on-call schedule.'
field :rotations, field :rotations,
OncallRotationType.connection_type, OncallRotationType.connection_type,
null: false, null: false,
description: 'On-call rotations for the on-call schedule' description: 'On-call rotations for the on-call schedule.'
end end
end end
end end
...@@ -9,22 +9,22 @@ module Types ...@@ -9,22 +9,22 @@ module Types
field :projects, field :projects,
Types::ProjectType.connection_type, Types::ProjectType.connection_type,
null: false, null: false,
description: 'Projects selected in Instance Security Dashboard' description: 'Projects selected in Instance Security Dashboard.'
field :vulnerability_scanners, field :vulnerability_scanners,
::Types::VulnerabilityScannerType.connection_type, ::Types::VulnerabilityScannerType.connection_type,
null: true, 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 resolver: ::Resolvers::Vulnerabilities::ScannersResolver
field :vulnerability_severities_count, ::Types::VulnerabilitySeveritiesCountType, null: true, 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 resolver: ::Resolvers::VulnerabilitySeveritiesCountResolver
field :vulnerability_grades, field :vulnerability_grades,
[Types::VulnerableProjectsByGradeType], [Types::VulnerableProjectsByGradeType],
null: false, null: false,
description: 'Represents vulnerable project counts for each grade' description: 'Represents vulnerable project counts for each grade.'
def vulnerability_grades def vulnerability_grades
::Gitlab::Graphql::Aggregations::VulnerabilityStatistics::LazyAggregate.new( ::Gitlab::Graphql::Aggregations::VulnerabilityStatistics::LazyAggregate.new(
......
...@@ -12,43 +12,43 @@ module Types ...@@ -12,43 +12,43 @@ module Types
implements ::Types::TimeboxReportInterface implements ::Types::TimeboxReportInterface
field :id, GraphQL::ID_TYPE, null: false, field :id, GraphQL::ID_TYPE, null: false,
description: 'ID of the iteration' description: 'ID of the iteration.'
field :iid, GraphQL::ID_TYPE, null: false, 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, field :title, GraphQL::STRING_TYPE, null: false,
description: 'Title of the iteration' description: 'Title of the iteration.'
field :description, GraphQL::STRING_TYPE, null: true, field :description, GraphQL::STRING_TYPE, null: true,
description: 'Description of the iteration' description: 'Description of the iteration.'
markdown_field :description_html, null: true markdown_field :description_html, null: true
field :state, Types::IterationStateEnum, null: false, 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, 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, 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], 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], 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, 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, 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, field :created_at, Types::TimeType, null: false,
description: 'Timestamp of iteration creation' description: 'Timestamp of iteration creation.'
field :updated_at, Types::TimeType, null: false, field :updated_at, Types::TimeType, null: false,
description: 'Timestamp of last iteration update' description: 'Timestamp of last iteration update.'
end end
end end
...@@ -8,19 +8,19 @@ module Types ...@@ -8,19 +8,19 @@ module Types
authorize :read_issuable_metric_image authorize :read_issuable_metric_image
field :id, GraphQL::ID_TYPE, null: false, 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, 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, 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, field :file_name, GraphQL::STRING_TYPE, null: true,
description: 'File name of the metric image', description: 'File name of the metric image.',
method: :filename method: :filename
field :file_path, GraphQL::STRING_TYPE, null: true, field :file_path, GraphQL::STRING_TYPE, null: true,
description: 'File path of the metric image' description: 'File path of the metric image.'
end end
end end
...@@ -7,8 +7,8 @@ module Types ...@@ -7,8 +7,8 @@ module Types
graphql_name 'RequirementStatesCount' graphql_name 'RequirementStatesCount'
description 'Counts of requirements by their state' description 'Counts of requirements by their state'
field :opened, GraphQL::INT_TYPE, null: true, description: 'Number of opened 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' field :archived, GraphQL::INT_TYPE, null: true, description: 'Number of archived requirements.'
end end
# rubocop: enable Graphql/AuthorizeTypes # rubocop: enable Graphql/AuthorizeTypes
end end
......
...@@ -11,46 +11,46 @@ module Types ...@@ -11,46 +11,46 @@ module Types
expose_permissions Types::PermissionTypes::Requirement expose_permissions Types::PermissionTypes::Requirement
field :id, GraphQL::ID_TYPE, null: false, field :id, GraphQL::ID_TYPE, null: false,
description: 'ID of the requirement' description: 'ID of the requirement.'
field :iid, GraphQL::ID_TYPE, null: false, 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, field :title, GraphQL::STRING_TYPE, null: true,
description: 'Title of the requirement' description: 'Title of the requirement.'
markdown_field :title_html, null: true markdown_field :title_html, null: true
field :description, GraphQL::STRING_TYPE, 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 markdown_field :description_html, null: true
field :state, RequirementsManagement::RequirementStateEnum, null: false, 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, 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, field :last_test_report_manually_created,
GraphQL::BOOLEAN_TYPE, GraphQL::BOOLEAN_TYPE,
method: :last_test_report_manually_created?, method: :last_test_report_manually_created?,
null: true, 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, field :project, ProjectType, null: false,
description: 'Project to which the requirement belongs' description: 'Project to which the requirement belongs.'
field :author, UserType, null: false, 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, 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 resolver: Resolvers::RequirementsManagement::TestReportsResolver
field :created_at, Types::TimeType, null: false, 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, 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 def project
Gitlab::Graphql::Loaders::BatchModelLoader.new(Project, object.project_id).find Gitlab::Graphql::Loaders::BatchModelLoader.new(Project, object.project_id).find
......
...@@ -9,16 +9,16 @@ module Types ...@@ -9,16 +9,16 @@ module Types
authorize :read_requirement authorize :read_requirement
field :id, GraphQL::ID_TYPE, null: false, field :id, GraphQL::ID_TYPE, null: false,
description: 'ID of the test report' description: 'ID of the test report.'
field :state, TestReportStateEnum, null: false, field :state, TestReportStateEnum, null: false,
description: 'State of the test report' description: 'State of the test report.'
field :author, UserType, null: true, field :author, UserType, null: true,
description: 'Author of the test report' description: 'Author of the test report.'
field :created_at, TimeType, null: false, 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 def author
Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.author_id).find Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.author_id).find
......
...@@ -6,7 +6,7 @@ module Types ...@@ -6,7 +6,7 @@ module Types
graphql_name 'ScannedResource' graphql_name 'ScannedResource'
description 'Represents a resource scanned by a security scan' description 'Represents a resource scanned by a security scan'
field :url, GraphQL::STRING_TYPE, null: true, description: 'The URL scanned by the scanner' 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 :request_method, GraphQL::STRING_TYPE, null: true, description: 'The HTTP request method used to access the URL.'
end end
end end
...@@ -6,9 +6,9 @@ module Types ...@@ -6,9 +6,9 @@ module Types
graphql_name 'SecurityReportSummarySection' graphql_name 'SecurityReportSummarySection'
description 'Represents a section of a summary of a security report' 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 :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_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, ::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 :scanned_resources_csv_path, GraphQL::STRING_TYPE, null: true, description: 'Path to download all the scanned resources in CSV format.'
end end
end end
...@@ -7,12 +7,12 @@ module Types ...@@ -7,12 +7,12 @@ module Types
description 'Represents the time report stats for timeboxes' description 'Represents the time report stats for timeboxes'
field :complete, ::Types::TimeboxMetricsType, null: true, field :complete, ::Types::TimeboxMetricsType, null: true,
description: 'Completed issues metrics' description: 'Completed issues metrics.'
field :incomplete, ::Types::TimeboxMetricsType, null: true, field :incomplete, ::Types::TimeboxMetricsType, null: true,
description: 'Incomplete issues metrics' description: 'Incomplete issues metrics.'
field :total, ::Types::TimeboxMetricsType, null: true, field :total, ::Types::TimeboxMetricsType, null: true,
description: 'Total issues metrics' description: 'Total issues metrics.'
end end
end end
...@@ -7,9 +7,9 @@ module Types ...@@ -7,9 +7,9 @@ module Types
description 'Represents measured stats metrics for timeboxes' description 'Represents measured stats metrics for timeboxes'
field :count, GraphQL::INT_TYPE, null: false, field :count, GraphQL::INT_TYPE, null: false,
description: 'The count metric' description: 'The count metric.'
field :weight, GraphQL::INT_TYPE, null: false, field :weight, GraphQL::INT_TYPE, null: false,
description: 'The weight metric' description: 'The weight metric.'
end end
end end
...@@ -6,7 +6,7 @@ module Types ...@@ -6,7 +6,7 @@ module Types
field :report, Types::TimeboxReportType, null: true, field :report, Types::TimeboxReportType, null: true,
resolver: ::Resolvers::TimeboxReportResolver, resolver: ::Resolvers::TimeboxReportResolver,
description: 'Historically accurate report about the timebox', description: 'Historically accurate report about the timebox.',
complexity: 175 complexity: 175
end end
end end
...@@ -7,8 +7,8 @@ module Types ...@@ -7,8 +7,8 @@ module Types
description 'Represents a historically accurate report about the timebox' description 'Represents a historically accurate report about the timebox'
field :stats, ::Types::TimeReportStatsType, null: true, 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, 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
end end
...@@ -9,27 +9,27 @@ module Types ...@@ -9,27 +9,27 @@ module Types
field :spent_at, field :spent_at,
Types::TimeType, Types::TimeType,
null: true, 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, field :time_spent,
GraphQL::INT_TYPE, GraphQL::INT_TYPE,
null: false, null: false,
description: 'The time spent displayed in seconds' description: 'The time spent displayed in seconds.'
field :user, field :user,
Types::UserType, Types::UserType,
null: false, null: false,
description: 'The user that logged the time' description: 'The user that logged the time.'
field :issue, field :issue,
Types::IssueType, Types::IssueType,
null: true, null: true,
description: 'The issue that logged time was added to' description: 'The issue that logged time was added to.'
field :note, field :note,
Types::Notes::NoteType, Types::Notes::NoteType,
null: true, 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 def user
Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.user_id).find Gitlab::Graphql::Loaders::BatchModelLoader.new(User, object.user_id).find
......
...@@ -7,12 +7,12 @@ module Types ...@@ -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' 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, field :count, GraphQL::INT_TYPE, null: true,
description: 'Number of vulnerabilities' description: 'Number of vulnerabilities.'
field :day, GraphQL::Types::ISO8601Date, null: true, field :day, GraphQL::Types::ISO8601Date, null: true,
description: 'Date for the count' description: 'Date for the count.'
field :severity, VulnerabilitySeverityEnum, null: true, field :severity, VulnerabilitySeverityEnum, null: true,
description: 'Severity of the counted vulnerabilities' description: 'Severity of the counted vulnerabilities.'
end end
end end
...@@ -7,10 +7,10 @@ module Types ...@@ -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' 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, field :date, GraphQL::Types::ISO8601Date, null: false,
description: 'Date for the count' description: 'Date for the count.'
field :total, GraphQL::INT_TYPE, null: false, 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| ::Enums::Vulnerability.severity_levels.keys.each do |severity|
field severity.to_s, GraphQL::INT_TYPE, null: false, field severity.to_s, GraphQL::INT_TYPE, null: false,
......
...@@ -9,13 +9,13 @@ module Types ...@@ -9,13 +9,13 @@ module Types
authorize :read_vulnerability authorize :read_vulnerability
field :id, GlobalIDType[::Vulnerabilities::ExternalIssueLink], null: false, 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, 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, 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 resolver: Resolvers::ExternalIssueResolver
end end
end end
......
...@@ -8,13 +8,13 @@ module Types ...@@ -8,13 +8,13 @@ module Types
description 'Represents an issue link of a vulnerability' description 'Represents an issue link of a vulnerability'
field :id, GraphQL::ID_TYPE, null: false, 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, 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, field :issue, ::Types::IssueType, null: false,
description: 'The issue attached to issue link' description: 'The issue attached to issue link.'
end end
# rubocop: enable Graphql/AuthorizeTypes # rubocop: enable Graphql/AuthorizeTypes
end end
......
...@@ -7,16 +7,16 @@ module Types ...@@ -7,16 +7,16 @@ module Types
description 'Represents a vulnerability identifier' description 'Represents a vulnerability identifier'
field :name, GraphQL::STRING_TYPE, null: true, 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, 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, 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, field :external_id, GraphQL::STRING_TYPE, null: true,
description: 'External ID of the vulnerability identifier' description: 'External ID of the vulnerability identifier.'
end end
# rubocop: enable Graphql/AuthorizeTypes # rubocop: enable Graphql/AuthorizeTypes
end end
...@@ -8,13 +8,13 @@ module Types ...@@ -8,13 +8,13 @@ module Types
description 'Represents the location of a vulnerability found by a container security scan' description 'Represents the location of a vulnerability found by a container security scan'
field :dependency, ::Types::VulnerableDependencyType, null: true, field :dependency, ::Types::VulnerableDependencyType, null: true,
description: 'Dependency containing the vulnerability' description: 'Dependency containing the vulnerability.'
field :image, GraphQL::STRING_TYPE, null: true, 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, 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 end
end end
...@@ -8,24 +8,24 @@ module Types ...@@ -8,24 +8,24 @@ module Types
description 'Represents the location of a vulnerability found by a Coverage Fuzzing scan' description 'Represents the location of a vulnerability found by a Coverage Fuzzing scan'
field :vulnerable_class, GraphQL::STRING_TYPE, null: true, field :vulnerable_class, GraphQL::STRING_TYPE, null: true,
description: 'Class containing the vulnerability', description: 'Class containing the vulnerability.',
hash_key: :class hash_key: :class
field :end_line, GraphQL::STRING_TYPE, null: true, 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, 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, field :vulnerable_method, GraphQL::STRING_TYPE, null: true,
description: 'Method containing the vulnerability', description: 'Method containing the vulnerability.',
hash_key: :method hash_key: :method
field :start_line, GraphQL::STRING_TYPE, null: true, 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, 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 end
end end
...@@ -8,16 +8,16 @@ module Types ...@@ -8,16 +8,16 @@ module Types
description 'Represents the location of a vulnerability found by a DAST scan' description 'Represents the location of a vulnerability found by a DAST scan'
field :hostname, GraphQL::STRING_TYPE, null: true, 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, 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, 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, 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 end
end end
...@@ -8,13 +8,13 @@ module Types ...@@ -8,13 +8,13 @@ module Types
description 'Represents the location of a vulnerability found by a dependency security scan' description 'Represents the location of a vulnerability found by a dependency security scan'
field :dependency, ::Types::VulnerableDependencyType, null: true, field :dependency, ::Types::VulnerableDependencyType, null: true,
description: 'Dependency containing the vulnerability' description: 'Dependency containing the vulnerability.'
field :file, GraphQL::STRING_TYPE, null: true, 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, 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 end
end end
...@@ -8,24 +8,24 @@ module Types ...@@ -8,24 +8,24 @@ module Types
description 'Represents the location of a vulnerability found by a SAST scan' description 'Represents the location of a vulnerability found by a SAST scan'
field :vulnerable_class, GraphQL::STRING_TYPE, null: true, field :vulnerable_class, GraphQL::STRING_TYPE, null: true,
description: 'Class containing the vulnerability', description: 'Class containing the vulnerability.',
hash_key: :class hash_key: :class
field :end_line, GraphQL::STRING_TYPE, null: true, 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, 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, field :vulnerable_method, GraphQL::STRING_TYPE, null: true,
description: 'Method containing the vulnerability', description: 'Method containing the vulnerability.',
hash_key: :method hash_key: :method
field :start_line, GraphQL::STRING_TYPE, null: true, 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, 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 end
end end
...@@ -8,24 +8,24 @@ module Types ...@@ -8,24 +8,24 @@ module Types
description 'Represents the location of a vulnerability found by a secret detection scan' description 'Represents the location of a vulnerability found by a secret detection scan'
field :vulnerable_class, GraphQL::STRING_TYPE, null: true, field :vulnerable_class, GraphQL::STRING_TYPE, null: true,
description: 'Class containing the vulnerability', description: 'Class containing the vulnerability.',
hash_key: :class hash_key: :class
field :end_line, GraphQL::STRING_TYPE, null: true, 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, 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, field :vulnerable_method, GraphQL::STRING_TYPE, null: true,
description: 'Method containing the vulnerability', description: 'Method containing the vulnerability.',
hash_key: :method hash_key: :method
field :start_line, GraphQL::STRING_TYPE, null: true, 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, 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 end
end end
...@@ -8,15 +8,15 @@ module Types ...@@ -8,15 +8,15 @@ module Types
authorize :read_vulnerability_scanner authorize :read_vulnerability_scanner
field :name, GraphQL::STRING_TYPE, null: true, 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, 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, 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, field :report_type, VulnerabilityReportTypeEnum, null: true,
description: 'Type of the vulnerability report' description: 'Type of the vulnerability report.'
end end
end end
...@@ -12,13 +12,13 @@ module Types ...@@ -12,13 +12,13 @@ module Types
expose_permissions Types::PermissionTypes::Vulnerability expose_permissions Types::PermissionTypes::Vulnerability
field :id, GraphQL::ID_TYPE, null: false, 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, field :title, GraphQL::STRING_TYPE, null: true,
description: 'Title of the vulnerability' description: 'Title of the vulnerability.'
field :description, GraphQL::STRING_TYPE, null: true, field :description, GraphQL::STRING_TYPE, null: true,
description: 'Description of the vulnerability' description: 'Description of the vulnerability.'
field :state, VulnerabilityStateEnum, null: true, field :state, VulnerabilityStateEnum, null: true,
description: "State of the vulnerability (#{::Vulnerability.states.keys.join(', ').upcase})" description: "State of the vulnerability (#{::Vulnerability.states.keys.join(', ').upcase})"
...@@ -30,23 +30,23 @@ module Types ...@@ -30,23 +30,23 @@ module Types
description: "Type of the security report that found the vulnerability (#{::Enums::Vulnerability.report_types.keys.join(', ').upcase})" 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, 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, 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, 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, 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 resolver: Resolvers::Vulnerabilities::IssueLinksResolver
field :external_issue_links, ::Types::Vulnerability::ExternalIssueLinkType.connection_type, null: false, 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, 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, field :scanner, VulnerabilityScannerType, null: true,
description: 'Scanner metadata for the vulnerability.' description: 'Scanner metadata for the vulnerability.'
...@@ -58,21 +58,21 @@ module Types ...@@ -58,21 +58,21 @@ module Types
description: 'Identifiers of the vulnerability.' description: 'Identifiers of the vulnerability.'
field :project, ::Types::ProjectType, null: true, 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 authorize: :read_project
field :detected_at, Types::TimeType, null: false, 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 method: :created_at
field :confirmed_at, Types::TimeType, null: true, 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, 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, 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, field :has_solutions, GraphQL::BOOLEAN_TYPE, null: true,
description: 'Indicates whether there is a solution available for this vulnerability.', description: 'Indicates whether there is a solution available for this vulnerability.',
...@@ -91,7 +91,7 @@ module Types ...@@ -91,7 +91,7 @@ module Types
description: 'The user that dismissed the vulnerability.' description: 'The user that dismissed the vulnerability.'
field :details, [VulnerabilityDetailType], null: false, field :details, [VulnerabilityDetailType], null: false,
description: 'Details of the vulnerability', description: 'Details of the vulnerability.',
resolver: Resolvers::Vulnerabilities::DetailsResolver resolver: Resolvers::Vulnerabilities::DetailsResolver
def confirmed_by def confirmed_by
......
...@@ -7,9 +7,9 @@ module Types ...@@ -7,9 +7,9 @@ module Types
description 'Represents a vulnerable dependency. Used in vulnerability location data' description 'Represents a vulnerable dependency. Used in vulnerability location data'
field :package, ::Types::VulnerablePackageType, null: true, 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, field :version, GraphQL::STRING_TYPE, null: true,
description: 'The version of the vulnerable dependency' description: 'The version of the vulnerable dependency.'
end end
end end
...@@ -7,6 +7,6 @@ module Types ...@@ -7,6 +7,6 @@ module Types
description 'Represents a vulnerable package. Used in vulnerability dependency data' description 'Represents a vulnerable package. Used in vulnerability dependency data'
field :name, GraphQL::STRING_TYPE, null: true, field :name, GraphQL::STRING_TYPE, null: true,
description: 'The name of the vulnerable package' description: 'The name of the vulnerable package.'
end end
end end
...@@ -7,14 +7,14 @@ module Types ...@@ -7,14 +7,14 @@ module Types
description 'Represents vulnerability letter grades with associated projects' description 'Represents vulnerability letter grades with associated projects'
field :grade, Types::VulnerabilityGradeEnum, null: false, 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, field :count, GraphQL::INT_TYPE, null: false,
description: 'Number of projects within this grade', description: 'Number of projects within this grade.',
complexity: 5 complexity: 5
field :projects, Types::ProjectType.connection_type, null: false, field :projects, Types::ProjectType.connection_type, null: false,
description: 'Projects within this grade', description: 'Projects within this grade.',
complexity: 5 complexity: 5
end end
# rubocop: enable Graphql/AuthorizeTypes # 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