Skip to content

Commit

Permalink
v0.0.6 release (#17)
Browse files Browse the repository at this point in the history
* Add support for workload identity federation authentication (#15)

* Switch to releases CDN (#16)
  • Loading branch information
frasdav authored Sep 6, 2024
1 parent 67e25a3 commit af9be46
Show file tree
Hide file tree
Showing 22 changed files with 868 additions and 248 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Sheriff Azure DevOps Extension Changelog

## 0.0.7

* `InstallSheriffCLI` task updated to download Sheriff from releases.frontierhq.com.

## 0.0.6

* `SheriffPlan` and `SheriffApply` tasks updated to support workload identity federation authentication.

## 0.0.5

* `InstallSheriffCLI` task updated to download Sheriff from Azure Storage.
Expand Down
6 changes: 3 additions & 3 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

| Maintainer | GitHub ID | Affiliation |
| --------------- | --------- | ----------- |
| Craig Anderson | [cda0](https://github.com/cda0) | [Frontier](https://github.com/gofrontier-com/) |
| Fraser Davidson | [frasdav](https://github.com/frasdav) | [Frontier](https://github.com/gofrontier-com/) |
| Neil Cowlin | [n-cow](https://github.com/n-cow) | [Frontier](https://github.com/gofrontier-com/) |
| Craig Anderson | [cda0](https://github.com/cda0) | [Frontier](https://github.com/frontierhq/) |
| Fraser Davidson | [frasdav](https://github.com/frasdav) | [Frontier](https://github.com/frontierhq/) |
| Neil Cowlin | [n-cow](https://github.com/n-cow) | [Frontier](https://github.com/frontierhq/) |
18 changes: 9 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. image:: https://github.com/gofrontier-com/sheriff-azure-devops-extension/actions/workflows/ci.yml/badge.svg
:target: https://github.com/gofrontier-com/sheriff-azure-devops-extension/actions/workflows/ci.yml
.. image:: https://github.com/gofrontier-com/sheriff-azure-devops-extension/actions/workflows/release.yml/badge.svg
:target: https://github.com/gofrontier-com/sheriff-azure-devops-extension/actions/workflows/release.yml
.. image:: https://github.com/frontierhq/sheriff-azure-devops-extension/actions/workflows/ci.yml/badge.svg
:target: https://github.com/frontierhq/sheriff-azure-devops-extension/actions/workflows/ci.yml
.. image:: https://github.com/frontierhq/sheriff-azure-devops-extension/actions/workflows/release.yml/badge.svg
:target: https://github.com/frontierhq/sheriff-azure-devops-extension/actions/workflows/release.yml

|
Expand All @@ -19,15 +19,15 @@ About
-----

This is an Azure DevOps extension that provides tasks for installing and running
`Sheriff <https://github.com/gofrontier-com/sheriff>`_, a command line tool to
manage Azure role-based access control (Azure RBAC) and Microsoft Entra
Privileged Identity Management (Microsoft Entra PIM) using desired state configuration.
`Sheriff <https://github.com/frontierhq/sheriff>`_, a command line tool to
manage Microsoft Entra Privileged Identity Management (Microsoft Entra PIM) using
desired state configuration.

------------
Installation
------------

The extension is available in the `Visual Studio Marketplace <https://marketplace.visualstudio.com/items?itemName=gofrontier.Sheriff>`_.
The extension is available in the `Visual Studio Marketplace <https://marketplace.visualstudio.com/items?itemName=frontier.Sheriff>`_.

-----
Usage
Expand Down Expand Up @@ -81,4 +81,4 @@ This task runs Sheriff in apply mode, equivalent to running ``sheriff apply [mod
Contributing
------------

We welcome contributions to this repository. Please see `CONTRIBUTING.md <https://github.com/gofrontier-com/sheriff-azure-devops-extension/tree/main/CONTRIBUTING.md>`_ for more information.
We welcome contributions to this repository. Please see `CONTRIBUTING.md <https://github.com/frontierhq/sheriff-azure-devops-extension/tree/main/CONTRIBUTING.md>`_ for more information.
Binary file modified images/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 modified images/large-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.
7 changes: 3 additions & 4 deletions overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
## About

This is an Azure DevOps extension that provides tasks for installing and running
[Sheriff](https://github.com/gofrontier-com/sheriff), a command line tool to
manage Microsoft Entra Privileged Identity Management (Microsoft Entra PIM)
using desired state configuration.
[Sheriff](https://frontierhq.com/products/sheriff), a command line tool to configure
and operate Microsoft Entra Privileged Identity Management (PIM) in automation.

## Usage

Expand Down Expand Up @@ -51,4 +50,4 @@ This task runs Sheriff in apply mode, equivalent to running ``sheriff apply [mod

## Contributing

We welcome contributions to this repository. Please see [CONTRIBUTING.md](https://github.com/gofrontier-com/sheriff-azure-devops-extension/tree/main/CONTRIBUTING.md) for more information.
We welcome contributions to this repository. Please see [CONTRIBUTING.md](https://github.com/frontierhq/sheriff-azure-devops-extension/tree/main/CONTRIBUTING.md) for more information.
42 changes: 21 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
},
"repository": {
"type": "git",
"url": "[email protected]:gofrontier-com/sheriff-azure-devops-extension.git"
"url": "[email protected]:frontierhq/sheriff-azure-devops-extension.git"
},
"author": "Frontier Digital Ltd",
"author": "Frontier",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/gofrontier-com/sheriff-azure-devops-extension/issues"
"url": "https://github.com/frontierhq/sheriff-azure-devops-extension/issues"
},
"homepage": "https://github.com/gofrontier-com/sheriff-azure-devops-extension#readme",
"homepage": "https://github.com/frontierhq/sheriff-azure-devops-extension#readme",
"dependencies": {
"fs-extra": "^11.1.1",
"rimraf": "^5.0.1",
"shelljs": "^0.8.5",
"tempdir": "^2.0.0",
"tfx-cli": "^0.15.0",
"tfx-cli": "^0.17.0",
"winston": "^3.10.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions tasks/InstallSheriffCLI/InstallSheriffCLIV0/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tasks/InstallSheriffCLI/InstallSheriffCLIV0/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "install-sheriff-cli-task",
"version": "0.0.3",
"version": "0.0.4",
"description": "",
"scripts": {
"test": "run-p test:*",
"test:js": "eslint .",
"test:unit": "mocha test/unit --recursive --reporter mocha-multi --reporter-options spec=-,mocha-junit-reporter=-"
},
"author": "Frontier Digital Ltd",
"author": "Frontier",
"license": "GPL-3.0",
"dependencies": {
"axios": "^1.4.0",
Expand Down
6 changes: 2 additions & 4 deletions tasks/InstallSheriffCLI/InstallSheriffCLIV0/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ const { promisify } = require('util');

const finished = promisify(stream.finished);

const sas = 'sp=r&st=2024-01-01T00:00:00Z&se=2049-12-31T23:59:59Z&spr=https&sv=2022-11-02&sr=c&sig=Obnq5FJma2NJlE1k0PykIYlHbBcTA1yeba3YRLV6rmw%3D';

async function run() {
try {
const version = tl.getInput('version', true);
Expand Down Expand Up @@ -43,9 +41,9 @@ async function run() {

let downloadUrl;
if (version === 'latest') {
downloadUrl = `https://sa0she0prd0uks0releases.blob.core.windows.net/sheriff/latest/sheriff_${os}_${platform}.${fileExtension}?${sas}`;
downloadUrl = `https://releases.frontierhq.com/sheriff/latest/sheriff_${os}_${platform}.${fileExtension}`;
} else {
downloadUrl = `https://sa0she0prd0uks0releases.blob.core.windows.net/sheriff/${version}/sheriff_${os}_${platform}.${fileExtension}?${sas}`;
downloadUrl = `https://releases.frontierhq.com/sheriff/${version}/sheriff_${os}_${platform}.${fileExtension}`;
}
const downloadPath = path.join(agentTempDirectory, `sheriff_${os}_${platform}.${fileExtension}`);
const toolDirPath = `${agentToolsDirectory}/sheriff/${version}/${platform}`;
Expand Down
4 changes: 2 additions & 2 deletions tasks/InstallSheriffCLI/InstallSheriffCLIV0/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"friendlyName": "Install Sheriff CLI",
"instanceNameFormat": "Install Sheriff CLI",
"description": "Installs the Sheriff CLI",
"helpUrl": "https://github.com/gofrontier-com/sheriff-azure-devops-extension/tasks//InstallSheriffCLIV0/README.md",
"helpUrl": "https://github.com/frontierhq/sheriff-azure-devops-extension/tasks//InstallSheriffCLIV0/README.md",
"category": "Utility",
"author": "Frontier Digital Ltd",
"author": "Frontier",
"inputs": [
{
"name": "version",
Expand Down
Loading

0 comments on commit af9be46

Please sign in to comment.