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

Add epim extension #17888

Merged
merged 5 commits into from
Mar 25, 2025
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions extensions/epim/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
13 changes: 13 additions & 0 deletions extensions/epim/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift

# misc
.DS_Store
4 changes: 4 additions & 0 deletions extensions/epim/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
13 changes: 13 additions & 0 deletions extensions/epim/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Entra PIM Role Changelog

## [Active Assignments indicator] - {PR_MERGE_DATE}
- Add Option to see active assignments


## [Initial Release] - 2025-03-13

- Implemented the ability to activate Entra roles via PIM using Microsoft Graph API.
- Added a list view to display eligible roles with detailed descriptions.
- Included a form for users to provide justification and select the duration for role activation.
- Handled specific errors with user-friendly toast messages, such as "Role assignment already exists" and "Pending role assignment request".
- Integrated PowerShell script execution for backend operations.
43 changes: 43 additions & 0 deletions extensions/epim/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Entra PIM Role

Activate Entra roles via PIM using Microsoft Graph API directly from Raycast.

## Installation

1. Ensure you have Raycast installed.
2. Ensure that PowerShell for macOS is installed.
3. Ensure that the following PowerShell modules are installed.
```powershell
Install-Module Microsoft.Graph.Authentication
Install-Module Microsoft.Graph.Identity.Governance
```

## Usage

1. Search for "Entra PIM Role" or "epim" (Short command).
2. Select the command to view your eligible roles.
3. Choose a role to activate and fill out the "justification & duration" form.
4. Submit the form to activate the role.

## Preferences

- **PowerShell Path**: Set the full path to your PowerShell executable in the extension preferences.

## Contributing

Contributions are welcome! Please ensure any changes are accompanied by updates to the `CHANGELOG.md` and follow the existing code style.

## Screenshots

<p align="center">
<img src="./metadata/raycast-epim-1.png" width="100%" />
<img src="./metadata/raycast-epim-2.png" width="100%" />
<img src="./metadata/raycast-epim-3.png" width="100%" />
<img src="./metadata/raycast-epim-4.png" width="100%" />
<img src="./metadata/raycast-epim-5.png" width="100%" />
<img src="./metadata/raycast-epim-6.png" width="100%" />
</p>

## License

This extension is licensed under the MIT License.
Binary file added extensions/epim/assets/extension-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/epim/metadata/raycast-epim-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/epim/metadata/raycast-epim-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/epim/metadata/raycast-epim-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/epim/metadata/raycast-epim-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/epim/metadata/raycast-epim-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added extensions/epim/metadata/raycast-epim-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading