From 59440e7876d4d559b02f549eb3b8dafef2e91d5a Mon Sep 17 00:00:00 2001 From: DJ Schleen Date: Sat, 10 Jul 2021 15:11:47 -0600 Subject: [PATCH 1/7] Comment --- lib/issues.go | 1 + lucha-sbom.json | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/lib/issues.go b/lib/issues.go index 729ea91..3677b1a 100644 --- a/lib/issues.go +++ b/lib/issues.go @@ -48,6 +48,7 @@ func FindIssues(fs FileSystem, minSeverity int) (violations []ScanFile, violatio } } + // this could go into a verbose or trace flag // else { // fmt.Println("Ignoring ", file.Name()) // } diff --git a/lucha-sbom.json b/lucha-sbom.json index cd3999e..18edf30 100644 --- a/lucha-sbom.json +++ b/lucha-sbom.json @@ -1,10 +1,10 @@ { "bomFormat": "CycloneDX", "specVersion": "1.2", - "serialNumber": "urn:uuid:e01de6f9-1abf-4729-a0b2-916b5c0c2008", + "serialNumber": "urn:uuid:e98e25c8-d199-442d-b456-167c081eb16a", "version": 1, "metadata": { - "timestamp": "2021-07-10T14:59:17-06:00", + "timestamp": "2021-07-10T15:11:59-06:00", "tools": [ { "vendor": "CycloneDX", @@ -31,11 +31,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210709212051-962480554a8e", + "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710150059-73180e8f6d90", "type": "application", "name": "github.com/devops-kung-fu/lucha", - "version": "v0.0.0-20210709212051-962480554a8e", - "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210709212051-962480554a8e", + "version": "v0.0.0-20210710150059-73180e8f6d90", + "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710150059-73180e8f6d90", "externalReferences": [ { "url": "https://github.com/devops-kung-fu/lucha", @@ -520,7 +520,7 @@ "ref": "pkg:golang/gopkg.in/yaml.v2@v2.4.0" }, { - "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210709212051-962480554a8e", + "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710150059-73180e8f6d90", "dependsOn": [ "pkg:golang/github.com/briandowns/spinner@v1.16.0", "pkg:golang/github.com/dustin/go-humanize@v1.0.0", From e54ffaa40d6f53e4fe71acb6df5f7f4f63ca0b62 Mon Sep 17 00:00:00 2001 From: DJ Schleen Date: Mon, 12 Jul 2021 08:39:19 -0600 Subject: [PATCH 2/7] Working recursive flag --- .luchaignore | 2 -- cmd/scan.go | 3 +++ lib/filesystem.go | 14 ++++++++++++++ lucha-sbom.json | 12 ++++++------ 4 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.luchaignore b/.luchaignore index 929b91e..3b88c28 100644 --- a/.luchaignore +++ b/.luchaignore @@ -1,8 +1,6 @@ # Test Comment -lib/test.txt lucha-sbom.json lucha.yaml lucha go.sum go.mod -.git \ No newline at end of file diff --git a/cmd/scan.go b/cmd/scan.go index 5ae56ee..1b7f29d 100644 --- a/cmd/scan.go +++ b/cmd/scan.go @@ -13,6 +13,7 @@ import ( ) var ( + includeGit bool recursive bool minSeverity int scanCmd = &cobra.Command{ @@ -38,6 +39,7 @@ var ( } fs.Recursive = recursive + fs.IncludeGit = includeGit err := initScan(fs) @@ -83,6 +85,7 @@ func init() { rootCmd.AddCommand(scanCmd) scanCmd.PersistentFlags().BoolVarP(&recursive, "recursive", "r", false, "If true, lucha will recurse subdirectories") scanCmd.PersistentFlags().IntVar(&minSeverity, "min-severity", 0, "Only report on severities higher than this value") + scanCmd.PersistentFlags().BoolVarP(&includeGit, "git", "g", false, "If true, lucha not ignore the .git directory") } func initScan(fs lib.FileSystem) (err error) { diff --git a/lib/filesystem.go b/lib/filesystem.go index d8dce3c..ff97f25 100644 --- a/lib/filesystem.go +++ b/lib/filesystem.go @@ -21,6 +21,7 @@ type FileSystem struct { fs afero.Fs SearchPath string Recursive bool + IncludeGit bool } //AbsoluteSearchPath returns the the absolute path for the (possibly) relative search path @@ -107,6 +108,16 @@ func matchIgnore(s []string, str string) (matches bool) { return } +func shouldIgnoreDir(fs FileSystem, f os.FileInfo, path string) bool { + if (f.IsDir() && f.Name() == ".git") && !fs.IncludeGit { + return true + } + if (f.IsDir() && !fs.Recursive) && fs.AbsoluteSearchPath() != path { + return true + } + return false +} + //BuildFileList gathers all of the files from the searchpath down the folder tree func BuildFileList(fs FileSystem) (fileList []string, err error) { path, err := filepath.Abs(fs.SearchPath) @@ -115,6 +126,9 @@ func BuildFileList(fs FileSystem) (fileList []string, err error) { } ignores, _ := LoadIgnore(fs) err = fs.Afero().Walk(path, func(path string, f os.FileInfo, err error) error { + if shouldIgnoreDir(fs, f, path) { + return filepath.SkipDir + } if shouldIgnore(path, ignores) { fileList = append(fileList, path) } diff --git a/lucha-sbom.json b/lucha-sbom.json index 18edf30..864b306 100644 --- a/lucha-sbom.json +++ b/lucha-sbom.json @@ -1,10 +1,10 @@ { "bomFormat": "CycloneDX", "specVersion": "1.2", - "serialNumber": "urn:uuid:e98e25c8-d199-442d-b456-167c081eb16a", + "serialNumber": "urn:uuid:4c1933da-469f-4864-8c6a-4dbd336b41a4", "version": 1, "metadata": { - "timestamp": "2021-07-10T15:11:59-06:00", + "timestamp": "2021-07-12T08:39:30-06:00", "tools": [ { "vendor": "CycloneDX", @@ -31,11 +31,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710150059-73180e8f6d90", + "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710151147-59440e7876d4", "type": "application", "name": "github.com/devops-kung-fu/lucha", - "version": "v0.0.0-20210710150059-73180e8f6d90", - "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710150059-73180e8f6d90", + "version": "v0.0.0-20210710151147-59440e7876d4", + "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710151147-59440e7876d4", "externalReferences": [ { "url": "https://github.com/devops-kung-fu/lucha", @@ -520,7 +520,7 @@ "ref": "pkg:golang/gopkg.in/yaml.v2@v2.4.0" }, { - "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710150059-73180e8f6d90", + "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710151147-59440e7876d4", "dependsOn": [ "pkg:golang/github.com/briandowns/spinner@v1.16.0", "pkg:golang/github.com/dustin/go-humanize@v1.0.0", From 65b36398f0dc6fa7ae2c7b60de6cf0e4185faf6e Mon Sep 17 00:00:00 2001 From: DJ Schleen Date: Mon, 12 Jul 2021 08:53:28 -0600 Subject: [PATCH 3/7] adds git flag logic --- .vscode/launch.json | 9 +++++++++ lib/filesystem.go | 4 ++-- lucha-sbom.json | 12 ++++++------ 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 8f8ccf0..c060e61 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,6 +4,7 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + @@ -15,6 +16,14 @@ "program": "${workspaceRoot}/main.go", "args": ["scan", "."] }, + { + "name": "Debug (Don't ignore git)", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceRoot}/main.go", + "args": ["scan", "--git", "."] + }, { "name": "Debug (Recursive)", "type": "go", diff --git a/lib/filesystem.go b/lib/filesystem.go index ff97f25..abb8173 100644 --- a/lib/filesystem.go +++ b/lib/filesystem.go @@ -109,8 +109,8 @@ func matchIgnore(s []string, str string) (matches bool) { } func shouldIgnoreDir(fs FileSystem, f os.FileInfo, path string) bool { - if (f.IsDir() && f.Name() == ".git") && !fs.IncludeGit { - return true + if f.IsDir() && f.Name() == ".git" { + return !fs.IncludeGit } if (f.IsDir() && !fs.Recursive) && fs.AbsoluteSearchPath() != path { return true diff --git a/lucha-sbom.json b/lucha-sbom.json index 864b306..b33d9b0 100644 --- a/lucha-sbom.json +++ b/lucha-sbom.json @@ -1,10 +1,10 @@ { "bomFormat": "CycloneDX", "specVersion": "1.2", - "serialNumber": "urn:uuid:4c1933da-469f-4864-8c6a-4dbd336b41a4", + "serialNumber": "urn:uuid:a0ae8679-6791-4aae-933b-ec7e91bd3442", "version": 1, "metadata": { - "timestamp": "2021-07-12T08:39:30-06:00", + "timestamp": "2021-07-12T08:53:38-06:00", "tools": [ { "vendor": "CycloneDX", @@ -31,11 +31,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710151147-59440e7876d4", + "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712083919-e54ffaa40d6f", "type": "application", "name": "github.com/devops-kung-fu/lucha", - "version": "v0.0.0-20210710151147-59440e7876d4", - "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710151147-59440e7876d4", + "version": "v0.0.0-20210712083919-e54ffaa40d6f", + "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712083919-e54ffaa40d6f", "externalReferences": [ { "url": "https://github.com/devops-kung-fu/lucha", @@ -520,7 +520,7 @@ "ref": "pkg:golang/gopkg.in/yaml.v2@v2.4.0" }, { - "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210710151147-59440e7876d4", + "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712083919-e54ffaa40d6f", "dependsOn": [ "pkg:golang/github.com/briandowns/spinner@v1.16.0", "pkg:golang/github.com/dustin/go-humanize@v1.0.0", From 5baf694e9b43549b029773e3a5ffc3dbe69f7491 Mon Sep 17 00:00:00 2001 From: DJ Schleen Date: Mon, 12 Jul 2021 09:00:24 -0600 Subject: [PATCH 4/7] Updated .lucha ignore --- .luchaignore | 2 +- lucha-sbom.json | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.luchaignore b/.luchaignore index 3b88c28..492cd21 100644 --- a/.luchaignore +++ b/.luchaignore @@ -3,4 +3,4 @@ lucha-sbom.json lucha.yaml lucha go.sum -go.mod +go.mod \ No newline at end of file diff --git a/lucha-sbom.json b/lucha-sbom.json index b33d9b0..c55b857 100644 --- a/lucha-sbom.json +++ b/lucha-sbom.json @@ -1,10 +1,10 @@ { "bomFormat": "CycloneDX", "specVersion": "1.2", - "serialNumber": "urn:uuid:a0ae8679-6791-4aae-933b-ec7e91bd3442", + "serialNumber": "urn:uuid:9b9a3f89-b524-40f0-a2cc-8a7d69a98211", "version": 1, "metadata": { - "timestamp": "2021-07-12T08:53:38-06:00", + "timestamp": "2021-07-12T09:00:33-06:00", "tools": [ { "vendor": "CycloneDX", @@ -31,11 +31,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712083919-e54ffaa40d6f", + "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712085328-65b36398f0dc", "type": "application", "name": "github.com/devops-kung-fu/lucha", - "version": "v0.0.0-20210712083919-e54ffaa40d6f", - "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712083919-e54ffaa40d6f", + "version": "v0.0.0-20210712085328-65b36398f0dc", + "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712085328-65b36398f0dc", "externalReferences": [ { "url": "https://github.com/devops-kung-fu/lucha", @@ -520,7 +520,7 @@ "ref": "pkg:golang/gopkg.in/yaml.v2@v2.4.0" }, { - "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712083919-e54ffaa40d6f", + "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712085328-65b36398f0dc", "dependsOn": [ "pkg:golang/github.com/briandowns/spinner@v1.16.0", "pkg:golang/github.com/dustin/go-humanize@v1.0.0", From 16181f5fb7309c7922e62fff9e309bf70be0d781 Mon Sep 17 00:00:00 2001 From: DJ Schleen Date: Mon, 12 Jul 2021 09:07:07 -0600 Subject: [PATCH 5/7] Adds test case for AbsoluteSearchPath --- lib/filesystem.go | 30 ------------------------------ lib/filesystem_test.go | 8 ++++++++ lucha-sbom.json | 12 ++++++------ 3 files changed, 14 insertions(+), 36 deletions(-) diff --git a/lib/filesystem.go b/lib/filesystem.go index abb8173..7b49f9a 100644 --- a/lib/filesystem.go +++ b/lib/filesystem.go @@ -55,36 +55,6 @@ func isUTF8(fs FileSystem, file afero.File) bool { return true } -// func canIgnore(file os.FileInfo, originalRoot string, path string, recursive bool) bool { -// if !recursive && strings.Count(path, "/") > 1 { -// return true -// } -// for _, ignore := range Ignores { -// name := file.Name() -// if ignore == name { -// return true -// } -// if strings.HasPrefix(path, ignore) { -// return true -// } -// if path != "." { -// pathedIgnore := fmt.Sprintf("%s%s", originalRoot, ignore) -// if strings.HasPrefix(path, pathedIgnore) { -// return true -// } -// if strings.HasSuffix(path, ignore) { -// return true -// } -// } - -// } -// return false -// } - -// func filterFiles(fs FileSystem, fileList []string, ignoreList []string) (filteredList []string) { - -// } - func shouldIgnore(file string, ignoreList []string) (ignore bool) { var absIgnore []string diff --git a/lib/filesystem_test.go b/lib/filesystem_test.go index ff2bdf2..917ce0f 100644 --- a/lib/filesystem_test.go +++ b/lib/filesystem_test.go @@ -82,3 +82,11 @@ func Test_NewOsFs(t *testing.T) { // _, err = f.BuildFileList("...", true) // assert.Error(t, err, "There should be an error because the folder ... shouldn't exist") // } + +func TestFileSystem_AbsoluteSearchPath(t *testing.T) { + fs := FileSystem{ + fs: afero.NewMemMapFs(), + SearchPath: ".", + } + assert.Contains(t, fs.AbsoluteSearchPath(), "/code/lucha/lib") +} diff --git a/lucha-sbom.json b/lucha-sbom.json index c55b857..3154c8b 100644 --- a/lucha-sbom.json +++ b/lucha-sbom.json @@ -1,10 +1,10 @@ { "bomFormat": "CycloneDX", "specVersion": "1.2", - "serialNumber": "urn:uuid:9b9a3f89-b524-40f0-a2cc-8a7d69a98211", + "serialNumber": "urn:uuid:23cebf58-9dff-4a2f-8db8-2790cce074bc", "version": 1, "metadata": { - "timestamp": "2021-07-12T09:00:33-06:00", + "timestamp": "2021-07-12T09:07:17-06:00", "tools": [ { "vendor": "CycloneDX", @@ -31,11 +31,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712085328-65b36398f0dc", + "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090024-5baf694e9b43", "type": "application", "name": "github.com/devops-kung-fu/lucha", - "version": "v0.0.0-20210712085328-65b36398f0dc", - "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712085328-65b36398f0dc", + "version": "v0.0.0-20210712090024-5baf694e9b43", + "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090024-5baf694e9b43", "externalReferences": [ { "url": "https://github.com/devops-kung-fu/lucha", @@ -520,7 +520,7 @@ "ref": "pkg:golang/gopkg.in/yaml.v2@v2.4.0" }, { - "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712085328-65b36398f0dc", + "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090024-5baf694e9b43", "dependsOn": [ "pkg:golang/github.com/briandowns/spinner@v1.16.0", "pkg:golang/github.com/dustin/go-humanize@v1.0.0", From 93af2ed6aa544a07bf70a094d8fe4a56902cccfa Mon Sep 17 00:00:00 2001 From: DJ Schleen Date: Mon, 12 Jul 2021 09:23:26 -0600 Subject: [PATCH 6/7] More test cases --- lib/filesystem_test.go | 19 +++++++++++++++++++ lucha-sbom.json | 12 ++++++------ 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/lib/filesystem_test.go b/lib/filesystem_test.go index 917ce0f..5ee93cf 100644 --- a/lib/filesystem_test.go +++ b/lib/filesystem_test.go @@ -90,3 +90,22 @@ func TestFileSystem_AbsoluteSearchPath(t *testing.T) { } assert.Contains(t, fs.AbsoluteSearchPath(), "/code/lucha/lib") } + +func Test_shouldIgnoreDir(t *testing.T) { + fs := FileSystem{ + fs: afero.NewMemMapFs(), + SearchPath: ".", + } + fs.Afero().Mkdir(".git", 0644) + fi, _ := fs.Afero().ReadDir(fs.SearchPath) + assert.Len(t, fi, 1) + + dir := fi[0] + + shouldIgnore := shouldIgnoreDir(fs, dir, "") + assert.True(t, shouldIgnore) + + fs.IncludeGit = true + shouldIgnore = shouldIgnoreDir(fs, dir, "") + assert.False(t, shouldIgnore) +} diff --git a/lucha-sbom.json b/lucha-sbom.json index 3154c8b..e232073 100644 --- a/lucha-sbom.json +++ b/lucha-sbom.json @@ -1,10 +1,10 @@ { "bomFormat": "CycloneDX", "specVersion": "1.2", - "serialNumber": "urn:uuid:23cebf58-9dff-4a2f-8db8-2790cce074bc", + "serialNumber": "urn:uuid:a0aebdfb-cab4-4781-8cd7-b8ea9443b478", "version": 1, "metadata": { - "timestamp": "2021-07-12T09:07:17-06:00", + "timestamp": "2021-07-12T09:23:36-06:00", "tools": [ { "vendor": "CycloneDX", @@ -31,11 +31,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090024-5baf694e9b43", + "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090707-16181f5fb730", "type": "application", "name": "github.com/devops-kung-fu/lucha", - "version": "v0.0.0-20210712090024-5baf694e9b43", - "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090024-5baf694e9b43", + "version": "v0.0.0-20210712090707-16181f5fb730", + "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090707-16181f5fb730", "externalReferences": [ { "url": "https://github.com/devops-kung-fu/lucha", @@ -520,7 +520,7 @@ "ref": "pkg:golang/gopkg.in/yaml.v2@v2.4.0" }, { - "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090024-5baf694e9b43", + "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090707-16181f5fb730", "dependsOn": [ "pkg:golang/github.com/briandowns/spinner@v1.16.0", "pkg:golang/github.com/dustin/go-humanize@v1.0.0", From ecdd2b168190552e3758080a31207bbae69a5ecf Mon Sep 17 00:00:00 2001 From: DJ Schleen Date: Mon, 12 Jul 2021 12:21:33 -0600 Subject: [PATCH 7/7] Fixes test case for github build --- lib/filesystem_test.go | 2 +- lucha-sbom.json | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/filesystem_test.go b/lib/filesystem_test.go index 5ee93cf..c1d76a9 100644 --- a/lib/filesystem_test.go +++ b/lib/filesystem_test.go @@ -88,7 +88,7 @@ func TestFileSystem_AbsoluteSearchPath(t *testing.T) { fs: afero.NewMemMapFs(), SearchPath: ".", } - assert.Contains(t, fs.AbsoluteSearchPath(), "/code/lucha/lib") + assert.Contains(t, fs.AbsoluteSearchPath(), "/lucha/lib") } func Test_shouldIgnoreDir(t *testing.T) { diff --git a/lucha-sbom.json b/lucha-sbom.json index e232073..88c834b 100644 --- a/lucha-sbom.json +++ b/lucha-sbom.json @@ -1,10 +1,10 @@ { "bomFormat": "CycloneDX", "specVersion": "1.2", - "serialNumber": "urn:uuid:a0aebdfb-cab4-4781-8cd7-b8ea9443b478", + "serialNumber": "urn:uuid:47dac047-42ee-4302-9524-cfdda03d092f", "version": 1, "metadata": { - "timestamp": "2021-07-12T09:23:36-06:00", + "timestamp": "2021-07-12T12:21:46-06:00", "tools": [ { "vendor": "CycloneDX", @@ -31,11 +31,11 @@ } ], "component": { - "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090707-16181f5fb730", + "bom-ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712092326-93af2ed6aa54", "type": "application", "name": "github.com/devops-kung-fu/lucha", - "version": "v0.0.0-20210712090707-16181f5fb730", - "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090707-16181f5fb730", + "version": "v0.0.0-20210712092326-93af2ed6aa54", + "purl": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712092326-93af2ed6aa54", "externalReferences": [ { "url": "https://github.com/devops-kung-fu/lucha", @@ -520,7 +520,7 @@ "ref": "pkg:golang/gopkg.in/yaml.v2@v2.4.0" }, { - "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712090707-16181f5fb730", + "ref": "pkg:golang/github.com/devops-kung-fu/lucha@v0.0.0-20210712092326-93af2ed6aa54", "dependsOn": [ "pkg:golang/github.com/briandowns/spinner@v1.16.0", "pkg:golang/github.com/dustin/go-humanize@v1.0.0",