Skip to content

Commit

Permalink
Load 'state' and 'last_seen' posture rule input fields into the postu…
Browse files Browse the repository at this point in the history
…re rule schema
  • Loading branch information
Tyler Stanish committed Jan 9, 2025
1 parent 3a3c3de commit 7f6566e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/4855.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/cloudflare_zero_trust_device_posture_rule: Fix 'last_seen' not being written to the state file
```
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ func convertInputToSchema(input cloudflare.DevicePostureRuleInput) []map[string]
"overall": input.Overall,
"sensor_config": input.SensorConfig,
"version_operator": input.VersionOperator,
"state": input.State,
"last_seen": input.LastSeen,
"count_operator": input.CountOperator,
"issue_count": input.IssueCount,
"certificate_id": input.CertificateID,
Expand Down

0 comments on commit 7f6566e

Please sign in to comment.