Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions data/graphql/ghae/schema.docs-ghae.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -32997,6 +32997,11 @@ type Repository implements Node & ProjectOwner & RepositoryInfo & Starrable & Su
"""
before: String

"""
Filter by the scope of the alert's dependency
"""
dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!]

"""
Returns the first _n_ elements from the list.
"""
Expand Down Expand Up @@ -34288,6 +34293,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode {
"""
dependabotUpdate: DependabotUpdate

"""
The scope of an alert's dependency
"""
dependencyScope: RepositoryVulnerabilityAlertDependencyScope

"""
The reason the alert was dismissed
"""
Expand Down Expand Up @@ -34383,6 +34393,21 @@ type RepositoryVulnerabilityAlertConnection {
totalCount: Int!
}

"""
The possible scopes of an alert's dependency.
"""
enum RepositoryVulnerabilityAlertDependencyScope {
"""
A dependency that is only used in development
"""
DEVELOPMENT

"""
A dependency that is leveraged during application runtime
"""
RUNTIME
}

"""
An edge in a connection.
"""
Expand Down Expand Up @@ -35479,6 +35504,11 @@ enum SecurityAdvisoryEcosystem {
"""
COMPOSER

"""
Erlang/Elixir packages hosted at hex.pm
"""
ERLANG

"""
Go modules
"""
Expand Down
30 changes: 30 additions & 0 deletions data/graphql/ghec/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -40277,6 +40277,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
"""
before: String

"""
Filter by the scope of the alert's dependency
"""
dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!]

