RulePackReviewDto
A stored review. It is the one pending review and expires 7 days after createdAt; fleet, coverage and attachedPolicyCount are computed when it is made.
{
"reviewId": "string",
"createdAt": "string",
"expiresAt": "string",
"packSequence": 0,
"packVersion": "string",
"artifactSha256": "string",
"alreadyInstalled": false,
"verification": {
"signatureVerified": false,
"signerFingerprint": "string",
"signerSubject": "string",
"timestampVerified": false,
"signingTime": "string"
},
"fleet": [
{
"groupId": 0,
"groupName": "string",
"agents": 0,
"belowMinAgentVersion": 0
}
],
"coverage": [
{
"groupId": 0,
"groupName": "string",
"agentsLosingRules": 0,
"agentsNotCovered": 0
}
],
"diff": {
"added": 0,
"updated": 0,
"retired": 0,
"retireNotPresent": 0,
"unchanged": 0
},
"builtInInUse": 0,
"retirementNeedsConfirmation": false,
"changes": [
{
"guid": "string",
"ruleId": 0,
"name": "string",
"changeType": "string",
"aspects": [
"string"
],
"ruleType": "string",
"ruleRank": "string",
"action": "string",
"minAgentVersion": "string",
"revision": 0,
"attachedPolicyCount": 0
}
]
}
Identifier of the stored review; pass it to the install and discard operations
When the review was made, as an ISO 8601 date-time in UTC
Seven days after createdAt, as an ISO 8601 date-time in UTC; installing a review past this time is refused with REVIEW_EXPIRED
Sequence number of the reviewed pack, from its manifest
Version text of the reviewed pack, from its manifest
SHA-256 of the reviewed rulepack.bin: pass it unchanged as the install request artifactSha256
True when the install ledger already records this exact pack; installing it then answers ALREADY_INSTALLED and writes nothing
What verified the pack. For an unsigned pack both flags are false and the three signer values are null.
One item per Security Group in id order, Groups without agents included: the Group's agents against the pack
One item per Security Group in id order, Groups without agents included: the Group's coverage change
Built-in Rules in use before the install
The pack retires more than half of the Built-in Rules in use: the install needs confirmRetirement true
The rules the install adds or updates, in pack entry order, then the rules it retires, in manifest order. Unchanged entries are only counted in diff