From 10ab6e9573cf3dff61669c2592bb03fa095ccaac Mon Sep 17 00:00:00 2001 From: fer Date: Tue, 9 Apr 2024 17:08:34 +0200 Subject: [PATCH 1/3] modified md script urls --- README.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d474fc4..1b7a12d 100644 --- a/README.md +++ b/README.md @@ -14,28 +14,27 @@ Here you will find a variety of Bash, Powershell and Python script examples that [Guide to using Postman to access the Bitwarden API](https://community.bitwarden.com/t/guide-to-using-postman-to-access-the-bitwarden-api/56475)
[Guide for using the Vault Management API in Python](https://github.com/bitwarden-labs/admin-scripts/wiki/Vault-Management-API-in-Python) - - ## Commonly Used Scripts Examples ### Collection Permission Inheritance -[Inherit Parent Permissions (CLI/Bash)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Bash%20Scripts/inheritparentpermissions.sh) +- [Inherit Parent Permissions (CLI/Bash)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Bash%20Scripts/inheritparentpermissions.sh) ### Confirm Accepted Users -[Password Manager: Confirm All Accepted Users (CLI/Bash)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Bash%20Scripts/bwConfirmAcceptedPeople.sh)
-[Password Manager: Confirm All Accepted Users (CLI/Powershell)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Powershell/bwConfirmAcceptedPeople.ps1)
-[Password Manager: Confirm All Accepted Users (API/Powershell)](https://github.com/bitwarden-labs/admin-scripts/blob/main/API%20Scripts/Bitwarden%20Public%20API/bwConfirmAccepted-api.ps1)
-[Password Manager: Confirm All Accepted Users with Password (CLI/Bash)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Bash%20Scripts/bwConfirmAcceptedPeopleWPass.sh)
-[Secrets Manager: Confirmed All Accepted Users (CLI/Bash)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Bash%20Scripts/bwConfirmAcceptedPeopleSM.sh)
-[Secrets Manager: Confirmed All Accepted Users (CLI/Powershell)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Powershell/bwConfirmAcceptedPeopleSM.ps1) -### List Organization Members -[List All Organization Members (CLI/Bash)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Bash%20Scripts/listmembers.sh)
-[List All Organization Members (CLI/Powershell)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Powershell/ListMembers.ps1)
-[List ALl Organization Members w/ 2FA Check (CLI/Powershell)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Powershell/ListMembers2FACheck.ps1) +- [Password Manager: Confirm All Accepted Users (CLI/Bash)](Bash%20Scripts/bwConfirmAcceptedPeople.sh) +- [Password Manager: Confirm All Accepted Users (CLI/Powershell)](Powershell/bwConfirmAcceptedPeople.ps1) +- [Password Manager: Confirm All Accepted Users (API/Powershell)](API%20Scripts/Bitwarden%20Public%20API/bwConfirmAccepted-api.ps1) +- [Password Manager: Confirm All Accepted Users with Password (CLI/Bash)](Bash%20Scripts/bwConfirmAcceptedPeopleWPass.sh) +- [Secrets Manager: Confirmed All Accepted Users (CLI/Bash)](Bash%20Scripts/bwConfirmAcceptedPeopleSM.sh) +- [Secrets Manager: Confirmed All Accepted Users (CLI/Powershell)](Powershell/bwConfirmAcceptedPeopleSM.ps1) +### List Organization Members +- [List All Organization Members (CLI/Bash)](Bash%20Scripts/listmembers.sh)
+- [List All Organization Members (CLI/Powershell)](Powershell/ListMembers.ps1)
+- [List ALl Organization Members w/ 2FA Check (CLI/Powershell)](Powershell/ListMembers2FACheck.ps1) ## Disclaimer + Please note that the projects in Bitwarden Labs are experimental and not officially supported by Bitwarden. They are provided "as is" with no guarantees. From 4c5bfce0144c2b311154890531b333832b32340a Mon Sep 17 00:00:00 2001 From: fer Date: Tue, 9 Apr 2024 17:25:39 +0200 Subject: [PATCH 2/3] renamed files, changed readme references --- ...angeAllUsersRole.sh => changeAllUsersRole.sh} | 0 ...cceptedPeople.sh => confirmAcceptedPeople.sh} | 0 ...tedPeopleSM.sh => confirmAcceptedPeopleSM.sh} | 0 ...pleWPass.sh => confirmAcceptedPeopleWPass.sh} | 0 ... confirmAcceptedPeople_MoveGroupToManager.sh} | 0 ...sh => confirmAcceptedPeople_MoveToManager.sh} | 0 ...AllCollections.sh => deleteAllCollections.sh} | 0 ...letePermTrashOrg.sh => deletePermTrashOrg.sh} | 0 ...tyExternalId.sh => findAndEmptyExternalId.sh} | 0 ...ermissions.sh => inheritParentPermissions.sh} | 0 ...tionsbygroup.sh => listCollectionsByGroup.sh} | 0 Bash Scripts/{listmembers.sh => listMembers.sh} | 0 .../{bwPurgeGroups.sh => purgeGroups.sh} | 0 ...AcceptedUsers.sh => purgeNotAcceptedUsers.sh} | 0 .../{bwReinvitePeople.sh => reinvitePeople.sh} | 0 .../{bwRestoreAllTrash.sh => restoreAllTrash.sh} | 0 README.md | 16 ++++++++-------- 17 files changed, 8 insertions(+), 8 deletions(-) rename Bash Scripts/{bwChangeAllUsersRole.sh => changeAllUsersRole.sh} (100%) rename Bash Scripts/{bwConfirmAcceptedPeople.sh => confirmAcceptedPeople.sh} (100%) rename Bash Scripts/{bwConfirmAcceptedPeopleSM.sh => confirmAcceptedPeopleSM.sh} (100%) rename Bash Scripts/{bwConfirmAcceptedPeopleWPass.sh => confirmAcceptedPeopleWPass.sh} (100%) rename Bash Scripts/{bwConfirmAcceptedPeople_MoveGroupToManager.sh => confirmAcceptedPeople_MoveGroupToManager.sh} (100%) rename Bash Scripts/{bwConfirmAcceptedPeople_MoveToManager.sh => confirmAcceptedPeople_MoveToManager.sh} (100%) rename Bash Scripts/{bwDeleteAllCollections.sh => deleteAllCollections.sh} (100%) rename Bash Scripts/{bwDeletePermTrashOrg.sh => deletePermTrashOrg.sh} (100%) rename Bash Scripts/{bwFindAndEmptyExternalId.sh => findAndEmptyExternalId.sh} (100%) rename Bash Scripts/{inheritparentpermissions.sh => inheritParentPermissions.sh} (100%) rename Bash Scripts/{bwlistcollectionsbygroup.sh => listCollectionsByGroup.sh} (100%) rename Bash Scripts/{listmembers.sh => listMembers.sh} (100%) rename Bash Scripts/{bwPurgeGroups.sh => purgeGroups.sh} (100%) rename Bash Scripts/{bwPurgeNotAcceptedUsers.sh => purgeNotAcceptedUsers.sh} (100%) rename Bash Scripts/{bwReinvitePeople.sh => reinvitePeople.sh} (100%) rename Bash Scripts/{bwRestoreAllTrash.sh => restoreAllTrash.sh} (100%) diff --git a/Bash Scripts/bwChangeAllUsersRole.sh b/Bash Scripts/changeAllUsersRole.sh similarity index 100% rename from Bash Scripts/bwChangeAllUsersRole.sh rename to Bash Scripts/changeAllUsersRole.sh diff --git a/Bash Scripts/bwConfirmAcceptedPeople.sh b/Bash Scripts/confirmAcceptedPeople.sh similarity index 100% rename from Bash Scripts/bwConfirmAcceptedPeople.sh rename to Bash Scripts/confirmAcceptedPeople.sh diff --git a/Bash Scripts/bwConfirmAcceptedPeopleSM.sh b/Bash Scripts/confirmAcceptedPeopleSM.sh similarity index 100% rename from Bash Scripts/bwConfirmAcceptedPeopleSM.sh rename to Bash Scripts/confirmAcceptedPeopleSM.sh diff --git a/Bash Scripts/bwConfirmAcceptedPeopleWPass.sh b/Bash Scripts/confirmAcceptedPeopleWPass.sh similarity index 100% rename from Bash Scripts/bwConfirmAcceptedPeopleWPass.sh rename to Bash Scripts/confirmAcceptedPeopleWPass.sh diff --git a/Bash Scripts/bwConfirmAcceptedPeople_MoveGroupToManager.sh b/Bash Scripts/confirmAcceptedPeople_MoveGroupToManager.sh similarity index 100% rename from Bash Scripts/bwConfirmAcceptedPeople_MoveGroupToManager.sh rename to Bash Scripts/confirmAcceptedPeople_MoveGroupToManager.sh diff --git a/Bash Scripts/bwConfirmAcceptedPeople_MoveToManager.sh b/Bash Scripts/confirmAcceptedPeople_MoveToManager.sh similarity index 100% rename from Bash Scripts/bwConfirmAcceptedPeople_MoveToManager.sh rename to Bash Scripts/confirmAcceptedPeople_MoveToManager.sh diff --git a/Bash Scripts/bwDeleteAllCollections.sh b/Bash Scripts/deleteAllCollections.sh similarity index 100% rename from Bash Scripts/bwDeleteAllCollections.sh rename to Bash Scripts/deleteAllCollections.sh diff --git a/Bash Scripts/bwDeletePermTrashOrg.sh b/Bash Scripts/deletePermTrashOrg.sh similarity index 100% rename from Bash Scripts/bwDeletePermTrashOrg.sh rename to Bash Scripts/deletePermTrashOrg.sh diff --git a/Bash Scripts/bwFindAndEmptyExternalId.sh b/Bash Scripts/findAndEmptyExternalId.sh similarity index 100% rename from Bash Scripts/bwFindAndEmptyExternalId.sh rename to Bash Scripts/findAndEmptyExternalId.sh diff --git a/Bash Scripts/inheritparentpermissions.sh b/Bash Scripts/inheritParentPermissions.sh similarity index 100% rename from Bash Scripts/inheritparentpermissions.sh rename to Bash Scripts/inheritParentPermissions.sh diff --git a/Bash Scripts/bwlistcollectionsbygroup.sh b/Bash Scripts/listCollectionsByGroup.sh similarity index 100% rename from Bash Scripts/bwlistcollectionsbygroup.sh rename to Bash Scripts/listCollectionsByGroup.sh diff --git a/Bash Scripts/listmembers.sh b/Bash Scripts/listMembers.sh similarity index 100% rename from Bash Scripts/listmembers.sh rename to Bash Scripts/listMembers.sh diff --git a/Bash Scripts/bwPurgeGroups.sh b/Bash Scripts/purgeGroups.sh similarity index 100% rename from Bash Scripts/bwPurgeGroups.sh rename to Bash Scripts/purgeGroups.sh diff --git a/Bash Scripts/bwPurgeNotAcceptedUsers.sh b/Bash Scripts/purgeNotAcceptedUsers.sh similarity index 100% rename from Bash Scripts/bwPurgeNotAcceptedUsers.sh rename to Bash Scripts/purgeNotAcceptedUsers.sh diff --git a/Bash Scripts/bwReinvitePeople.sh b/Bash Scripts/reinvitePeople.sh similarity index 100% rename from Bash Scripts/bwReinvitePeople.sh rename to Bash Scripts/reinvitePeople.sh diff --git a/Bash Scripts/bwRestoreAllTrash.sh b/Bash Scripts/restoreAllTrash.sh similarity index 100% rename from Bash Scripts/bwRestoreAllTrash.sh rename to Bash Scripts/restoreAllTrash.sh diff --git a/README.md b/README.md index 1b7a12d..44db96f 100644 --- a/README.md +++ b/README.md @@ -17,21 +17,21 @@ Here you will find a variety of Bash, Powershell and Python script examples that ## Commonly Used Scripts Examples ### Collection Permission Inheritance -- [Inherit Parent Permissions (CLI/Bash)](https://github.com/bitwarden-labs/admin-scripts/blob/main/Bash%20Scripts/inheritparentpermissions.sh) +- [Inherit Parent Permissions (CLI/Bash)](Bash%20Scripts/inheritParentPermissions.sh) ### Confirm Accepted Users -- [Password Manager: Confirm All Accepted Users (CLI/Bash)](Bash%20Scripts/bwConfirmAcceptedPeople.sh) -- [Password Manager: Confirm All Accepted Users (CLI/Powershell)](Powershell/bwConfirmAcceptedPeople.ps1) -- [Password Manager: Confirm All Accepted Users (API/Powershell)](API%20Scripts/Bitwarden%20Public%20API/bwConfirmAccepted-api.ps1) -- [Password Manager: Confirm All Accepted Users with Password (CLI/Bash)](Bash%20Scripts/bwConfirmAcceptedPeopleWPass.sh) -- [Secrets Manager: Confirmed All Accepted Users (CLI/Bash)](Bash%20Scripts/bwConfirmAcceptedPeopleSM.sh) -- [Secrets Manager: Confirmed All Accepted Users (CLI/Powershell)](Powershell/bwConfirmAcceptedPeopleSM.ps1) +- [Password Manager: Confirm All Accepted Users (CLI/Bash)](Bash%20Scripts/confirmAcceptedPeople.sh) +- [Password Manager: Confirm All Accepted Users (CLI/Powershell)](Powershell/confirmAcceptedPeople.ps1) +- [Password Manager: Confirm All Accepted Users (API/Powershell)](API%20Scripts/Bitwarden%20Public%20API/confirmAccepted-api.ps1) +- [Password Manager: Confirm All Accepted Users with Password (CLI/Bash)](Bash%20Scripts/confirmAcceptedPeopleWPass.sh) +- [Secrets Manager: Confirmed All Accepted Users (CLI/Bash)](Bash%20Scripts/confirmAcceptedPeopleSM.sh) +- [Secrets Manager: Confirmed All Accepted Users (CLI/Powershell)](Powershell/confirmAcceptedPeopleSM.ps1) ### List Organization Members -- [List All Organization Members (CLI/Bash)](Bash%20Scripts/listmembers.sh)
+- [List All Organization Members (CLI/Bash)](Bash%20Scripts/listMembers.sh)
- [List All Organization Members (CLI/Powershell)](Powershell/ListMembers.ps1)
- [List ALl Organization Members w/ 2FA Check (CLI/Powershell)](Powershell/ListMembers2FACheck.ps1) From 03e1e6c0f746d7575525b0565b6acbe173717a5e Mon Sep 17 00:00:00 2001 From: fer Date: Tue, 9 Apr 2024 17:28:30 +0200 Subject: [PATCH 3/3] missing files to rename --- .../{bwConfirmAccepted-api.ps1 => confirmAccepted-api.ps1} | 0 .../{bwConfirmAcceptedPeople.ps1 => confirmAcceptedPeople.ps1} | 0 ...{bwConfirmAcceptedPeopleSM.ps1 => confirmAcceptedPeopleSM.ps1} | 0 ..._MoveToManager.ps1 => confirmAcceptedPeople_MoveToManager.ps1} | 0 .../{bwDeleteAllCollections.ps1 => deleteAllCollections.ps1} | 0 Powershell/{bwEmptyExternalId.ps1 => emptyExternalId.ps1} | 0 Powershell/{bwListItemIDsNames.ps1 => listItemIDsNames.ps1} | 0 Powershell/{bwPurgeGroups.ps1 => purgeGroups.ps1} | 0 Python/{bwOldPasswords.py => oldPasswords.py} | 0 9 files changed, 0 insertions(+), 0 deletions(-) rename API Scripts/Bitwarden Public API/{bwConfirmAccepted-api.ps1 => confirmAccepted-api.ps1} (100%) rename Powershell/{bwConfirmAcceptedPeople.ps1 => confirmAcceptedPeople.ps1} (100%) rename Powershell/{bwConfirmAcceptedPeopleSM.ps1 => confirmAcceptedPeopleSM.ps1} (100%) rename Powershell/{bwConfirmAcceptedPeople_MoveToManager.ps1 => confirmAcceptedPeople_MoveToManager.ps1} (100%) rename Powershell/{bwDeleteAllCollections.ps1 => deleteAllCollections.ps1} (100%) rename Powershell/{bwEmptyExternalId.ps1 => emptyExternalId.ps1} (100%) rename Powershell/{bwListItemIDsNames.ps1 => listItemIDsNames.ps1} (100%) rename Powershell/{bwPurgeGroups.ps1 => purgeGroups.ps1} (100%) rename Python/{bwOldPasswords.py => oldPasswords.py} (100%) diff --git a/API Scripts/Bitwarden Public API/bwConfirmAccepted-api.ps1 b/API Scripts/Bitwarden Public API/confirmAccepted-api.ps1 similarity index 100% rename from API Scripts/Bitwarden Public API/bwConfirmAccepted-api.ps1 rename to API Scripts/Bitwarden Public API/confirmAccepted-api.ps1 diff --git a/Powershell/bwConfirmAcceptedPeople.ps1 b/Powershell/confirmAcceptedPeople.ps1 similarity index 100% rename from Powershell/bwConfirmAcceptedPeople.ps1 rename to Powershell/confirmAcceptedPeople.ps1 diff --git a/Powershell/bwConfirmAcceptedPeopleSM.ps1 b/Powershell/confirmAcceptedPeopleSM.ps1 similarity index 100% rename from Powershell/bwConfirmAcceptedPeopleSM.ps1 rename to Powershell/confirmAcceptedPeopleSM.ps1 diff --git a/Powershell/bwConfirmAcceptedPeople_MoveToManager.ps1 b/Powershell/confirmAcceptedPeople_MoveToManager.ps1 similarity index 100% rename from Powershell/bwConfirmAcceptedPeople_MoveToManager.ps1 rename to Powershell/confirmAcceptedPeople_MoveToManager.ps1 diff --git a/Powershell/bwDeleteAllCollections.ps1 b/Powershell/deleteAllCollections.ps1 similarity index 100% rename from Powershell/bwDeleteAllCollections.ps1 rename to Powershell/deleteAllCollections.ps1 diff --git a/Powershell/bwEmptyExternalId.ps1 b/Powershell/emptyExternalId.ps1 similarity index 100% rename from Powershell/bwEmptyExternalId.ps1 rename to Powershell/emptyExternalId.ps1 diff --git a/Powershell/bwListItemIDsNames.ps1 b/Powershell/listItemIDsNames.ps1 similarity index 100% rename from Powershell/bwListItemIDsNames.ps1 rename to Powershell/listItemIDsNames.ps1 diff --git a/Powershell/bwPurgeGroups.ps1 b/Powershell/purgeGroups.ps1 similarity index 100% rename from Powershell/bwPurgeGroups.ps1 rename to Powershell/purgeGroups.ps1 diff --git a/Python/bwOldPasswords.py b/Python/oldPasswords.py similarity index 100% rename from Python/bwOldPasswords.py rename to Python/oldPasswords.py