* Update schemas/

* Update change log

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Bernie White 2024-02-03 23:06:45 +10:00 коммит произвёл GitHub
Родитель ab8f79d4d1
Коммит 2ab2a5eceb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 25 добавлений и 12 удалений

2
.github/workflows/schema.yaml поставляемый
Просмотреть файл

@ -3,7 +3,7 @@
#
# NOTES:
# Autoamtically bump PSRule schemas.
# Automatically bump PSRule schemas.
name: Schemas
on:

Просмотреть файл

@ -33,6 +33,7 @@ What's changed since v2.9.0:
[#1261](https://github.com/microsoft/PSRule-vscode/pull/1261)
[#1314](https://github.com/microsoft/PSRule-vscode/pull/1314)
[#1330](https://github.com/microsoft/PSRule-vscode/pull/1330)
[#1344](https://github.com/microsoft/PSRule-vscode/pull/1344)
- Bump vscode engine to v1.86.0.
[#1342](https://github.com/microsoft/PSRule-vscode/pull/1342)
- Bump typescript to v5.3.3.

Просмотреть файл

@ -52,7 +52,7 @@
"title": "AKS cluster minimum version",
"description": "This configuration option determines the minimum version of Kubernetes for AKS clusters and node pools. Rules that check the Kubernetes version fail when the version is older than the version specified.",
"markdownDescription": "This configuration option determines the minimum version of Kubernetes for AKS clusters and node pools. Rules that check the Kubernetes version fail when the version is older than the version specified. [See help](https://azure.github.io/PSRule.Rules.Azure/setup/configuring-rules/#aks-minimum-kubernetes-version)\r\rApplies to: [PSRule for Azure](https://aka.ms/ps-rule-azure)",
"default": "1.25.4"
"default": "1.27.7"
},
"AZURE_PARAMETER_FILE_METADATA_LINK": {
"type": "boolean",
@ -310,8 +310,8 @@
"duplicateResourceId": {
"type": "string",
"title": "Duplicate resource identifiers",
"description": "Determines how to handle duplicate resources identifiers during execution. Regardless of the value, only the first resource will be used. By defaut, an error is thrown. When set to Warn, a warning is generated. When set to Ignore, no output will be displayed.",
"markdownDescription": "Determines how to handle duplicate resources identifiers during execution.\n\nRegardless of the value, only the first resource will be used. By defaut, an error is thrown.\n\n- When set to `Warn`, a warning is generated.\n- When set to `Debug`, a message is written to the debug log.\n- When set to `Ignore`, no output will be displayed.\n\n[See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#executionduplicateresourceid)",
"description": "Determines how to handle duplicate resources identifiers during execution. Regardless of the value, only the first resource will be used. By default, an error is thrown. When set to Warn, a warning is generated. When set to Ignore, no output will be displayed.",
"markdownDescription": "Determines how to handle duplicate resources identifiers during execution.\n\nRegardless of the value, only the first resource will be used. By default, an error is thrown.\n\n- When set to `Warn`, a warning is generated.\n- When set to `Debug`, a message is written to the debug log.\n- When set to `Ignore`, no output will be displayed.\n\n[See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#executionduplicateresourceid)",
"enum": [
"Ignore",
"Warn",
@ -323,8 +323,8 @@
"hashAlgorithm": {
"type": "string",
"title": "Hash Algorithm",
"description": "Configures the hashing algorithm used by the PSRule runtime. By default, SHA512 is used.",
"markdownDescription": "Configures the hashing algorithm used by the PSRule runtime.\n\nBy default, `SHA512` is used.\n\n[See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#executionhashalgorithm)",
"description": "Configures the hashing algorithm used by the PSRule runtime. The default is SHA512.",
"markdownDescription": "Configures the hashing algorithm used by the PSRule runtime. The default is `SHA512`.\n- When set to `SHA512` the SHA-512 algorithm is used for hashing functions.\n- When set to `SHA384` the SHA-384 algorithm is used for hashing functions.\n- When set to `SHA256` the SHA-256 algorithm is used for hashing functions.\n\n[See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#executionhashalgorithm)",
"enum": [
"SHA512",
"SHA384",
@ -334,15 +334,27 @@
},
"languageMode": {
"type": "string",
"title": "Language mode",
"title": "Language Mode",
"description": "The PowerShell language mode to use for rule execution. The default is FullLanguage.",
"markdownDescription": "The PowerShell language mode to use for rule execution. The default is `FullLanguage`. [See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#executionlanguagemode)",
"markdownDescription": "The PowerShell language mode to use for rule execution. The default is `FullLanguage`.\n- `FullLanguage` - Executes with all language features.\n- `ConstrainedLanguage` - Executes in constrained language mode that restricts the types and methods that can be used.\n\n[See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#executionlanguagemode)",
"enum": [
"FullLanguage",
"ConstrainedLanguage"
],
"default": "FullLanguage"
},
"restrictScriptSource": {
"type": "string",
"title": "Restrict Script Source",
"description": "Configures where to allow PowerShell language features (such as rules and conventions) to run from. The default is Unrestricted.",
"markdownDescription": "Configures where to allow PowerShell language features (such as rules and conventions) to run from. The default is `Unrestricted`.\n- When set to `Unrestricted` PowerShell language features are allowed from workspace and modules.\n- When set to `ModuleOnly` PowerShell language features are allowed from loaded modules, but script files within the workspace are ignored.\n- When set to `DisablePowerShell` no PowerShell language features are used during PSRule run.\n\n[See help](https://microsoft.github.io/PSRule/v3/concepts/PSRule/en-US/about_PSRule_Options/#executionrestrictscriptsource)",
"enum": [
"Unrestricted",
"ModuleOnly",
"DisablePowerShell"
],
"default": "Unrestricted"
},
"initialSessionState": {
"type": "string",
"title": "Initial Session State",
@ -933,14 +945,14 @@
"baseRef": {
"type": "string",
"title": "Base Reference",
"description": "Sets the repository base ref used for comparisons of changed files. By default, the base ref is detected from environment vairables set by the build system.",
"markdownDescription": "Sets the repository base ref used for comparisons of changed files. By default, the base ref is detected from environment vairables set by the build system. [See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#repositorybaseref)"
"description": "Sets the repository base ref used for comparisons of changed files. By default, the base ref is detected from environment variables set by the build system.",
"markdownDescription": "Sets the repository base ref used for comparisons of changed files.\n\nBy default, the base ref is detected from environment variables set by the build system.\n\n[See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#repositorybaseref)"
},
"url": {
"type": "string",
"title": "Repository URL",
"description": "Sets the repository URL reported in output. By default, the repository URL is detected from environment variables set by the build system.",
"markdownDescription": "Sets the repository URL reported in output. By default, the repository URL is detected from environment variables set by the build system. [See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#repositoryurl)"
"markdownDescription": "Sets the repository URL reported in output.\n\nBy default, the repository URL is detected from environment variables set by the build system.\n\n[See help](https://microsoft.github.io/PSRule/v2/concepts/PSRule/en-US/about_PSRule_Options/#repositoryurl)"
}
},
"additionalProperties": false

Просмотреть файл

@ -26,7 +26,7 @@ function Update-Schemas {
$updates = @(git status --porcelain);
if ($Null -ne $Env:WORKING_BRANCH -and $Null -ne $updates -and $updates.Length -gt 0) {
git add schemas/*;
git commit -m "Update schemas/";
git commit -m "Bump schemas";
git push --force -u origin $Env:WORKING_BRANCH;
$updates | ForEach-Object {