forked from microsoft/PSRule
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring for splitting runs microsoft#2611
- Loading branch information
1 parent
cfc6575
commit 518d30a
Showing
45 changed files
with
1,832 additions
and
810 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: About runs | ||
description: This article describes how PSRule organizes and manages each logical run. | ||
module: 3.0.0 | ||
--- | ||
|
||
# Runs | ||
|
||
This article describes how PSRule organizes and manages each logical run. | ||
|
||
When PSRule is executed one or more runs will be automatically created. | ||
|
||
## Configuring runs | ||
|
||
PSRule allows the following options to be configured that affects runs: | ||
|
||
- [Execution.Category] | ||
- [Execution.Description] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
--- | ||
# Synopsis: An example baseline. | ||
apiVersion: github.com/microsoft/PSRule/v1 | ||
kind: Baseline | ||
metadata: | ||
name: Baseline.Rule | ||
displayName: Baseline.Rule | ||
description: An example baseline. | ||
spec: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"$schema": "https://schemastore.azurewebsites.net/schemas/json/sarif-2.1.0-rtm.5.json", | ||
"version": "2.1.0", | ||
"runs": [ | ||
{ | ||
"automationDetails": { | ||
"id": "CI repository scan/workspace/1", | ||
"description": { | ||
"text": "An analysis scan that checks repository files." | ||
}, | ||
"correlationGuid": "00000000-0000-0000-0000-000000000000" | ||
}, | ||
"tool": { | ||
"driver": { | ||
"guid": "0130215d-58eb-4887-b6fa-31ed02500569", | ||
"name": "PSRule", | ||
"organization": "Microsoft Corporation", | ||
"semanticVersion": "2.9.0", | ||
"informationUri": "https://aka.ms/ps-rule" | ||
}, | ||
"extensions": [ | ||
{ | ||
"guid": "7bfb5234-1648-4e52-956c-42f303d416cb", | ||
"name": "PSRule.Rules.MSFT.OSS", | ||
"organization": "Microsoft Corporation", | ||
"version": "1.1.0", | ||
"informationUri": "https://github.com/microsoft/PSRule.Rules.MSFT.OSS", | ||
"associatedComponent": { | ||
"name": "PSRule" | ||
} | ||
} | ||
] | ||
}, | ||
"invocations": [ | ||
{ | ||
"executionSuccessful": true | ||
} | ||
], | ||
"versionControlProvenance": [ | ||
{ | ||
"repositoryUri": "https://github.com/microsoft/PSRule", | ||
"revisionId": "2a3671213e5768aad6af7f132e418d1a4368a3c5", | ||
"branch": "main", | ||
"mappedTo": { | ||
"uriBaseId": "REPO_ROOT" | ||
} | ||
} | ||
], | ||
"originalUriBaseIds": { | ||
"REPO_ROOT": { | ||
"description": { | ||
"text": "The directory into which the repo was cloned." | ||
} | ||
} | ||
}, | ||
"results": [], | ||
"columnKind": "utf16CodeUnits" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.