Граф коммитов

75 Коммитов

Автор SHA1 Сообщение Дата
Jeff Wilcox e91054f152
Delete CNAME 2023-03-28 14:42:08 -07:00
Anthony Turner 08d683afd0
Agent messaging and execution abstraction (#107)
* Agent messaging and execution abstraction

Centralize functions to AuthJanitorService, which operates on other loaded services

* Formatting cleanup and license headers

* Documentation

* Finish splitting Data

Data is now an operationally separate entity which exists only for the sake of management convenience
2020-12-30 18:35:37 -05:00
Anthony Turner 92368a291a
Add support for Azure Key Vault-powered cryptography (#106)
Also changes interface implementation to use byte[] instead of string
2020-12-29 13:11:53 -05:00
Anthony Turner 96f04bc4c2
Update README.md 2020-12-27 10:16:25 -05:00
Anthony Turner 4eb37fb94e
Create authjanitor.azuredeploy.json 2020-12-27 10:02:57 -05:00
Anthony Turner 81e4542068
Componentize workflow execution (#101)
* Componentize workflow execution

* Bugfixes

System.Json Serializer has issues with polymorphic inheritance ... also include UI changes to support componentized execution

* Update RekeyingTask display with Action visualizer
2020-11-18 08:18:48 -05:00
Anthony Turner acc8b0175e
Automatically infer Secrets based on matching data between Providers (#103) 2020-11-17 14:16:41 -05:00
Anthony Turner f8fca047a2
Add provider enumeration UI (#102) 2020-11-16 18:35:30 -05:00
Anthony Turner c608057105
Add enumeration logic to most services (#100) 2020-11-10 12:50:09 -05:00
Anthony Turner 1a1479e193
Remove ALC/RKO providers from front end (#99) 2020-11-10 12:43:31 -05:00
Anthony Turner 7d999ce8f6
Simplify Provider model (#98)
* Simplify Provider model

Remove RKO/ALC model and use Capabilities instead

* Remove warning
2020-11-10 10:24:58 -05:00
Anthony Turner 75ad7f6f6c Fixes #97 2020-09-05 17:59:31 -04:00
Anthony Turner 604b313dc4
Add asymmetric crypto operations with RSA (#96) 2020-07-21 14:29:42 -07:00
Anthony Turner 8ed075aeac
Fix provider collisions, UI improvements (#95)
* Fix provider collisions, UI improvements

* UI fixes, bolstering Storage
2020-07-16 01:38:57 -07:00
Anthony Turner 654cb07cce
Provider SVGs, inline help as Blazor syntax (#94) 2020-07-10 17:09:07 -07:00
Anthony Turner 9a4ac4c5b3
Fix inline help slide-in (#93) 2020-07-10 09:50:33 -07:00
Anthony Turner 5352f7ae44
Fix data refresh, misc others (#92)
Refresh data button works, fix footer to page bottom, don't permit controls to wrap in tables
2020-07-10 09:30:04 -07:00
Anthony Turner 6e6436f22c
Blazor WASM UI v2 (#91)
More enterprise-friendly UI, complete with inline help!
2020-07-09 16:48:02 -07:00
Anthony Turner aaaafcf4e3
Add access management page and API surface (#89)
* Add access management page and API surface

Uses OBO to manage AAD user roles

* Delete authjanitor-admin - Zip Deploy.pubxml
2020-06-30 15:54:14 -07:00
Anthony Turner 3a24998cc1
Add local.settings.json templates (#86)
* Add template local.settings.json to AdminApi

* Add template local.settings.json to Agent
2020-06-30 06:18:04 -07:00
Anthony Turner 663c2f2101
Add signature validation (#85)
* Add IntegrityReports panel for module signature validation

Added start of system integrity checks for startup, to perform signature enforcement depending on settings

* Optimize to scan for AJ-related modules only

* Change output of crypto hash to lowercase
2020-06-29 18:43:16 -07:00
Anthony Turner 3480505682
Fix broken proxies (#84)
/aj is removed permanently, local debugging works again
2020-06-29 09:56:27 -07:00
Eric Maino 2e24b3d24c
BUG: Update NGINX to support WASM (#82) 2020-06-17 18:00:07 -07:00
Peter Bryntesson 77464b3a89
Added a data store for entity framework core including unit tests (#79)
* Added a data store for entity framework core including unit tests

* Added copyright/license message
2020-06-17 08:37:57 -07:00
Vinícius Batista de Souza 67d7a9927b
Containerize application (#77)
* [UPDATE] Using netcoreapp3.1

The project orinaly was using netcoreapp3.0

* [UPDATE] Update Nuget dependencies

Blazorise 0.9.0.3
Blazorise.Bootstrap 0.9.0.3
Blazorise.Charts 0.9.0.3
Blazorise.Components 0.9.0.3 Blazorise.Icons.FontAwesome 0.9.0.3
Blazorise.Sidebar 0.9.0.3
BlazorTable 1.11.1
Microsoft.AspNetCore.Components.WebAssembly and it dependencies to 3.2.0

* [UPDATE] Adjusting launching settings

* [UPDATE] Using Microsoft.Extensions.Http as recommended

reference: https://docs.microsoft.com/en-us/aspnet/core/blazor/call-web-api?view=aspnetcore-3.1

* [ADD] Dockerfile for Admin Api

* [ADD] Dockerfile for AdminUi

[ADD] Nginx configuration for admin ui docker image

* [ADD] Dockerfile for agent

* [ADD] Docker-compose

* [ADD] Makefile

* [UPDATE] Simplifying targets

Removing redundant targets for build and publish

* [UPDATE] Applying changes after merging with master

* BUILD: Migrate all source code into src director

- Moves all of the source code into the src directory
  this is primariy to make docker composition easier as
  well as some of the other build platform work

* BUILD: Move all docker files into folder

* Removing unnecessary /aj/ prefix requirement

* BUILD: Add core docker build and test for source

* BUILD: Combine build and docker-compose

* REFACTOR: Simplify nginx configuration

Co-authored-by: Eric Maino <eric.maino@microsoft.com>
Co-authored-by: Eric Maino <ericmai@microsoft.com>
2020-06-16 13:05:15 -07:00
Anthony Turner 5835b61310
Use SecureString for secrets in data objects (#76) 2020-06-16 07:19:08 -07:00
Peter Bryntesson 0b896c2b04
Enhancement/add cancellation token to IDataStore (#69)
* Added CancellationToken to all methods in IDataStore. ViewModelFactory contains two calls with CancellationToken.None that might need revisit

* Cleaning up code a bit.

* Refactoring

Co-authored-by: Anthony Turner <225599+anthturner@users.noreply.github.com>
2020-06-16 06:59:53 -07:00
renato-marciano 30459e033d
Added Tests for Json Serialization and Deserialization (#75)
* Added Tests for Json Serialization and Deserialization

* Added Standard Header
2020-06-15 17:27:21 -07:00
Eric Maino 7444514240
REFACTOR: Separate Functions from Services (#74)
- This is an initial pass to separate functions from
  the underlying service. The next steps will be to remove
  additonal dependencies, move the services into core for
  testing
2020-06-13 15:41:26 -07:00
Eric Maino b24a948d27
Organization and Naming Refactoring (#73)
* Adding basic test project

* Adding basic crypto tests

* Adding some basic crypto validation test.

* REFACTOR: Shared to common AuthJanitor namespace

* REFACTOR: Rename AuthJanitor.Shared to AuthJanitor.Contracts

* REFACTOR: Namespace AuthJanitor.Integrations to AuthJanitor

* REFACTOR: Consolidate Integrations into Contracts

* REFACTOR: Consolidate AuthJanitor.Providers to AuthJanitor.Contracts

* RENAME: Improve project specificity and remove Automation namespace

* RENAME: AuthJanitor.Contracts to AuthJanitor.Core

Co-authored-by: CSE ART Mob Programming <@art-mob>
2020-06-12 11:03:28 -07:00
Anthony Turner 10acea797d
Centralize provider commonalities (#58)
* Improve code reuse and consistency in providers

* fix license headers

* minor fix for breaking ui issue

* reintroduce limited newtonsoft.json use, fix provider config bug (#59)

* fixes for 'happy path' rotation of storage key (#60)

* Add test buttons to settings card (#61)

* Add test buttons to provider settings card

* UI improvements and responsive design fixes (#64)

* UI improvements and responsive design fixes

* remove extraneous field

* track and cancel log update task externally (#65)

* add local.settings.json (#66)

* add provider feature flags, fill test gaps (#67)

* Improve code reuse and consistency in providers

* fix license headers

* Update README.md
2020-05-28 17:46:34 -07:00
Anthony Turner 12d9fc9b0f
add provider feature flags, fill test gaps (#67) 2020-05-28 08:52:45 -07:00
Anthony Turner 91422da6dc
add local.settings.json (#66) 2020-05-28 07:41:47 -07:00
Anthony Turner 709cfcdd66
track and cancel log update task externally (#65) 2020-05-27 14:24:23 -07:00
Anthony Turner 11999be55b
UI improvements and responsive design fixes (#64)
* UI improvements and responsive design fixes

* remove extraneous field
2020-05-27 14:13:18 -07:00
Anthony Turner 77dfc97818
Add test buttons to settings card (#61)
* Add test buttons to provider settings card
2020-05-23 11:18:15 -07:00
Anthony Turner c83e31a8e3
fixes for 'happy path' rotation of storage key (#60) 2020-05-22 21:20:31 -07:00
Anthony Turner d03b2f743b
reintroduce limited newtonsoft.json use, fix provider config bug (#59) 2020-05-21 18:54:00 -07:00
Anthony Turner 7604561fd8
improve use of DI in API (#57) 2020-05-18 11:18:49 -07:00
Drew Marsh f422358dc0
Update ExternalSignal function to be fully async (#56)
* Update ExternalSignal function to be fully async

Fixes #55.

* Tidies up async implementation of ExternalSignal::Run

 * Use `.ConfigurationAwait(false)` on `await`s inside the `Task.Run`
 * Add cancellation of the `Task.Delay` task when the execution of the rekeying task completes first to eagerly cleanup rather than just letting the timer stay alive

Co-authored-by: Anthony Turner <225599+anthturner@users.noreply.github.com>
2020-05-18 07:56:00 -07:00
Drew Marsh 6d76c627b1
Use semantic placeholders in log message templates (#54)
Fixes #16
2020-05-18 07:51:26 -07:00
Anthony Turner 35dfb549ec
Add provider for Azure Event Hubs (#53) 2020-05-15 09:39:01 -07:00
Anthony Turner 5d28832f99
Add Azure Redis Cache provider (#51) 2020-05-14 17:39:30 -07:00
Anthony Turner df801d4df0
Add provider for Azure Search Admin key (#49)
* Add provider for Azure Search Admin key

* Update SLN to fix broken resource
2020-05-14 17:37:05 -07:00
Anthony Turner 87c7ffc9df
Update codeScanning.yml 2020-05-14 17:34:32 -07:00
Anthony Turner 8478904400
Add Azure SQL admin password provider (#45)
* Add Azure SQL admin password provider

* Add license headers

* Branding consistency error
2020-05-14 17:30:31 -07:00
Anthony Turner 1eb30e708e
Update codeScanning.yml
Only run scanning on master integrations
2020-05-14 17:28:43 -07:00
Anthony Turner 31ef08b7ab
Create codeScanning.yml 2020-05-14 17:14:01 -07:00
Anthony Turner eb2c5e6144
Remove IServiceProvider, use ILogger<T> (#33)
* Remove IServiceProvider fixes #26 use ILogger<T> fixes #21

* Move Logger to implementation classes

* Update ILogger to private readonly
2020-05-14 11:31:32 -07:00
Anthony Turner 4ae9efbad4
Use System.Text.Json for serialization (#39)
* Use System.Text.Json for serialization

* Update to improve syntax

* Bugfix; actually use options in serializer
2020-05-14 10:35:30 -07:00