Commit 88b24406 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch...

Merge branch '246931-follow-up-from-change-vulnerabilities-count-data-retention-to-1-year' into 'master'

Document Vulnerabilities Count Data Retention policy of 1 year

See merge request gitlab-org/gitlab!46054
parents ebf10530 49e061a6
...@@ -21153,7 +21153,7 @@ enum VisibilityScopesEnum { ...@@ -21153,7 +21153,7 @@ enum VisibilityScopesEnum {
} }
""" """
Represents the count of vulnerabilities by severity on a particular day Represents the count of vulnerabilities by severity on a particular day. This data is retained for 365 days
""" """
type VulnerabilitiesCountByDay { type VulnerabilitiesCountByDay {
""" """
...@@ -21198,7 +21198,7 @@ type VulnerabilitiesCountByDay { ...@@ -21198,7 +21198,7 @@ type VulnerabilitiesCountByDay {
} }
""" """
Represents the number of vulnerabilities for a particular severity on a particular day Represents the number of vulnerabilities for a particular severity on a particular day. This data is retained for 365 days
""" """
type VulnerabilitiesCountByDayAndSeverity { type VulnerabilitiesCountByDayAndSeverity {
""" """
......
...@@ -61224,7 +61224,7 @@ ...@@ -61224,7 +61224,7 @@
{ {
"kind": "OBJECT", "kind": "OBJECT",
"name": "VulnerabilitiesCountByDay", "name": "VulnerabilitiesCountByDay",
"description": "Represents the count of vulnerabilities by severity on a particular day", "description": "Represents the count of vulnerabilities by severity on a particular day. This data is retained for 365 days",
"fields": [ "fields": [
{ {
"name": "critical", "name": "critical",
...@@ -61381,7 +61381,7 @@ ...@@ -61381,7 +61381,7 @@
{ {
"kind": "OBJECT", "kind": "OBJECT",
"name": "VulnerabilitiesCountByDayAndSeverity", "name": "VulnerabilitiesCountByDayAndSeverity",
"description": "Represents the number of vulnerabilities for a particular severity on a particular day", "description": "Represents the number of vulnerabilities for a particular severity on a particular day. This data is retained for 365 days",
"fields": [ "fields": [
{ {
"name": "count", "name": "count",
...@@ -2948,7 +2948,7 @@ Autogenerated return type of UpdateSnippet. ...@@ -2948,7 +2948,7 @@ Autogenerated return type of UpdateSnippet.
### VulnerabilitiesCountByDay ### VulnerabilitiesCountByDay
Represents the count of vulnerabilities by severity on a particular day. Represents the count of vulnerabilities by severity on a particular day. This data is retained for 365 days.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
...@@ -2963,7 +2963,7 @@ Represents the count of vulnerabilities by severity on a particular day. ...@@ -2963,7 +2963,7 @@ Represents the count of vulnerabilities by severity on a particular day.
### VulnerabilitiesCountByDayAndSeverity ### VulnerabilitiesCountByDayAndSeverity
Represents the number of vulnerabilities for a particular severity on a particular day. Represents the number of vulnerabilities for a particular severity on a particular day. This data is retained for 365 days.
| Field | Type | Description | | Field | Type | Description |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
......
...@@ -116,7 +116,7 @@ enabled in a group. ...@@ -116,7 +116,7 @@ enabled in a group.
There is a timeline chart that shows how many open There is a timeline chart that shows how many open
vulnerabilities your projects had at various points in time. You can display the vulnerability vulnerabilities your projects had at various points in time. You can display the vulnerability
trends over a 30, 60, or 90-day time frame (the default is 90 days). Hover over the chart to get trends over a 30, 60, or 90-day time frame (the default is 90 days). Hover over the chart to get
more details about the open vulnerabilities at a specific time. more details about the open vulnerabilities at a specific time. Aggregated data beyond 90 days can be accessed by querying our [VulnerabilitiesCountByDay GraphQL API](../../../api/graphql/reference/index.md#vulnerabilitiescountbyday). This data is retained for 365 days.
Next to the timeline chart is a list of projects, grouped and sorted by the severity of the vulnerability found: Next to the timeline chart is a list of projects, grouped and sorted by the severity of the vulnerability found:
......
...@@ -4,7 +4,7 @@ module Types ...@@ -4,7 +4,7 @@ module Types
# rubocop: disable Graphql/AuthorizeTypes # rubocop: disable Graphql/AuthorizeTypes
class VulnerabilitiesCountByDayAndSeverityType < BaseObject class VulnerabilitiesCountByDayAndSeverityType < BaseObject
graphql_name 'VulnerabilitiesCountByDayAndSeverity' graphql_name 'VulnerabilitiesCountByDayAndSeverity'
description 'Represents the number of vulnerabilities for a particular severity on a particular day' 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'
......
...@@ -4,7 +4,7 @@ module Types ...@@ -4,7 +4,7 @@ module Types
# rubocop: disable Graphql/AuthorizeTypes # rubocop: disable Graphql/AuthorizeTypes
class VulnerabilitiesCountByDayType < BaseObject class VulnerabilitiesCountByDayType < BaseObject
graphql_name 'VulnerabilitiesCountByDay' graphql_name 'VulnerabilitiesCountByDay'
description 'Represents the count of vulnerabilities by severity on a particular day' 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'
......
---
title: Add retention information to Vulnerability Count documentation
merge_request: 46054
author:
type: other
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