cloudflare-go
cloudflare-go copied to clipboard
add support for client_certificate_v2 posture rule
Description
Added fields to DevicePostureRuleInput to accommodate needed inputs for the new posture type client_certificate_v2
This requires the merge and deployment of documentation changes found here: WDAPI-1954
Has your change been tested?
Because it is just adding fields to the DevicePostureRuleInput struct, this should not affect existing uses of it. There has been a test created to test the creation of the client_certificate_v2 posture rule to test out the added fields.
Screenshots (if appropriate):
Types of changes
What sort of change does your code introduce/modify?
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [x] My code follows the code style of this project.
- [x] My change requires a change to the documentation.
- [x] I have updated the documentation accordingly.
- [x] I have added tests to cover my changes.
- [x] All new and existing tests passed.
- [ ] This change is using publicly documented in cloudflare/api-schemas and relies on stable APIs.
changelog detected :white_check_mark:
feel free to ping me once the API docs are out and we'll get this merged.
This functionality has been released in v0.101.0.
For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!