forked from cloudquery/cloudquery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main'
* upstream/main: (22 commits) fix: Skip reattached provider update checks (cloudquery#801) fix: Add Git Binary To Docker chore(main): Release v0.24.1 (cloudquery#780) fix: Test flakiness (cloudquery#790) feat: Store Policy Output (cloudquery#709) fix: Panic in loadPolicyFromSource (cloudquery#787) fix: Panic in OsFs.downloadFile (cloudquery#789) fix: Error classifier improvements (cloudquery#788) fix: Console log log level (cloudquery#786) refactor: Use pointer for connection receiver (cloudquery#782) fix(deps): Update module github.com/cloudquery/cq-provider-sdk to v0.10.2 (cloudquery#784) refactor: Use copy instead of loop (cloudquery#781) fix: Remove always nil return value (cloudquery#778) test(fetch): Fix assertions to match new test provider (cloudquery#777) test(fetch): Pin test provider version (cloudquery#776) chore(main): Release v0.24.0 (cloudquery#749) fix: Upgrade protocol version to V5 (cloudquery#774) fix: Check policy version on it's core version (cloudquery#773) fix: Policy output file name (cloudquery#770) fix: Policy executor (cloudquery#769) ...
- Loading branch information
Showing
60 changed files
with
1,457 additions
and
1,387 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM alpine:latest | ||
RUN apk --no-cache add git | ||
ENTRYPOINT ["/app/cloudquery"] | ||
WORKDIR /app | ||
COPY cloudquery . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package internal | ||
|
||
// FlattenRow flattens a row map and skips empty columns | ||
func FlattenRow(m map[string]interface{}) map[string]interface{} { | ||
o := make(map[string]interface{}) | ||
for k, v := range m { | ||
switch child := v.(type) { | ||
case map[string]interface{}: | ||
nm := FlattenRow(child) | ||
for nk, nv := range nm { | ||
o[nk] = nv | ||
} | ||
default: | ||
if v == nil { | ||
continue | ||
} | ||
o[k] = v | ||
} | ||
} | ||
return o | ||
} |
Oops, something went wrong.