Skip to content

Commit f09d992

Browse files
Fixed merge conflict
2 parents 62ce41d + 54e7192 commit f09d992

File tree

112 files changed

+89583
-3058
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+89583
-3058
lines changed

SECURITY.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.7 BLOCK -->
2+
3+
## Security
4+
5+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6+
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
8+
9+
## Reporting Security Issues
10+
11+
**Please do not report security vulnerabilities through public GitHub issues.**
12+
13+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
14+
15+
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
16+
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
18+
19+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20+
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
28+
29+
This information will help us triage your report more quickly.
30+
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
32+
33+
## Preferred Languages
34+
35+
We prefer all communications to be in English.
36+
37+
## Policy
38+
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
40+
41+
<!-- END MICROSOFT SECURITY.MD BLOCK -->

azure-pipelines-autogen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ schedules:
1010

1111
jobs:
1212
- job: Autogenerate
13-
timeoutInMinutes: 180
13+
timeoutInMinutes: 360
1414

1515
pool:
1616
vmImage: 'ubuntu-latest'

generator/autogenlist.ts

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ const disabledProviders: AutoGenConfig[] = [
8888
namespace: 'Microsoft.Media',
8989
disabledForAutogen: true,
9090
},
91+
// Disabled because the swagger spec contains duplicate API paths and results in schema generation failures, see here for more info: https://github.com/Azure/azure-resource-manager-schemas/issues/2462
92+
{
93+
basePath: 'authorization/resource-manager',
94+
namespace: 'Microsoft.Authorization',
95+
disabledForAutogen: true,
96+
}
9197
];
9298

9399
// Run "npm run list-basepaths" to discover all the valid readme files to add to this list
@@ -649,37 +655,6 @@ const autoGenList: AutoGenConfig[] = [
649655
suffix: 'Resources',
650656
postProcessor: policyProcessor
651657
},
652-
{
653-
basePath: 'authorization/resource-manager',
654-
namespace: 'Microsoft.Authorization',
655-
resourceConfig: [
656-
{
657-
type: 'roleAssignments',
658-
scopes: ScopeType.Extension | ScopeType.ManagementGroup | ScopeType.ResourceGroup | ScopeType.Subcription | ScopeType.Tenant
659-
},
660-
{
661-
type: 'roleDefinitions',
662-
scopes: ScopeType.Extension | ScopeType.ManagementGroup | ScopeType.ResourceGroup | ScopeType.Subcription | ScopeType.Tenant
663-
},
664-
{
665-
type: 'roleAssignmentScheduleRequests',
666-
scopes: ScopeType.Extension | ScopeType.ManagementGroup | ScopeType.ResourceGroup | ScopeType.Subcription | ScopeType.Tenant
667-
},
668-
{
669-
type: 'roleEligibilityScheduleRequests',
670-
scopes: ScopeType.Extension | ScopeType.ManagementGroup | ScopeType.ResourceGroup | ScopeType.Subcription | ScopeType.Tenant
671-
},
672-
{
673-
type: 'roleManagementPolicyAssignments',
674-
scopes: ScopeType.Extension | ScopeType.ManagementGroup | ScopeType.ResourceGroup | ScopeType.Subcription | ScopeType.Tenant
675-
},
676-
{
677-
type: 'roleAssignmentApprovals/stages',
678-
scopes: ScopeType.Tenant
679-
}
680-
],
681-
suffix: 'Authz'
682-
},
683658
{
684659
basePath: 'relay/resource-manager',
685660
namespace: 'Microsoft.Relay',
@@ -926,6 +901,10 @@ const autoGenList: AutoGenConfig[] = [
926901
basePath: 'logz/resource-manager',
927902
namespace: 'Microsoft.Logz',
928903
},
904+
{
905+
basePath: 'dynatrace/resource-manager',
906+
namespace: 'Dynatrace.Observability',
907+
},
929908
{
930909
basePath: 'healthbot/resource-manager',
931910
namespace: 'Microsoft.HealthBot',

generator/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const specsRepoPath = path.join(os.tmpdir(), 'schm_azspc');
99
export const specsRepoUri = 'https://github.com/azure/azure-rest-api-specs';
1010
export const specsRepoCommitHash = 'origin/main';
1111
// eslint-disable-next-line no-useless-escape
12-
export const pathRegex = /(microsoft\.\w+)[\\\/]\S*[\\\/](\d{4}-\d{2}-\d{2}(|-preview))[\\\/]/i;
12+
export const pathRegex = /(microsoft\.\w+|NGINX.NGINXPLUS|DYNATRACE.OBSERVABILITY)[\\\/]\S*[\\\/](\d{4}-\d{2}-\d{2}(|-preview))[\\\/]/i;
1313

1414
export const autoRestVerboseOutput = false;
1515

0 commit comments

Comments
 (0)