Skip to content

Commit c3f5d5f

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/azure-docs-pr (branch live)
2 parents 05c2f21 + f636984 commit c3f5d5f

File tree

12 files changed

+391
-149
lines changed

12 files changed

+391
-149
lines changed

articles/azure-monitor/cost-usage.md

Lines changed: 29 additions & 24 deletions
Large diffs are not rendered by default.

articles/azure-monitor/logs/cost-logs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ In some scenarios, combining this data can result in cost savings. Typically, th
152152
- [SysmonEvent](/azure/azure-monitor/reference/tables/sysmonevent)
153153
- [ProtectionStatus](/azure/azure-monitor/reference/tables/protectionstatus)
154154
- [Update](/azure/azure-monitor/reference/tables/update) and [UpdateSummary](/azure/azure-monitor/reference/tables/updatesummary) when the Update Management solution isn't running in the workspace or solution targeting is enabled.
155+
- [MDCFileIntegrityMonitoringEvents](/azure/azure-monitor/reference/tables/mdcfileintegritymonitoringevents)
155156

156157
If the workspace is in the legacy Per Node pricing tier, the Defender for Cloud and Log Analytics allocations are combined and applied jointly to all billable ingested data. To learn more on how Microsoft Sentinel customers can benefit, please see the [Microsoft Sentinel Pricing page](https://azure.microsoft.com/pricing/details/microsoft-sentinel/).
157158

articles/postgresql/flexible-server/concepts-extensions.md

Lines changed: 39 additions & 39 deletions
Large diffs are not rendered by default.

articles/postgresql/flexible-server/generative-ai-azure-cognitive.md

Lines changed: 199 additions & 68 deletions
Large diffs are not rendered by default.

articles/postgresql/flexible-server/generative-ai-azure-openai.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Generate vector embeddings with Azure OpenAI in Azure Database for Postgr
33
description: Use vector indexes and Azure Open AI embeddings in PostgreSQL for retrieval augmented generation (RAG) patterns.
44
author: mulander
55
ms.author: adamwolk
6-
ms.date: 01/02/2024
6+
ms.date: 04/05/2024
77
ms.service: postgresql
88
ms.subservice: flexible-server
99
ms.custom:
@@ -29,7 +29,7 @@ Invoke [Azure OpenAI embeddings](../../ai-services/openai/reference.md#embedding
2929
In the Azure OpenAI resource, under **Resource Management** > **Keys and Endpoints** you can find the endpoint and the keys for your Azure OpenAI resource. To invoke the model deployment, enable the `azure_ai` extension using the endpoint and one of the keys.
3030

3131
```postgresql
32-
select azure_ai.set_setting('azure_openai.endpoint','https://<endpoint>.openai.azure.com');
32+
select azure_ai.set_setting('azure_openai.endpoint', 'https://<endpoint>.openai.azure.com');
3333
select azure_ai.set_setting('azure_openai.subscription_key', '<API Key>');
3434
```
3535

@@ -38,9 +38,9 @@ select azure_ai.set_setting('azure_openai.subscription_key', '<API Key>');
3838
Invokes the Azure OpenAI API to create embeddings using the provided deployment over the given input.
3939

4040
```postgresql
41-
azure_openai.create_embeddings(deployment_name text, input text, timeout_ms integer DEFAULT 3600000, throw_on_error boolean DEFAULT true)
41+
azure_openai.create_embeddings(deployment_name text, input text, timeout_ms integer DEFAULT 3600000, throw_on_error boolean DEFAULT true, max_attempts integer DEFAULT 1, retry_delay_ms integer DEFAULT 1000)
42+
azure_openai.create_embeddings(deployment_name text, input text[], batch_size integer DEFAULT 100, timeout_ms integer DEFAULT 3600000, throw_on_error boolean DEFAULT true, max_attempts integer DEFAULT 1, retry_delay_ms integer DEFAULT 1000)
4243
```
43-
4444
### Arguments
4545

4646
#### `deployment_name`
@@ -49,7 +49,11 @@ azure_openai.create_embeddings(deployment_name text, input text, timeout_ms inte
4949

5050
#### `input`
5151

52-
`text` input used to create embeddings.
52+
`text` or `text[]` single text or array of texts, depending on the overload of the function used, for which embeddings are created.
53+
54+
#### `batch_size`
55+
56+
`integer DEFAULT 100` number of records to process at a time (only available for the overload of the function for which parameter `input` is of type `text[]`).
5357

5458
#### `timeout_ms`
5559

@@ -59,9 +63,17 @@ azure_openai.create_embeddings(deployment_name text, input text, timeout_ms inte
5963

6064
`boolean DEFAULT true` on error should the function throw an exception resulting in a rollback of wrapping transactions.
6165

66+
#### `max_attempts`
67+
68+
`integer DEFAULT 1` number of times the extension will retry calling the Azure OpenAI endpoint for embedding creation if it fails with any retryable error.
69+
70+
#### `retry_delay_ms`
71+
72+
`integer DEFAULT 1000` amount of time (milliseconds) that the extension will wait, before calling again the Azure OpenAI endpoint for embedding creation, when it fails with any retryable error.
73+
6274
### Return type
6375

64-
`real[]` a vector representation of the input text when processed by the selected deployment.
76+
`real[]` or `TABLE(embedding real[])` a single element or a single-column table, depending on the overload of the function used, with vector representations of the input text, when processed by the selected deployment.
6577

6678
## Use OpenAI to create embeddings and store them in a vector data type
6779

articles/postgresql/flexible-server/service-overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.topic: overview
77
ms.author: sunila
88
author: sunilagarwal
99
ms.custom: mvc
10-
ms.date: 12/20/2023
10+
ms.date: 04/07/2024
1111
adobe-target: true
1212
---
1313

@@ -44,9 +44,9 @@ Azure Database for PostgreSQL flexible server powered by the PostgreSQL communit
4444

4545
### Azure Database for PostgreSQL flexible server
4646

47-
Azure Database for PostgreSQL flexible server is a fully managed database service designed to provide more granular control and flexibility over database management functions and configuration settings. In general, the service provides more flexibility and customizations based on the user requirements. The flexible server architecture allows users to opt for high availability within single availability zone and across multiple availability zones. Azure Database for PostgreSQL flexible server provides better cost optimization controls with the ability to stop/start server and burstable compute tier, ideal for workloads that don’t need full-compute capacity continuously. Azure Database for PostgreSQL flexible server currently supports community version of PostgreSQL 11, 12, 13 and 14, with plans to add newer versions soon. Azure Database for PostgreSQL flexible server is generally available today in a wide variety of [Azure regions](overview.md#azure-regions).
47+
Azure Database for PostgreSQL flexible server is a fully managed database service designed to provide more granular control and flexibility over database management functions and configuration settings. In general, the service provides more flexibility and customizations based on the user requirements. The flexible server architecture allows users to opt for high availability within single availability zone and across multiple availability zones. Azure Database for PostgreSQL flexible server provides better cost optimization controls with the ability to stop/start server and burstable compute tier, ideal for workloads that don’t need full-compute capacity continuously. Azure Database for PostgreSQL flexible server currently supports community version of PostgreSQL 11, 12, 13, 14, 15, and 16 with plans to add newer versions as they become available. Azure Database for PostgreSQL flexible server is generally available today in a wide variety of [Azure regions](overview.md#azure-regions).
4848

49-
Azure Database for PostgreSQL flexible server instances are best suited for
49+
Azure Database for PostgreSQL flexible server instances are best suited for:
5050

5151
- Application developments requiring better control and customizations
5252
- Cost optimization controls with ability to stop/start server

articles/trusted-signing/TOC.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
items:
1111
- name: Signing Integrations with Trusted Signing
1212
href: how-to-signing-integrations.md
13+
- name: How-To
14+
items:
15+
- name: Sign CI Policies with Trusted Signing
16+
href: how-to-sign-ci-policy.md
1317
- name: Quickstart
1418
items:
1519
- name: Quickstart onboarding

articles/trusted-signing/faq.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ summary: |
1717
sections:
1818
- name: Onboarding
1919
questions:
20-
- question: What Windows versions does Trusted Signing support? # Question.
20+
- question: What Windows versions do Trusted Signing support? # Question.
2121
answer: |
2222
Refer to the [Trusted Signing Program Windows Support](https://support.microsoft.com/topic/kb5022661-windows-support-for-the-azure-code-signing-program-4b505a31-fa1e-4ea6-85dd-6630229e8ef4) page for details about Windows support for Trusted Signing.
2323
The service is supported on all currently supported versions of:
@@ -47,6 +47,12 @@ sections:
4747
- question: What if I fail identity validation?
4848
answer: |
4949
If more documentation is required for identity validation, you're asked to provide those documents on the Azure portal. Otherwise, we recommend checking for an email sent to the listed address for email validation. However, if your organization fails identity validation we can't onboard you to Trusted Signing. We recommend you delete your Trusted Signing account so you don't get billed for unused resources.
50+
- question: What is the cost of using Trusted Signing?
51+
answer: |
52+
For the beginning of Public Preview until June 2024 Trusted Signing is free. You'll still be prompted to select a Basic or Premium SKU when you create your account and we throttle signing requests.
53+
- question: What are my support options when onboarding to Trusted Signing?
54+
answer: |
55+
If you're a managed customer on Azure, and have a support plan you can create a support ticket with the service on the Azure portal and be assisted by Azure customer support. Otherwise, we recommend you go to Microsoft Q&A or StackOverflow under the tag Trusted-Signing to ask questions.
5056
- name: Certificate Profiles
5157
questions:
5258
- question: What if my Trusted Signing subject name is different than my old cert and my MSIX's package name is now different?
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
title: Signing CI Policies #Required; page title is displayed in search results. Include the brand.
3+
description: Learn how to sign new CI policies with Trusted Signing. #Required; article description that is displayed in search results.
4+
author: microsoftshawarma #Required; your GitHub user alias, with correct capitalization.
5+
ms.author: rakiasegev #Required; microsoft alias of author; optional team alias.
6+
ms.service: azure-code-signing #Required; service per approved list. slug assigned by ACOM.
7+
ms.topic: how-to #Required; leave this attribute/value as-is.
8+
ms.date: 04/04/2024 #Required; mm/dd/yyyy format.
9+
ms.custom: template-how-to-pattern #Required; leave this attribute/value as-is.
10+
---
11+
12+
# Sign CI Policies with Trusted Signing
13+
14+
To sign new CI policies with the service first install several prerequisites.
15+
16+
17+
Prerequisites:
18+
* A Trusted Signing account, Identity Validation, and Certificate Profile.
19+
* Ensure there are proper individual or group role assignments for signing (“Trusted Signing Certificate Profile Signer” role).
20+
* [Azure PowerShell on Windows](https://learn.microsoft.com/powershell/azure/install-azps-windows) installed
21+
* [Az.CodeSigning](https://learn.microsoft.com/powershell/module/az.codesigning/) module downloaded
22+
23+
Overview of steps:
24+
1. ⁠Unzip the Az.CodeSigning module to a folder
25+
2. ⁠Open Windows PowerShell [PowerShell 7](https://github.com/PowerShell/PowerShell/releases/latest)
26+
3. In the Az.CodeSigning folder, run
27+
```
28+
Import-Module .\Az.CodeSigning.psd1
29+
```
30+
4. Optionally you can create a `metadata.json` file:
31+
```
32+
Endpoint "https://scus.codesigning.azure.net/"
33+
CodeSigningAccountName "youracsaccount"
34+
CertificateProfileName "youracscertprofile"
35+
```
36+
5. [Get the root certificate](https://learn.microsoft.com/powershell/module/az.codesigning/get-azcodesigningrootcert) to be added to the trust store
37+
```
38+
Get-AzCodeSigningRootCert -AccountName TestAccount -ProfileName TestCertProfile -EndpointUrl https://xxx.codesigning.azure.net/ -Destination c:\temp\root.cer
39+
```
40+
Or using a metadata.json
41+
```
42+
Get-AzCodeSigningRootCert -MetadataFilePath C:\temp\metadata.sample.scus.privateci.json https://xxx.codesigning.azure.net/ -Destination c:\temp\root.cer
43+
```
44+
6. To get the EKU (Extended Key Usage) to insert into your policy:
45+
```
46+
Get-AzCodeSigningCustomerEku -AccountName acstestcanary -ProfileName acstestcanaryCert1 -EndpointUrl https://xxx.codesigning.azure.net/
47+
```
48+
Or
49+
50+
```
51+
Get-AzCodeSigningCustomerEku -MetadataFilePath C:\temp\metadata.sample.scus.privateci.json
52+
```
53+
7. To sign your policy, you run the invoke command:
54+
```
55+
Invoke-AzCodeSigningCIPolicySigning -accountName acstestcanary -profileName acstestcanaryCert1 -endpointurl "https://xxx.codesigning.azure.net/" -Path C:\Temp\defaultpolicy.bin -Destination C:\Temp\defaultpolicy_signed.bin -TimeStamperUrl: http://timestamp.acs.microsoft.com
56+
```
57+
58+
Or use a `metadata.json` file and the following command:
59+
60+
```
61+
Invoke-AzCodeSigningCIPolicySigning -MetadataFilePath C:\temp\metadata.sample.scus.privateci.json -Path C:\Temp\defaultpolicy.bin -Destination C:\Temp\defaultpolicy_signed.bin -TimeStamperUrl: http://timestamp.acs.microsoft.com
62+
```
63+
64+
## Creating and Deploying a CI Policy
65+
66+
For steps on creating and deploying your CI policy refer to:
67+
* [Use signed policies to protect Windows Defender Application Control against tampering](https://learn.microsoft.com/windows/security/application-security/application-control/windows-defender-application-control/deployment/use-signed-policies-to-protect-wdac-against-tampering)
68+
* [Windows Defender Application Control design guide](https://learn.microsoft.com/windows/security/application-security/application-control/windows-defender-application-control/design/wdac-design-guide)
69+

articles/trusted-signing/how-to-signing-integrations.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: microsoftshawarma #Required; your GitHub user alias, with correct capita
55
ms.author: rakiasegev #Required; microsoft alias of author; optional team alias.
66
ms.service: azure-code-signing #Required; service per approved list. slug assigned by ACOM.
77
ms.topic: how-to #Required; leave this attribute/value as-is.
8-
ms.date: 03/21/2024 #Required; mm/dd/yyyy format.
8+
ms.date: 04/04/2024 #Required; mm/dd/yyyy format.
99
ms.custom: template-how-to-pattern #Required; leave this attribute/value as-is.
1010
---
1111

@@ -17,7 +17,8 @@ Trusted Signing currently supports the following signing integrations:
1717
* ADO Task
1818
* PowerShell for Authenticode
1919
* Azure PowerShell - App Control for Business CI Policy
20-
We constantly work to support more signing integrations and will update the above list if/when more are available.
20+
21+
We constantly work to support more signing integrations and update the above when more become available.
2122

2223
This article explains how to set up each of the above Trusted Signing signing integrations.
2324

@@ -66,7 +67,7 @@ The components that SignTool.exe uses to interface with Trusted Signing require
6667

6768
### Download and install Trusted Signing Dlib package
6869
Complete these steps to download and install the Trusted Signing Dlib package (.ZIP):
69-
1. Download the [Trusted Signing Dlib package](https://www.nuget.org/packages/Azure.CodeSigning.Client).
70+
1. Download the [Trusted Signing Dlib package](https://www.nuget.org/packages/Microsoft.Trusted.Signing.Client).
7071

7172
2. Extract the Trusted Signing Dlib zip content and install it onto your signing node in a directory of your choice. You’re required to install it onto the node you’ll be signing files from with SignTool.exe.
7273

@@ -113,12 +114,12 @@ Trusted Signing certificates have a 3-day validity, so timestamping is critical
113114
## Use other signing integrations with Trusted Signing
114115
This section explains how to set up other not [SignTool](#set-up-signtool-with-trusted-signing) signing integrations with Trusting Signing.
115116

116-
* GitHub Action – To use the GitHub action for Trusted Signing, visit [Azure Code Signing · Actions · GitHub Marketplace](https://github.com/marketplace/actions/azure-code-signing) and follow the instructions to set up and use GitHub action.
117+
* GitHub Action – To use the GitHub action for Trusted Signing, visit [Trusted Signing · Actions · GitHub Marketplace](https://github.com/azure/trusted-signing-action) and follow the instructions to set up and use GitHub action.
117118

118-
* ADO Task – To use the Trusted Signing AzureDevOps task, visit [Azure Code Signing - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.AzureCodeSigning) and follow the instructions for setup.
119+
* ADO Task – To use the Trusted Signing AzureDevOps task, visit [Trusted Signing - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=VisualStudioClient.TrustedSigning&ssr=false#overview) and follow the instructions for setup.
119120

120-
* PowerShell for Authenticode – To use PowerShell for Trusted Signing, visit [PowerShell Gallery | AzureCodeSigning 0.2.15](https://www.powershellgallery.com/packages/AzureCodeSigning/0.2.15) to install the PowerShell module.
121+
* PowerShell for Authenticode – To use PowerShell for Trusted Signing, visit [PowerShell Gallery | Trusted Signing 0.3.8](https://www.powershellgallery.com/packages/TrustedSigning/0.3.8) to install the PowerShell module.
121122

122-
* Azure PowerShellApp Control for Business CI Policy - App Control for Windows [link to CI policy signing tutorial].
123+
* Azure PowerShell: App Control for Business CI Policy – To use Trusted Signing for CI policy signing follow the instructions at [Signing a New CI policy](./how-to-sign-ci-policy.md) and visit the [Az.CodeSigning PowerShell Module](https://learn.microsoft.com/powershell/azure/install-azps-windows).
123124

124125
* Trusted Signing SDK – To create your own signing integration our [Trusted Signing SDK](https://www.nuget.org/packages/Azure.CodeSigning.Sdk) is publicly available.

0 commit comments

Comments
 (0)