forked from microsoft/PSRule
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PSRule banner can be configured in output microsoft#708
- Loading branch information
1 parent
6b64034
commit 764692a
Showing
12 changed files
with
241 additions
and
2 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
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,40 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
using System; | ||
|
||
namespace PSRule.Configuration | ||
{ | ||
/// <summary> | ||
/// The information displayed for Assert-PSRule banner. | ||
/// </summary> | ||
[Flags] | ||
[JsonConverter(typeof(StringEnumConverter))] | ||
public enum BannerFormat | ||
{ | ||
/// <summary> | ||
/// No banner is shown. | ||
/// </summary> | ||
None = 0, | ||
|
||
/// <summary> | ||
/// The PSRule title ASCII text is shown. | ||
/// </summary> | ||
Title = 1, | ||
|
||
/// <summary> | ||
/// The rules module versions used in this run are shown. | ||
/// </summary> | ||
Source = 2, | ||
|
||
/// <summary> | ||
/// Supporting links for PSRule and rules modules are shown. | ||
/// </summary> | ||
SupportLinks = 4, | ||
|
||
Default = Title | Source | SupportLinks, | ||
Minimal = Source | ||
} | ||
} |
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.