Skip to content

Commit

Permalink
Merge pull request cloudflare#4855 from TylerStanish/tstanish/crowdst…
Browse files Browse the repository at this point in the history
…rike_last_seen_bugfix
  • Loading branch information
jacobbednarz authored Jan 9, 2025
2 parents 7448437 + 9acc68a commit 7f7ed5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 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 @@ -372,17 +372,19 @@ func convertInputToSchema(input cloudflare.DevicePostureRuleInput) []map[string]
"check_disks": input.CheckDisks,
"enabled": input.Enabled,
"version": input.Version,
"os_distro_name": input.OsDistroName,
"os_distro_revision": input.OsDistroRevision,
"os_version_extra": input.OSVersionExtra,
"operator": input.Operator,
"domain": input.Domain,
"compliance_status": input.ComplianceStatus,
"connection_id": input.ConnectionID,
"os_distro_name": input.OsDistroName,
"os_distro_revision": input.OsDistroRevision,
"os_version_extra": input.OSVersionExtra,
"os": input.Os,
"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 7f7ed5e

Please sign in to comment.