-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: add support for usage based access (#501)
* wip * wip * wip * wip * added access group * update logic for handling empty policy * update version v3 * fixed resource security policy on update * fix linter * added support for usage based access * enable tests * revert ci changes --------- Co-authored-by: Bob Lee <[email protected]> Co-authored-by: bertekintw <[email protected]>
- Loading branch information
1 parent
8ebb9fc
commit d06fdaf
Showing
11 changed files
with
238 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,22 @@ | ||
package attr | ||
|
||
const ( | ||
Access = "access" | ||
AccessGroup = "access_group" | ||
AccessService = "access_service" | ||
GroupIDs = "group_ids" | ||
GroupID = "group_id" | ||
ServiceAccountIDs = "service_account_ids" | ||
IsAuthoritative = "is_authoritative" | ||
Policy = "policy" | ||
Ports = "ports" | ||
Address = "address" | ||
Protocols = "protocols" | ||
AllowIcmp = "allow_icmp" | ||
TCP = "tcp" | ||
UDP = "udp" | ||
IsVisible = "is_visible" | ||
IsBrowserShortcutEnabled = "is_browser_shortcut_enabled" | ||
Resources = "resources" | ||
Access = "access" | ||
AccessGroup = "access_group" | ||
UsageBasedAutolockDurationDays = "usage_based_autolock_duration_days" | ||
AccessService = "access_service" | ||
GroupIDs = "group_ids" | ||
GroupID = "group_id" | ||
ServiceAccountIDs = "service_account_ids" | ||
IsAuthoritative = "is_authoritative" | ||
Policy = "policy" | ||
Ports = "ports" | ||
Address = "address" | ||
Protocols = "protocols" | ||
AllowIcmp = "allow_icmp" | ||
TCP = "tcp" | ||
UDP = "udp" | ||
IsVisible = "is_visible" | ||
IsBrowserShortcutEnabled = "is_browser_shortcut_enabled" | ||
Resources = "resources" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.