diff --git a/pkg/analyser/analyzer.go b/pkg/analyser/analyzer.go index 79c71b1d..15c37df2 100644 --- a/pkg/analyser/analyzer.go +++ b/pkg/analyser/analyzer.go @@ -29,7 +29,7 @@ func NewComputedDiffAlert() *ComputedDiffAlert { } func (c *ComputedDiffAlert) Message() string { - return "You have diffs on computed fields, check the documentation for potential false positive drifts" + return "You have diffs on computed fields, check the documentation for potential false positive drifts: https://docs.driftctl.com/limitations" } func (c *ComputedDiffAlert) ShouldIgnoreResource() bool { diff --git a/pkg/cmd/scan/output/testdata/output_computed_fields.json b/pkg/cmd/scan/output/testdata/output_computed_fields.json index 8f8f88f2..27c04921 100644 --- a/pkg/cmd/scan/output/testdata/output_computed_fields.json +++ b/pkg/cmd/scan/output/testdata/output_computed_fields.json @@ -80,7 +80,7 @@ "alerts": { "": [ { - "message": "You have diffs on computed fields, check the documentation for potential false positive drifts" + "message": "You have diffs on computed fields, check the documentation for potential false positive drifts: https://docs.driftctl.com/limitations" } ] } diff --git a/pkg/cmd/scan/output/testdata/output_computed_fields.txt b/pkg/cmd/scan/output/testdata/output_computed_fields.txt index 458b8e4e..700c48bd 100644 --- a/pkg/cmd/scan/output/testdata/output_computed_fields.txt +++ b/pkg/cmd/scan/output/testdata/output_computed_fields.txt @@ -11,4 +11,4 @@ Found 1 resource(s) - 0 not covered by IaC - 0 missing on cloud provider - 1/1 changed outside of IaC -You have diffs on computed fields, check the documentation for potential false positive drifts +You have diffs on computed fields, check the documentation for potential false positive drifts: https://docs.driftctl.com/limitations