Skip to content

Commit

Permalink
Merge pull request #6909 from Checkmarx/add-tencentcloud-logo
Browse files Browse the repository at this point in the history
update(docs): tencent cloud logo added
  • Loading branch information
gabriel-cx committed Feb 28, 2024
2 parents e09d3d2 + d3fca3d commit 2a19903
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ Find security vulnerabilities, compliance issues, and infrastructure misconfigur
#### Beta Features
<img alt="Databricks" src="docs/img/logo-databricks.png" width="200">&nbsp;&nbsp;&nbsp;
<img alt="NIFCloud" src="docs/img/logo-nifcloud.png" width="110">&nbsp;&nbsp;&nbsp;
<img alt="TencentCloud" src="docs/img/logo-tencentcloud.png" width="180">&nbsp;&nbsp;&nbsp;

In order to run the Databricks and NIFCloud queries, use the `--experimental-queries` flag when running KICS.
In order to run the Databricks, NIFCloud and TencentCloud queries, use the `--experimental-queries` flag when running KICS.

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Use "kics [command] --help" for more information about a command.
| Flags | Description |
|-----------------------------|-------------------------------------------------------------------------------------|
|-m, --bom |include bill of materials (BoM) in results output|
| --cloud-provider strings | list of cloud providers to scan (alicloud, aws, azure, gcp)|
| --cloud-provider strings | list of cloud providers to scan (alicloud, aws, azure, gcp, nifcloud, tencentcloud)|
| --config string | path to configuration file|
| --disable-full-descriptions | disable request for full descriptions and use default vulnerability descriptions|
| --disable-secrets | disable secrets scanning|
Expand Down
Binary file added docs/img/logo-tencentcloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,12 @@ KICS scans and detects issues in following Infrastructure as Code solutions:
<div class="card" style="min-width:80;flex:0 0 25%;display:flex;align-items:center;justify-content:center;margin:8px">
<img alt="NIFCloud" src="img/logo-nifcloud.png" width="70">&nbsp;&nbsp;&nbsp;
</div>
<div class="card" style="min-width:80;flex:0 0 25%;display:flex;align-items:center;justify-content:center;margin:8px">
<img alt="TencentCloud" src="img/logo-tencentcloud.png" width="120">&nbsp;&nbsp;&nbsp;
</div>
</div>

In order to run the Databricks and NIFCloud queries, use the `--experimental-queries` flag when running KICS.
In order to run the Databricks, NIFCloud and TencentCloud queries, use the `--experimental-queries` flag when running KICS.

## Getting Started

Expand Down
2 changes: 1 addition & 1 deletion e2e/fixtures/assets/scan_help
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Usage:

Flags:
-m, --bom include bill of materials (BoM) in results output
--cloud-provider strings list of cloud providers to scan (alicloud, aws, azure, gcp, nifcloud)
--cloud-provider strings list of cloud providers to scan (alicloud, aws, azure, gcp, nifcloud, tencentcloud)
--config string path to configuration file
--disable-full-descriptions disable request for full descriptions and use default vulnerability descriptions
--disable-secrets disable secrets scanning
Expand Down
11 changes: 6 additions & 5 deletions internal/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,12 @@ var (

// AvailableCloudProviders - All cloud providers available
AvailableCloudProviders = map[string]string{
"alicloud": "",
"aws": "",
"azure": "",
"gcp": "",
"nifcloud": "",
"alicloud": "",
"aws": "",
"azure": "",
"gcp": "",
"nifcloud": "",
"tencentcloud": "",
}
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/source/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func ListSupportedPlatforms() []string {

// ListSupportedCloudProviders returns a list of supported cloud providers
func ListSupportedCloudProviders() []string {
return []string{"alicloud", "aws", "azure", "gcp", "nifcloud"}
return []string{"alicloud", "aws", "azure", "gcp", "nifcloud", "tencentcloud"}
}

func getLibraryInDir(platform, libraryDirPath string) string {
Expand Down
2 changes: 1 addition & 1 deletion pkg/engine/source/filesystem_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ func TestSource_validateMetadata(t *testing.T) {

// TestSource_ListSupportedCloudProviders tests the function ListSupportedCloudProviders.
func TestSource_ListSupportedCloudProviders(t *testing.T) {
want := []string{"alicloud", "aws", "azure", "gcp", "nifcloud"}
want := []string{"alicloud", "aws", "azure", "gcp", "nifcloud", "tencentcloud"}
t.Run("test List Supported CP", func(t *testing.T) {
got := ListSupportedCloudProviders()
require.Equal(t, want, got)
Expand Down

0 comments on commit 2a19903

Please sign in to comment.