Skip to content

Commit 66f805b

Browse files
author
Uros Randelovic
committed
Merge remote-tracking branch 'origin/master' into sql-managed-instance
2 parents e70d967 + cb17e82 commit 66f805b

File tree

27 files changed

+554
-93
lines changed

27 files changed

+554
-93
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 -->

quickstart/101-attestation-provider/main.tf

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ resource "random_pet" "rg_name" {
33
}
44

55
resource "azurerm_resource_group" "rg" {
6-
name = random_pet.rg_name.id
76
location = var.resource_group_location
7+
name = random_pet.rg_name.id
88
}
99

1010
resource "azurerm_attestation_provider" "corp_attestation" {
11-
name = var.attestation_provider_name
12-
resource_group_name = azurerm_resource_group.rg.name
13-
location = azurerm_resource_group.rg.location
14-
11+
location = azurerm_resource_group.rg.location
12+
name = var.attestation_provider_name
13+
resource_group_name = azurerm_resource_group.rg.name
1514
policy_signing_certificate_data = file(var.policy_file)
1615
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
output "resource_group_name" {
22
value = azurerm_resource_group.rg.name
3-
}
3+
}

quickstart/101-attestation-provider/providers.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ terraform {
66
source = "hashicorp/azurerm"
77
version = "~>2.0"
88
}
9+
random = {
10+
source = "hashicorp/random"
11+
version = "~>3.0"
12+
}
913
}
1014
}
1115

1216
provider "azurerm" {
1317
features {}
14-
}
18+
}

quickstart/101-attestation-provider/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ This template deploys an [Attestation provider](/azure/attestation/overview) on
1212

1313
| Name | Description | Default |
1414
|-|-|-|
15-
| `resource_group_name_prefix` | (Optional) Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription.| rg |
16-
| `resource_group_location` | (Optional) Azure Region in which to deploy these resources.| eastus |
15+
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
16+
| `resource_group_location` | Location of the resource group. | eastus |
1717
| `attestation_provider_name` | Name of the Attestation provider | attestationprovider007 |
1818

1919
## Example
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
variable "resource_group_name_prefix" {
2-
default = "rg"
3-
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
1+
variable "attestation_provider_name" {
2+
default = "attestationprovider007"
3+
}
4+
5+
variable "policy_file" {
6+
default = "~/.certs/cert.pem"
47
}
58

69
variable "resource_group_location" {
710
default = "eastus"
811
description = "Location of the resource group."
912
}
1013

11-
variable "policy_file" {
12-
default = "~/.certs/cert.pem"
13-
}
14-
15-
variable "attestation_provider_name" {
16-
default = "attestationprovider007"
14+
variable "resource_group_name_prefix" {
15+
default = "rg"
16+
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
1717
}

quickstart/101-resource-group/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ resource "random_pet" "rg_name" {
33
}
44

55
resource "azurerm_resource_group" "rg" {
6-
name = random_pet.rg_name.id
76
location = var.resource_group_location
8-
}
7+
name = random_pet.rg_name.id
8+
}

quickstart/101-resource-group/providers.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ terraform {
66
source = "hashicorp/azurerm"
77
version = "~>2.0"
88
}
9+
random = {
10+
source = "hashicorp/random"
11+
version = "~>3.0"
12+
}
913
}
1014
}
1115

1216
provider "azurerm" {
1317
features {}
14-
}
18+
}

quickstart/101-resource-group/readme.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ This template deploys an Azure resource group with a random name beginning with
99

1010
## Variables
1111

12-
| Name | Description |
13-
|-|-|
14-
| `resource_group_name_prefix` | (Optional) Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. Value defaults to: rg|
15-
| `resource_group_location` | (Optional) Azure Region in which to deploy these resources. Value defaults to: eastus |
12+
| Name | Description | Default |
13+
|-|-|-|
14+
| `resource_group_name_prefix` | Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription. | rg |
15+
| `resource_group_location` | Location of the resource group. | eastus |
1616

1717
## Example
1818

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
variable "resource_group_name_prefix" {
2-
default = "rg"
3-
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
4-
}
5-
61
variable "resource_group_location" {
72
default = "eastus"
83
description = "Location of the resource group."
94
}
5+
6+
variable "resource_group_name_prefix" {
7+
default = "rg"
8+
description = "Prefix of the resource group name that's combined with a random ID so name is unique in your Azure subscription."
9+
}

0 commit comments

Comments
 (0)