Skip to content

Add createPolicy action to the network_policy store

Arthur Evstifeev requested to merge network-policies-create-policy into master

What does this MR do?

As a part of #220253 (closed) we want to allow creation of the predefined policies. This MR adds a store action for this. This action will only be used for creating predefined policies and from user perspective this action will look the same as enabling/disabling (i.e. updating) regular policies.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Arthur Evstifeev

Merge request reports