Skip to content

Commit 79c8af3

Browse files
authored
Merge pull request #72 from VeritasOS/feature/rbac-design-change-warning
Adding RBAC design change information warning users that some scripts…
2 parents fa62a51 + 51c4ff7 commit 79c8af3

4 files changed

Lines changed: 39 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,25 @@ Pre-requisites:
3131
##### Tools
3232
The `tools` folder contains utilities that have proven useful in the development of projects using NetBackup APIs, but do not provide any API usage examples. Again, these tools are not for production use, but they may be of some use in your work.
3333

34+
#### NetBackup 8.3 RBAC Design Shift
35+
NetBackup 8.3 introduced a major change in its RBAC configuration and enforcement design.
36+
37+
RBAC was introduced to NetBackup in the 8.1.2 release, offering access control for a limited number of security settings and workloads. That access control configuration was based on a dynamic object-level enforcement model using “Access Rules”.
38+
39+
With the NetBackup 8.3 release, RBAC has moved away from the dynamic access rule design.
40+
The new RBAC allows more granular permissions, improved flexibility and greater control. The RBAC design is now based on Access Control Lists (ACLs) and closely follows the ANSI INCITS 359-2004. While the earlier design of RBAC enforcement was dynamic in nature, the new RBAC is static in its configuration.
41+
42+
The system-defined roles shipped with NetBackup also changed from 8.1.2 to the 8.3 release. In 8.1.2, there were three system-defined roles available for RBAC configuration. In the 8.3 release, this was simplified to offer a single “Administrator” role which has all privileges for RBAC.
43+
44+
Due to the significant design shift, automatic upgrade conversion of 8.1.2 RBAC roles to the new 8.3 roles is not feasible. However, tools are available to migrate the Backup administrator role and create a new Security administrator role for the users that had the old RBAC Security administrator role. Other roles must be reconfigured manually.
45+
There is also a script in this repository available to generate templated NetBackup roles.
46+
See **/recipes/perl/rbac-roles/rbac_role_templates.pl**
47+
48+
49+
Any API keys in use prior to upgrade will still be valid, however, the underlying access granted those API keys must
50+
be reconfigured using the new RBAC configuration, after which any active user sessions must be removed.
51+
A utility script exists in this repository to help convert active API keys after upgrade to NetBackup 8.3.
52+
See **/recipes/perl/access-control/access_control_api_requests.pl**
53+
54+
Most of the API examples in this repository assume a valid JWT (Json Web Token) or API Key issued by NetBackup and do not incorporate role configuration as part of the script.
55+
However, there may be some examples which do configure RBAC as part of the script and have not yet been updated to use the RBAC design.

recipes/perl/policies/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ These scripts are only meant to be used as a reference. If you intend to use the
99
#### Pre-requisites:
1010

1111
- NetBackup 8.1.2 or higher
12+
13+
- **NOTE:** The following scripts configure access control using the old RBAC design and will only work on NetBackup
14+
release 8.1.2 or 8.2.
15+
- recipes/perl/policies/api_requests_rbac_policy.pl
16+
- recipes/perl/policies/rbac_filtering_in_policy.pl
17+
1218
- Perl 5.20.2 or higher
1319

1420
#### Executing the recipes in perl

recipes/powershell/policies/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ These scripts are only meant to be used as a reference. If you intend to use the
1010

1111
Pre-requisites:
1212
- NetBackup 8.1.2 or higher
13+
14+
- **NOTE:** The following scripts configure access control using the old RBAC design and will only work on NetBackup
15+
release 8.1.2 or 8.2.
16+
- recipes/perl/policies/rbac_filtering_in_policy.ps1
17+
1318
- PowerShell 4.0 or higher
1419

1520
Use the following commands to run the PowerShell samples.

recipes/python/policies/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ These samples are provided only as reference and not meant for production use.
1010

1111
Pre-requisites:
1212
- NetBackup 8.1.2 or higher
13+
14+
- **NOTE:** The following scripts configure access control using the old RBAC design and will only work on NetBackup
15+
release 8.1.2 or 8.2.
16+
- recipes/perl/policies/api_requests_rbac_policy.py
17+
- recipes/perl/policies/rbac_filtering_in_policy.py
18+
1319
- Python 3.5 or higher
1420
- Python modules: `requests`
1521

0 commit comments

Comments
 (0)