Skip to content
Closed
Show file tree
Hide file tree
Changes from all 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
33 changes: 25 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,28 @@ on:

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- name: Build the library
run: npm run build
- name: Run unit tests
run: npm run test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install git-secrets
run: |
git clone https://github.com/awslabs/git-secrets.git
cd git-secrets
sudo make install

- name: Configure git-secrets
run: |
git secrets --register-aws

- name: Run git-secrets scan
run: |
git secrets --scan-history

- run: npm ci
- name: Build the library
run: npm run build
- name: Run unit tests
run: npm run test
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ npm i --save @cedar-policy/cedar-authorization

### Usage

#### Authorization Engine
#### Authorization Enginee

This package provides an interface for an "Authorization Engine" which takes a Cedar request and entities, and returns an authorization result.

[TODO: link to example]

#### CLI Tools
#### CLI Toolss

Authorization Engine: Implement authorization checks using Cedar policies

Expand Down