mirror of
https://github.com/openappsec/openappsec.git
synced 2025-06-28 16:41:02 +03:00
Moving yq to be taken from environment
This commit is contained in:
parent
eb509dfa85
commit
b795661328
@ -58,7 +58,7 @@ Maybe<T>
|
||||
PolicyMakerUtils::openFileAsJson(const string &path)
|
||||
{
|
||||
auto maybe_file_as_json = Singleton::Consume<I_ShellCmd>::by<LocalPolicyMgmtGenerator>()->getExecOutput(
|
||||
getFilesystemPathConfig() + "/bin/yq " + path + " -o json"
|
||||
getFilesystemPathConfig() + "/bin/yq eval " + path + " -o json"
|
||||
);
|
||||
|
||||
if (!maybe_file_as_json.ok()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user