diff --git a/pkg/sourcetool/implementation.go b/pkg/sourcetool/implementation.go index 1d02ec97..ecc519cc 100644 --- a/pkg/sourcetool/implementation.go +++ b/pkg/sourcetool/implementation.go @@ -276,7 +276,7 @@ func (impl *defaultToolImplementation) GetPolicyStatus( Message: fmt.Sprintf("Repository policy not found for %s", r.Path), RecommendedAction: &slsa.ControlRecommendedAction{ Message: "Create a policy for the repository", - Command: fmt.Sprintf("buildtool setup --config=CONFIG_POLICY %s", r.Path), + Command: fmt.Sprintf("buildtool policy create %s", r.Path), }, }, nil }