Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Summary
What's changed since v1.0.3:
NotHasField
to check object does not have any of the specified fields.Null
to check field value is null.NotNull
to check field value is not null.IsNumeric
to check field value is a numeric types.IsInteger
to check field value is an integer types.IsBoolean
to check field value is a boolean.IsArray
to check field value is an array.IsString
to check field value is a string.TypeOf
to check field value is a specified type.$PSRule.GetContentFirstOrDefault
to get content and return the first object.$PSRule.GetContentField
to get the field from content objects.HasJsonSchema
assertion helper. Add an option to ignore scheme with HasJsonSchema #636http://
orhttps://
URIs.#
is ignored.-Outcome
and-As
to produce filtered output fromAssert-PSRule
. Reduce or compact the output generated from Assert-PSRule for successful rules #643Output.As
withSummary
to produce summarized results per object.Output.Outcome
to limit output toFail
orError
.What's changed since pre-release v1.1.0-B2102029:
PR Checklist