Commit bb64e45f authored by Philip Cunningham's avatar Philip Cunningham

Add more specific ID type for DastSiteProfiles

parent 121c98d5
...@@ -2321,7 +2321,7 @@ type DastSiteProfile { ...@@ -2321,7 +2321,7 @@ type DastSiteProfile {
""" """
ID of the site profile ID of the site profile
""" """
id: ID! id: DastSiteProfileID!
""" """
The name of the site profile The name of the site profile
...@@ -2406,7 +2406,7 @@ type DastSiteProfileCreatePayload { ...@@ -2406,7 +2406,7 @@ type DastSiteProfileCreatePayload {
""" """
ID of the site profile. ID of the site profile.
""" """
id: ID id: DastSiteProfileID
} }
""" """
......
...@@ -6230,7 +6230,7 @@ ...@@ -6230,7 +6230,7 @@
"name": null, "name": null,
"ofType": { "ofType": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "ID", "name": "DastSiteProfileID",
"ofType": null "ofType": null
} }
}, },
...@@ -6484,7 +6484,7 @@ ...@@ -6484,7 +6484,7 @@
], ],
"type": { "type": {
"kind": "SCALAR", "kind": "SCALAR",
"name": "ID", "name": "DastSiteProfileID",
"ofType": null "ofType": null
}, },
"isDeprecated": false, "isDeprecated": false,
...@@ -408,7 +408,7 @@ Represents a DAST Site Profile. ...@@ -408,7 +408,7 @@ Represents a DAST Site Profile.
| Name | Type | Description | | Name | Type | Description |
| --- | ---- | ---------- | | --- | ---- | ---------- |
| `id` | ID! | ID of the site profile | | `id` | DastSiteProfileID! | ID of the site profile |
| `profileName` | String | The name of the site profile | | `profileName` | String | The name of the site profile |
| `targetUrl` | String | The URL of the target to be scanned | | `targetUrl` | String | The URL of the target to be scanned |
| `userPermissions` | DastSiteProfilePermissions! | Permissions for the current user on the resource | | `userPermissions` | DastSiteProfilePermissions! | Permissions for the current user on the resource |
...@@ -422,7 +422,7 @@ Autogenerated return type of DastSiteProfileCreate ...@@ -422,7 +422,7 @@ Autogenerated return type of DastSiteProfileCreate
| --- | ---- | ---------- | | --- | ---- | ---------- |
| `clientMutationId` | String | A unique identifier for the client performing the mutation. | | `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. | | `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `id` | ID | ID of the site profile. | | `id` | DastSiteProfileID | ID of the site profile. |
## DastSiteProfileDeletePayload ## DastSiteProfileDeletePayload
......
...@@ -7,7 +7,7 @@ module Mutations ...@@ -7,7 +7,7 @@ module Mutations
graphql_name 'DastSiteProfileCreate' graphql_name 'DastSiteProfileCreate'
field :id, GraphQL::ID_TYPE, field :id, ::Types::GlobalIDType[::DastSiteProfile],
null: true, null: true,
description: 'ID of the site profile.' description: 'ID of the site profile.'
......
...@@ -9,7 +9,7 @@ module Types ...@@ -9,7 +9,7 @@ module Types
expose_permissions Types::PermissionTypes::DastSiteProfile expose_permissions Types::PermissionTypes::DastSiteProfile
field :id, GraphQL::ID_TYPE, null: false, field :id, ::Types::GlobalIDType[::DastSiteProfile], null: false,
description: 'ID of the site profile' description: 'ID of the site profile'
field :profile_name, GraphQL::STRING_TYPE, null: true, field :profile_name, GraphQL::STRING_TYPE, null: true,
......
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