Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rcaril
Copy link
Contributor

@rcaril rcaril commented Dec 9, 2025

Change summary

This PR adds CRUD commands for the NGWAF Threshold feature to the CLI.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  • Does your submission pass tests?
make test TEST_ARGS="-run TestThresholdCreate ./pkg/commands/ngwaf/workspace/threshold"
ok      github.com/fastly/cli/pkg/commands/ngwaf/workspace/threshold    1.107s
make test TEST_ARGS="-run TestThresholdDelete ./pkg/commands/ngwaf/workspace/threshold"
ok      github.com/fastly/cli/pkg/commands/ngwaf/workspace/threshold    1.064s
make test TEST_ARGS="-run TestThresholdGet ./pkg/commands/ngwaf/workspace/threshold"
ok      github.com/fastly/cli/pkg/commands/ngwaf/workspace/threshold    1.055s
make test TEST_ARGS="-run TestThresholdList ./pkg/commands/ngwaf/workspace/threshold"
ok      github.com/fastly/cli/pkg/commands/ngwaf/workspace/threshold    1.064s
make test TEST_ARGS="-run TestThresholdUpdate ./pkg/commands/ngwaf/workspace/threshold"
ok      github.com/fastly/cli/pkg/commands/ngwaf/workspace/threshold    1.055s

Changes to Core Features:

  • Have you written new tests for your core changes, as applicable?
  • Have you successfully run tests with your changes locally?

@rcaril rcaril marked this pull request as ready for review December 9, 2025 16:38
@rcaril rcaril requested a review from a team as a code owner December 9, 2025 16:38
@rcaril rcaril requested a review from kpfleming December 9, 2025 16:38
Copy link
Contributor

@kpfleming kpfleming left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! A couple of ideas which could be turned into Jira work items for future improvements to the code (but not the functionality).

@rcaril rcaril merged commit bae2377 into main Dec 9, 2025
13 checks passed
@rcaril rcaril deleted the rcaril/CDTOOL-1221-ngwaf-thresholds-crud-support branch December 9, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants