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

931 Коммитов

Автор SHA1 Сообщение Дата
Ajay Sharma cfaf2af197
Add files via upload 2022-04-25 11:02:08 -07:00
Ajay Sharma d72dcf2625
Add files via upload 2022-04-25 10:57:02 -07:00
Hawk Foreste f601552af6
Update README.md 2022-03-21 11:59:26 -07:00
Ajay Sharma f401c4ed6c
Remove the "no issues detected" from error message (#858) 2022-03-16 16:07:07 -07:00
nmallick1 ff9d57a944
Avoid ToUpper while comparing Key values. This will avoid creating unnecessary string objects. (#856) 2022-03-14 13:15:07 -07:00
nmallick1 e345ab3311
Nmallick1/fix for populating table schema (#855)
* Make cluster name matching case insensitive

* If table is empty, merge the table to ensure schema is created.
2022-03-11 18:10:39 -08:00
Ajay Sharma 6f5bca0880
Certificate issuer missing message detail (#854)
Co-authored-by: Ajay Sharma <ajsharm@microsoft.com>
2022-03-08 14:39:35 -08:00
yifguoMSFT 15b29bde21
add kusto data hole fall back logic (#853)
* add kusto data hole fall back logic

* bug fix

* handles aggregation queries as well
2022-03-08 09:34:26 -08:00
Darrel Donald 50e9eb2e00
send org, proj, and repo in config api (#851)
* send org, proj, and repo in config api

* add folderpath to response
2022-03-07 17:02:02 -08:00
nmallick1 a142146a79
Update the value of AAD Authority for ASC to lowercase. (#852) 2022-03-07 12:19:59 -08:00
rekhaswaminathan c9c14a00ee
Use TryAdd to avoid Key exists exception (#850) 2022-03-03 15:39:42 -08:00
rekhaswaminathan 8d68d478cb
Allow fetch by resource provider type (#848) 2022-03-01 10:31:07 -08:00
yifguoMSFT e988d4dbed
update observer aad authority (#847) 2022-03-01 09:37:34 -08:00
yifguoMSFT f4a7f1f743
Kusto related miscellaneous changes (#845)
- KustoDataProvider.ExecuteQueryOnHighPerfClusterWithFallback adds only backup query to meta data
- DiagnosticsRequestMiddleware extract detector name from uri and provide it to DataProviderContext
2022-02-28 17:30:45 -08:00
nmallick1 db35732929
Check if Provider is enabled before loading certs for it. This will help selectively disable providers across NClouds. (#846) 2022-02-28 15:04:14 -08:00
nmallick1 36497ba5af
Support for AAD subject name issue authentication (#788)
* Introduce a new generic cert loader service.

* Make ASC use a static http client and move the data provider away from using client secrets and towards using cert based aad authentication.

* Update documentation for ASC data provider

* Add retry while lookingup certificates to address timing issue caused on local dev environment.

* Move MDM Cert loader to use the generic certificate loader

* Cleanup cert loaders since respective data provider is now dependent on generic cert loader.

* Move Geomaster client to use certificate from generic cert loader.

* Support for loading certificates from dev keyvault to computer user store. This helps dev environment without without constant intervention.

* Remove unsed namespaces

* Add keyvault certificate loader for dev environment to build pipeline

* Add support for subject name + issuer authentication for AAD bearer tokens. This eliminated the need to store client secret. Add support for token cache and auto token refresh.

* Cleanup Asc token service since it now acquires token via subject name + issuer auth via the generic token service.

* Switch Asc client to use generic token service.

* SDK for MSAL.

* Config for loading certificate used to acquire AAD token.

* Move Kusto SDK client to use subject name issuer AAD authentication.

* Initialize generic certificate loader and cleanup other certificate loaders+ASC token service.

* Add a new Http data provider. Helps test the generic token service enabling move of other data providers to this approach.

* Resolve merge conflict

* Fix typofor method name

* Add mock values for ASC data provider and tests to succeed.

* Add a new method fixing the typo in earlier method name. Once this change is deployed, will deprecate the method with typo and by updating detector code.

* Fix build error
2022-02-25 16:58:45 -08:00
michimune 0d494c9b44
Add missing resource filter for new container app resource type (#844)
Co-authored-by: Michimune Kohno <mikono@microsoft.com>
2022-02-25 15:09:29 -08:00
rekhaswaminathan f1b9002223
Added PR description field (#841)
* Added PR description field

* Adding default message to avoid null value validation
2022-02-24 10:39:42 -08:00
nmallick1 5750927037
Nmallick1/handle incorrect st for resource type (#843)
* Handle NRE in case the resource in ASC is selected manually but the SR support topic still points to a different product.

* Add additional logging fto record seralization errors while recieving post body from ASC and making it available to detectors.
2022-02-24 09:02:32 -08:00
nmallick1 0ce3d4f0aa
Handle Null checks and create appropriate log messages. (#842) 2022-02-23 15:12:18 -08:00
nmallick1 97aa810047
Fix NRE in GetInsights and add additional logging to further investigate the issue. (#839) 2022-02-16 18:47:16 -08:00
michimune d6f3bb9ab0
Emit event logs to Trace instead of ETW in development environment (#828)
* Emit event logs to Trace instead of ETW in development environment

* Fix test failure

Co-authored-by: Michimune Kohno <mikono@microsoft.com>
2022-02-16 09:58:45 -08:00
yifguoMSFT 26b0fb01c8
update kusto settings (#838)
- remove easdiagleader from shadowing list
- check maxOfMinExtentsCreationTime before shadowing to diagleader and sending query to aggdiagleader
2022-02-11 16:40:05 -08:00
yifguoMSFT 512be79802
fixing observer GetStampName "Admin Sites response did not contain stamp name for site" issue (#831)
* fixing observer GetStampName "Admin Sites response did not contain stamp name for site" issue

* remove extra white space
2022-02-11 16:20:52 -08:00
michimune 60ef16ed95
Support new resource provider name of container app, add templates for it (#837)
Co-authored-by: Michimune Kohno <mikono@microsoft.com>
2022-02-11 15:04:54 -08:00
rekhaswaminathan ed129e08a8
Update DevOpsClient.cs (#836) 2022-02-11 11:34:53 -08:00
Cindy Peng 0d1c1986d8
Update support topic map with sapIds for national clouds (#835) 2022-02-10 14:58:32 -08:00
Cindy Peng 17e796e37c
Add sap support topic Ids for runtimehost (#833)
* Add sap support topic Ids

* Add unit test cases

* Remove empty validation for sapIds
2022-02-10 13:32:49 -08:00
rekhaswaminathan 9cba021338
Reuse same client, but switch between projects/repo based on resource (#834)
* Reuse same client, but switch between projects/repo based on resource provider
2022-02-10 11:41:18 -08:00
rekhaswaminathan fa87a453bc
Revert "Support new RP for container apps (#827)" (#832)
This reverts commit 1552d573a4.
2022-02-09 11:08:51 -08:00
rekhaswaminathan bb753973eb
Reswamin/getpullrequests api (#830)
* New API to get all PRs
2022-02-08 11:03:33 -08:00
yifguoMSFT d678a414fc
update kusto configurations (#829)
add wawseas|wawseasdiagleader.southeastasia,wawseasfollower|wawseasdiagleader.southeastasia to QueryShadowingClusterMapping for testing wawseasdiagleader

fix wrong KustoAggClusterNameGroupMappings configs
2022-02-07 12:45:31 -08:00
michimune 1552d573a4
Support new RP for container apps (#827)
* Support new RP for container apps

* Fix build error

Co-authored-by: Michimune Kohno <mikono@microsoft.com>
2022-02-04 09:33:19 -08:00
rekhaswaminathan d9b4c54080
Fetch config from storage if not in cache (#826) 2022-02-03 13:52:11 -08:00
yifguoMSFT adb4bbc7a1
updates for kusto diag leaders
- change GetClusterNameFromStamp function to use new diagleader when updating a missing region:cluster mapping
- add shadowing for wawswus and wawsneu
- turn on agg cluster for all regions
- not use weak consistency for all diagleader clusters
2022-01-28 11:14:25 -08:00
rekhaswaminathan e161c8f587
Logging change (#824) 2022-01-27 11:16:48 -08:00
nmallick1 e305a03d30
Add detector templates for redis cache (#823) 2022-01-26 17:13:17 -08:00
michimune cb2f894802
Revert IMdmDataProviderConfiguration change which removed CertificateName (#822)
Co-authored-by: Michimune Kohno <mikono@microsoft.com>
2022-01-25 14:01:12 -08:00
michimune 42d8f23fce
Add enable flag check for container apps MDM (#821)
Co-authored-by: Michimune Kohno <mikono@microsoft.com>
2022-01-25 11:26:31 -08:00
nmallick1 6759ab1184
Allow a query to be executed on a few app service clusters (#820)
* Allow a query to be executed on a few app service clusters instead of all. This eliminated the need to perform a cross cluster union and enables scenarios where a query should be executed in few regions. This is being created to enable certain scenarios for static webapps.

* Comment explaining the stamp names per region

* Fix typo

* Fix typo in exception message
2022-01-24 16:48:13 -08:00
Hawk Foreste 0fd12ec6a8
Security fix (#817)
* Remove authorization on the dependency check API namely because we have caching implemented for the API responses.

* Addressing security issue
2022-01-24 11:19:38 -08:00
Puneet Gupta e7b12b1932
System.Text.Json fix for radio buttons not rendered properly (#816) 2022-01-25 00:24:22 +05:30
rekhaswaminathan 368646c401
Create preprod-import.ps1 (#815)
* Create preprod-import.ps1

* Update preprod-import.ps1
2022-01-24 08:55:11 -08:00
Darrel Donald 762757d968
changed type to List<(string, bool)> and added DevOpsGetBranchesConve… (#814)
* changed type to List<(string, bool)> and added DevOpsGetBranchesConverter

* added DevOpsMakePRConverter

* Update AsRuntimeTypeConverter.cs
2022-01-20 14:21:47 -08:00
michimune abfda9b454
Enable MDM for container apps (#813)
Co-authored-by: Michimune Kohno <mikono@microsoft.com>
2022-01-14 10:40:20 -08:00
Darrel Donald 9f13d41d1c
return default config when resourceProviderType not found (#812) 2022-01-13 10:53:51 -08:00
michimune 73beb7e09c
Fix DevOps controller not receiving any JSON body (#800)
* Fix DevOps controller not receiving any JSON body

* keep validation function (#802)

* keep validation function

* message update

* Update RequestBodyValidator.cs

* Update RequestBodyValidator.cs

Co-authored-by: Michimune Kohno <mikono@microsoft.com>
Co-authored-by: Darrel Donald <darreldonald@microsoft.com>
2022-01-12 12:51:29 -08:00
rekhaswaminathan 4bd3d81e00
Fixed bug in response. (#810) 2022-01-10 14:53:50 -08:00
rekhaswaminathan e8032c56ec
Resource Provider Config for Devops (#797) 2022-01-10 11:35:19 -08:00
yifguoMSFT a8e2b52003
add ExecuteQueryOnHiPerfClusterWithBackup to KustoDataProvider (#809)
* add ExecuteQueryOnHiPerfClusterWithBackup to KustoDataProvider

* resolve comments
2022-01-05 15:53:11 -08:00