"""
Returns the first _n_ elements from the list.
"""
Expand Down Expand Up @@ -41658,6 +41663,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode {
"""
dependabotUpdate: DependabotUpdate

"""
The scope of an alert's dependency
"""
dependencyScope: RepositoryVulnerabilityAlertDependencyScope

"""
The reason the alert was dismissed
"""
Expand Down Expand Up @@ -41753,6 +41763,21 @@ type RepositoryVulnerabilityAlertConnection {
totalCount: Int!
}

"""
The possible scopes of an alert's dependency.
"""
enum RepositoryVulnerabilityAlertDependencyScope {
"""
A dependency that is only used in development
"""
DEVELOPMENT

"""
A dependency that is leveraged during application runtime
"""
RUNTIME
}

"""
An edge in a connection.
"""
Expand Down Expand Up @@ -42894,6 +42919,11 @@ enum SecurityAdvisoryEcosystem {
"""
COMPOSER

"""
Erlang/Elixir packages hosted at hex.pm
"""
ERLANG

"""
Go modules
"""
Expand Down
30 changes: 30 additions & 0 deletions data/graphql/schema.docs.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -40277,6 +40277,11 @@ type Repository implements Node & PackageOwner & ProjectOwner & ProjectV2Recent
"""
before: String

"""
Filter by the scope of the alert's dependency
"""
dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!]

"""
Returns the first _n_ elements from the list.
"""
Expand Down Expand Up @@ -41658,6 +41663,11 @@ type RepositoryVulnerabilityAlert implements Node & RepositoryNode {
"""
dependabotUpdate: DependabotUpdate

"""
The scope of an alert's dependency
"""
dependencyScope: RepositoryVulnerabilityAlertDependencyScope

"""
The reason the alert was dismissed
"""
Expand Down Expand Up @@ -41753,6 +41763,21 @@ type RepositoryVulnerabilityAlertConnection {
totalCount: Int!
}

"""
The possible scopes of an alert's dependency.
"""
enum RepositoryVulnerabilityAlertDependencyScope {
"""
A dependency that is only used in development
"""
DEVELOPMENT

"""
A dependency that is leveraged during application runtime
"""
RUNTIME
}

"""
An edge in a connection.
"""
Expand Down Expand Up @@ -42894,6 +42919,11 @@ enum SecurityAdvisoryEcosystem {
"""
COMPOSER

"""
Erlang/Elixir packages hosted at hex.pm
"""
ERLANG

"""
Go modules
"""
Expand Down
16 changes: 16 additions & 0 deletions lib/graphql/static/changelog.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
[
{
"schemaChanges": [
{
"title": "The GraphQL schema includes these changes:",
"changes": [
"Type `RepositoryVulnerabilityAlertDependencyScope` was added",
"Argument 'dependencyScopes: [RepositoryVulnerabilityAlertDependencyScope!]` added to field `Repository.vulnerabilityAlerts'",
"Field `dependencyScope` was added to object type `RepositoryVulnerabilityAlert`",
"Enum value `ERLANG` was added to enum `SecurityAdvisoryEcosystem`"
]
}
],
"previewChanges": [],
"upcomingChanges": [],
"date": "2022-06-29"
},
{
"schemaChanges": [
{
Expand Down
6 changes: 3 additions & 3 deletions lib/graphql/static/prerendered-objects.json

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions lib/graphql/static/schema-dotcom.json
Original file line number Diff line number Diff line change
Expand Up @@ -57084,6 +57084,16 @@
"href": "/graphql/reference/scalars#string"
}
},
{
"name": "dependencyScopes",
"description": "<p>Filter by the scope of the alert's dependency.</p>",
"type": {
"name": "[RepositoryVulnerabilityAlertDependencyScope!]",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
}
},
{
"name": "first",
"description": "<p>Returns the first <em>n</em> elements from the list.</p>",
Expand Down Expand Up @@ -58273,6 +58283,14 @@
"kind": "objects",
"href": "/graphql/reference/objects#dependabotupdate"
},
{
"name": "dependencyScope",
"description": "<p>The scope of an alert's dependency.</p>",
"type": "RepositoryVulnerabilityAlertDependencyScope",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
},
{
"name": "dismissReason",
"description": "<p>The reason the alert was dismissed.</p>",
Expand Down Expand Up @@ -76752,6 +76770,23 @@
}
]
},
{
"name": "RepositoryVulnerabilityAlertDependencyScope",
"kind": "enums",
"id": "repositoryvulnerabilityalertdependencyscope",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope",
"description": "<p>The possible scopes of an alert's dependency.</p>",
"values": [
{
"name": "DEVELOPMENT",
"description": "<p>A dependency that is only used in development.</p>"
},
{
"name": "RUNTIME",
"description": "<p>A dependency that is leveraged during application runtime.</p>"
}
]
},
{
"name": "RepositoryVulnerabilityAlertState",
"kind": "enums",
Expand Down Expand Up @@ -76939,6 +76974,10 @@
"name": "COMPOSER",
"description": "<p>PHP packages hosted at packagist.org.</p>"
},
{
"name": "ERLANG",
"description": "<p>Erlang/Elixir packages hosted at hex.pm.</p>"
},
{
"name": "GO",
"description": "<p>Go modules.</p>"
Expand Down
39 changes: 39 additions & 0 deletions lib/graphql/static/schema-ghae.json
Original file line number Diff line number Diff line change
Expand Up @@ -47018,6 +47018,16 @@
"href": "/graphql/reference/scalars#string"
}
},
{
"name": "dependencyScopes",
"description": "<p>Filter by the scope of the alert's dependency.</p>",
"type": {
"name": "[RepositoryVulnerabilityAlertDependencyScope!]",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
}
},
{
"name": "first",
"description": "<p>Returns the first <em>n</em> elements from the list.</p>",
Expand Down Expand Up @@ -48174,6 +48184,14 @@
"kind": "objects",
"href": "/graphql/reference/objects#dependabotupdate"
},
{
"name": "dependencyScope",
"description": "<p>The scope of an alert's dependency.</p>",
"type": "RepositoryVulnerabilityAlertDependencyScope",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
},
{
"name": "dismissReason",
"description": "<p>The reason the alert was dismissed.</p>",
Expand Down Expand Up @@ -62856,6 +62874,23 @@
}
]
},
{
"name": "RepositoryVulnerabilityAlertDependencyScope",
"kind": "enums",
"id": "repositoryvulnerabilityalertdependencyscope",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope",
"description": "<p>The possible scopes of an alert's dependency.</p>",
"values": [
{
"name": "DEVELOPMENT",
"description": "<p>A dependency that is only used in development.</p>"
},
{
"name": "RUNTIME",
"description": "<p>A dependency that is leveraged during application runtime.</p>"
}
]
},
{
"name": "RepositoryVulnerabilityAlertState",
"kind": "enums",
Expand Down Expand Up @@ -63043,6 +63078,10 @@
"name": "COMPOSER",
"description": "<p>PHP packages hosted at packagist.org.</p>"
},
{
"name": "ERLANG",
"description": "<p>Erlang/Elixir packages hosted at hex.pm.</p>"
},
{
"name": "GO",
"description": "<p>Go modules.</p>"
Expand Down
39 changes: 39 additions & 0 deletions lib/graphql/static/schema-ghec.json
Original file line number Diff line number Diff line change
Expand Up @@ -57084,6 +57084,16 @@
"href": "/graphql/reference/scalars#string"
}
},
{
"name": "dependencyScopes",
"description": "<p>Filter by the scope of the alert's dependency.</p>",
"type": {
"name": "[RepositoryVulnerabilityAlertDependencyScope!]",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
}
},
{
"name": "first",
"description": "<p>Returns the first <em>n</em> elements from the list.</p>",
Expand Down Expand Up @@ -58273,6 +58283,14 @@
"kind": "objects",
"href": "/graphql/reference/objects#dependabotupdate"
},
{
"name": "dependencyScope",
"description": "<p>The scope of an alert's dependency.</p>",
"type": "RepositoryVulnerabilityAlertDependencyScope",
"id": "repositoryvulnerabilityalertdependencyscope",
"kind": "enums",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope"
},
{
"name": "dismissReason",
"description": "<p>The reason the alert was dismissed.</p>",
Expand Down Expand Up @@ -76752,6 +76770,23 @@
}
]
},
{
"name": "RepositoryVulnerabilityAlertDependencyScope",
"kind": "enums",
"id": "repositoryvulnerabilityalertdependencyscope",
"href": "/graphql/reference/enums#repositoryvulnerabilityalertdependencyscope",
"description": "<p>The possible scopes of an alert's dependency.</p>",
"values": [
{
"name": "DEVELOPMENT",
"description": "<p>A dependency that is only used in development.</p>"
},
{
"name": "RUNTIME",
"description": "<p>A dependency that is leveraged during application runtime.</p>"
}
]
},
{
"name": "RepositoryVulnerabilityAlertState",
"kind": "enums",
Expand Down Expand Up @@ -76939,6 +76974,10 @@
"name": "COMPOSER",
"description": "<p>PHP packages hosted at packagist.org.</p>"
},
{
"name": "ERLANG",
"description": "<p>Erlang/Elixir packages hosted at hex.pm.</p>"
},
{
"name": "GO",
"description": "<p>Go modules.</p>"
Expand Down