@@ -509,6 +509,18 @@ enum DataClassification
|
||||
value: "github.com/getprobo/probo/pkg/coredata.DataClassificationSecret"
|
||||
)
|
||||
}
|
||||
|
||||
enum ControlStatus
|
||||
@goModel(model: "github.com/getprobo/probo/pkg/coredata.ControlStatus") {
|
||||
INCLUDED
|
||||
@goEnum(
|
||||
value: "github.com/getprobo/probo/pkg/coredata.ControlStatusIncluded"
|
||||
)
|
||||
EXCLUDED
|
||||
@goEnum(
|
||||
value: "github.com/getprobo/probo/pkg/coredata.ControlStatusExcluded"
|
||||
)
|
||||
}
|
||||
# Input Types
|
||||
input UserOrder
|
||||
@goModel(
|
||||
@@ -859,6 +871,8 @@ type Control implements Node {
|
||||
sectionTitle: String!
|
||||
name: String!
|
||||
description: String!
|
||||
status: ControlStatus!
|
||||
exclusionJustification: String
|
||||
|
||||
framework: Framework! @goField(forceResolver: true)
|
||||
|
||||
@@ -1747,6 +1761,8 @@ input CreateControlInput {
|
||||
sectionTitle: String!
|
||||
name: String!
|
||||
description: String!
|
||||
status: ControlStatus
|
||||
exclusionJustification: String
|
||||
}
|
||||
|
||||
input UpdateControlInput {
|
||||
@@ -1754,6 +1770,8 @@ input UpdateControlInput {
|
||||
sectionTitle: String
|
||||
name: String
|
||||
description: String
|
||||
status: ControlStatus
|
||||
exclusionJustification: String
|
||||
}
|
||||
|
||||
input DeleteControlInput {
|
||||
|
||||
Reference in New Issue
Block a user