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

Badges #46

Closed
wants to merge 3 commits into from
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
36 changes: 36 additions & 0 deletions .github/workflows/badge-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build

on:
push:
branches: [ "main" ]

jobs:
build:
name: Build
runs-on: windows-latest

steps:

- uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'

- name: Install dependencies
run: dotnet restore

- name: Setup MSBuild Path
uses: microsoft/[email protected]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

- name: Build Debug
run: msbuild TameMyCerts\TameMyCerts.csproj -property:Configuration=debug

- name: Build TameMyCerts.Tests
run: msbuild TameMyCerts.Tests\TameMyCerts.Tests.csproj -property:Configuration=debug

- name: Build ETW Manifest
run: msbuild Support.GenerateETWManifest\Support.GenerateETWManifest.csproj -property:Configuration=debug
39 changes: 39 additions & 0 deletions .github/workflows/badge-xunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: XUnit tests

on:
push:
branches: [ "main" ]

jobs:
build:
name: XUnit tests
runs-on: windows-latest

steps:

- uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'

- name: Install dependencies
run: dotnet restore

- name: Setup MSBuild Path
uses: microsoft/[email protected]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true

- name: Build Debug
run: msbuild TameMyCerts\TameMyCerts.csproj -property:Configuration=debug

- name: Build TameMyCerts.Tests
run: msbuild TameMyCerts.Tests\TameMyCerts.Tests.csproj -property:Configuration=debug

- name: Build ETW Manifest
run: msbuild Support.GenerateETWManifest\Support.GenerateETWManifest.csproj -property:Configuration=debug

- name: Run xunit tests
run: dotnet test --no-build --verbosity minimal
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The "Tame My Certs" policy module for Active Directory Certificate Services certification authorities

![](https://github.com/Sleepw4lker/TameMyCerts/actions/workflows/main.yml/badge.svg)
![](https://github.com/Sleepw4lker/TameMyCerts/actions/workflows/badge-build.yml/badge.svg?branch=main&event=push) ![](https://github.com/Sleepw4lker/TameMyCerts/actions/workflows/badge-xunit.yml/badge.svg?branch=main&event=push)

TameMyCerts is a [policy module](https://docs.microsoft.com/en-us/windows/win32/seccrypto/certificate-services-architecture) for Microsoft [Active Directory Certificate Services (AD CS)](https://docs.microsoft.com/en-us/windows/win32/seccrypto/certificate-services) enterprise certification authorities that enables security automation for a lot of use cases in the PKI field.

Expand Down Expand Up @@ -48,4 +48,4 @@ The TameMyCerts policy module addresses, amongst others, the following use cases

- Preventing Users to request certificates from templates that are intended to be used solely with [AutoEnrollment](https://www.gradenegger.eu/en/basics-manual-and-automatic-certificate-request-via-lightweight-directory-access-protocol-ldap-and-remote-procedure-call-distributed-common-object-model-rpc-dcom/) via alternative methods (e.g. MMC.exe).

- TameMyCerts is also the perfect companion for the [TameMyCerts REST API](https://github.com/Sleepw4lker/TameMyCerts.REST) for AD CS, the [TameMyCerts Certificate Enrollment Proxy](https://github.com/Sleepw4lker/TameMyCerts.WSTEP) for AD CS or the awesome [ACME-ADCS-Server](https://github.com/glatzert/ACME-Server-ADCS) project.
- TameMyCerts is also the perfect companion for the [TameMyCerts REST API](https://github.com/Sleepw4lker/TameMyCerts.REST) for AD CS, the [TameMyCerts Certificate Enrollment Proxy](https://github.com/Sleepw4lker/TameMyCerts.WSTEP) for AD CS or the awesome [ACME-ADCS-Server](https://github.com/glatzert/ACME-Server-ADCS) project.