Skip to content

Commit e482255

Browse files
committed
Update constants.py
1 parent 5a1b68f commit e482255

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

jupiterone/constants.py

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,4 +473,63 @@
473473
__typename
474474
}
475475
}
476+
"""
477+
478+
UPDATE_RULE_INSTANCE = """
479+
mutation updateQuestionRuleInstance($instance: UpdateInlineQuestionRuleInstanceInput!) {
480+
updateInlineQuestionRuleInstance(instance: $instance) {
481+
...RuleInstanceFields
482+
__typename
483+
}
484+
}
485+
486+
fragment RuleInstanceFields on QuestionRuleInstance {
487+
id
488+
accountId
489+
name
490+
description
491+
version
492+
lastEvaluationStartOn
493+
lastEvaluationEndOn
494+
evaluationStep
495+
specVersion
496+
notifyOnFailure
497+
triggerActionsOnNewEntitiesOnly
498+
ignorePreviousResults
499+
pollingInterval
500+
templates
501+
outputs
502+
labels {
503+
labelName
504+
labelValue
505+
__typename
506+
}
507+
question {
508+
queries {
509+
query
510+
name
511+
includeDeleted
512+
__typename
513+
}
514+
__typename
515+
}
516+
questionId
517+
latest
518+
deleted
519+
type
520+
operations {
521+
when
522+
actions
523+
__typename
524+
}
525+
latestAlertId
526+
latestAlertIsActive
527+
state {
528+
actions
529+
__typename
530+
}
531+
tags
532+
remediationSteps
533+
__typename
534+
}
476535
"""

0 commit comments

Comments
 (0)