Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat rego default policy #700

Merged
merged 26 commits into from
Mar 13, 2023
Merged

Feat rego default policy #700

merged 26 commits into from
Mar 13, 2023

Conversation

gigovich
Copy link
Contributor

@gigovich gigovich commented Feb 21, 2023

Describe your changes

Convert rules to Rego policies and allow users to write raw policies to set up connectivity and firewall on the clients.
This PR also has related changes in the dashboard. Please consider it together with netbirdio/dashboard#147

Issue ticket number and link

NB-215

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

management/server/account.go Show resolved Hide resolved
management/server/policy.go Outdated Show resolved Hide resolved
management/server/policy.go Outdated Show resolved Hide resolved
management/server/policy.go Show resolved Hide resolved
@gigovich gigovich force-pushed the feat-rego-default-policy branch 2 times, most recently from b29768b to c1b3a75 Compare March 2, 2023 08:46
@gigovich gigovich marked this pull request as ready for review March 2, 2023 08:53
@gigovich gigovich force-pushed the feat-rego-default-policy branch from cbb8a7f to 9ffe731 Compare March 3, 2023 14:50
management/server/account.go Show resolved Hide resolved
management/server/file_store.go Show resolved Hide resolved
management/server/policy.go Outdated Show resolved Hide resolved
management/server/policy.go Outdated Show resolved Hide resolved
management/server/policy.go Outdated Show resolved Hide resolved
management/server/policy.go Outdated Show resolved Hide resolved
management/server/policy.go Outdated Show resolved Hide resolved
management/server/http/api/openapi.yml Outdated Show resolved Hide resolved
@gigovich gigovich force-pushed the feat-rego-default-policy branch 2 times, most recently from de3f687 to 0155f58 Compare March 7, 2023 08:32
management/server/http/rules_handler.go Outdated Show resolved Hide resolved
management/server/policy.go Outdated Show resolved Hide resolved
@gigovich gigovich force-pushed the feat-rego-default-policy branch from 3d1d7a2 to 5678d83 Compare March 13, 2023 07:05
braginini pushed a commit to netbirdio/dashboard that referenced this pull request Mar 13, 2023
management/server/http/api/openapi.yml Show resolved Hide resolved
management/server/http/api/openapi.yml Show resolved Hide resolved
management/server/http/api/openapi.yml Show resolved Hide resolved
management/server/policy.go Outdated Show resolved Hide resolved
@gigovich gigovich merged commit 3bfa26b into main Mar 13, 2023
@gigovich gigovich deleted the feat-rego-default-policy branch March 13, 2023 14:14
andr332 added a commit to andr332/dashboard that referenced this pull request Aug 3, 2023
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
Converts rules to Rego policies and allow users to write raw policies to set up connectivity and firewall on the clients.
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.

4 participants