Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(docs): tencent cloud logo added #6909

Merged
merged 4 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading