Commit 49e061a6 authored by Lindsay Kerr's avatar Lindsay Kerr Committed by Russell Dickenson

Document Vulnerabilities Count Data Retention policy of 1 year

parent fedf69a7
...@@ -21004,7 +21004,7 @@ enum VisibilityScopesEnum { ...@@ -21004,7 +21004,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 {
""" """
...@@ -21049,7 +21049,7 @@ type VulnerabilitiesCountByDay { ...@@ -21049,7 +21049,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 {
""" """
......
...@@ -60724,7 +60724,7 @@ ...@@ -60724,7 +60724,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",
...@@ -60881,7 +60881,7 @@ ...@@ -60881,7 +60881,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",
...@@ -2900,7 +2900,7 @@ Autogenerated return type of UpdateSnippet. ...@@ -2900,7 +2900,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 |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
...@@ -2915,7 +2915,7 @@ Represents the count of vulnerabilities by severity on a particular day. ...@@ -2915,7 +2915,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 |
| ----- | ---- | ----------- | | ----- | ---- | ----------- |
......
...@@ -111,7 +111,7 @@ enabled in a group. ...@@ -111,7 +111,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