cwielenb/CNCF-Dataset huggingface dataset:
Project: ScalarDB (App Definition and Development / Database)
File: feature_request.md

name: Feature request about: Suggest an idea for this project title: '' labels: '' assignees: '' Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Describe the solution you'd like A clear and concise description of what you want to happen. Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. Additional context Add any other context or screenshots about the feature request here.
Project: KICS (Provisioning / Security & Compliance)
File: b14d1bc4-a208-45db-92f0-e21f8e2588e9.md

title: Memory Limits Not Defined hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: b14d1bc4-a208-45db-92f0-e21f8e2588e9 Query name: Memory Limits Not Defined Platform: Kubernetes Severity: <span style="color:#ff7213">Medium</span> Category: Resource Management URL: Memory limits should be defined for each container. This prevents potential resource exhaustion by ensuring that containers consume not more than the designated amount of memory<br> ```yaml title="Positive test num. 1 - yaml file" hl_lines="8 57 38 23" apiVersion: v1 kind: Pod metadata: name: memory-demo-1 namespace: mem-example spec: containers: name: memory-demo-ctr image: polinux/stress resources: requests: cpu: "0.5" command: ["stress"] args: ["--vm", "1", "--vm-bytes", "150M", "--vm-hang", "1"] apiVersion: v1 kind: Pod metadata: name: memory-demo-2 namespace: mem-example spec: containers: name: memory-demo-ctr image: polinux/stress resources: requests: cpu: "0.5" command: ["stress"] args: ["--vm", "1", "--vm-bytes", "150M", "--vm-hang", "1"] apiVersion: v1 kind: Pod metadata: name: memory-demo-3 namespace: mem-example spec: containers: name: memory-demo-ctr image: polinux/stress command: ["stress"] args: ["--vm", "1", "--vm-bytes", "150M", "--vm-hang", "1"] apiVersion: v1 kind: Pod metadata: name: memory-demo-4 namespace: mem-example spec: securityContext: runAsUser: 1000 runAsGroup: 3000 fsGroup: 2000 volumes: name: sec-ctx-vol emptyDir: { } containers: name: memory-demo-ctr image: polinux/stress command: ["stress"] ``` ```yaml title="Positive test num. 2 - yaml file" hl_lines="21" apiVersion: apps/v1 kind: Deployment metadata: name: test-deployment labels: app: test spec: replicas: 3 selector: matchLabels: app: test template: metadata: labels: app: test spec: containers: name: pause image: k8s.gcr.io/pause resources: limits: cpu: 1 requests: cpu: 0.5 memory: 512Mi ``` ```yaml title="Negative test num. 1 - yaml file" apiVersion: v1 kind: Pod metadata: name: memory-demo-negative namespace: mem-example spec: containers: name: memory-demo-ctr image: polinux/stress resources: limits: memory: "200Mi" requests: memory: "100Mi" command: ["stress"] args: ["--vm", "1", "--vm-bytes", "150M", "--vm-hang", "1"] ``` ```yaml title="Negative test num. 2 - yaml file" apiVersion: apps/v1 kind: Deployment metadata: name: test-deployment-neg labels: app: test-neg spec: replicas: 3 selector: matchLabels: app: test-neg template: metadata: labels: app: test-neg spec: containers: name: pause image: k8s.gcr.io/pause resources: limits: cpu: 0.5 memory: 512Mi requests: cpu: 0.5 memory: 512Mi ```
Project: StarRocks (App Definition and Development / Database)
File: positive.md

displayed_sidebar: "English" Returns `x` as a value. ```Haskell POSITIVE(x); ``` `x`: supports the BIGINT, DOUBLE, DECIMALV2, DECIMAL32, DECIMAL64, and DECIMAL128 data types. Returns a value whose data type is the same as the data type of the `x` value. ```Plain mysql> select positive(3); +-+ | positive(3) | +-+ | 3 | +-+ 1 row in set (0.01 sec) mysql> select positive(cast(3.14 as decimalv2)); +--+ | positive(CAST(3.14 AS DECIMAL(9,0))) | +--+ | 3.14 | +--+ 1 row in set (0.01 sec) ```
Project: Koperator (App Definition and Development / Streaming & Messaging)
File: ADOPTERS.md

This is a list of production adopters of Banzai Cloud's Kafka Operator (in alphabetical order): Adobe Experience Platform is using the Kafka Operator to enable consistent deployment, dynamic scaling, smooth upgrades and auto-balancing in our cross-cloud Kafka infrastructure. Adobe is also contributing to the open source version of the operator. is using the Kafka Operator to provision, configure and manage a secure, resilient and autoscaling production ready Apache Kafka for customers. AffirmedNetworks is looking to use Kafka Operator to provision, configure and manage life cycle of production ready Apache Kafka. One of the use cases we are looking at, is to use Kafka to manage Event Data/Detail Record that gets generated in our applications.
Project: YugabyteDB (App Definition and Development / Database)
File: create_table_as.diagram.md

<svg class="rrdiagram" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" width="387" height="195" viewbox="0 0 387 195"><path class="connector" d="M0 22h15m67 0h10m58 0h30m32 0h10m45 0h10m64 0h20m-196 0q5 0 5 5v8q0 5 5 5h171q5 0 5-5v-8q0-5 5-5m5 0h7m2 0h2m2 0h2m-376 80h2m2 0h2m2 0h7m91 0h30m25 0h30m-5 0q-5 0-5-5v-20q0-5 5-5h46m24 0h46q5 0 5 5v20q0 5-5 5m-5 0h30m25 0h20m-251 0q5 0 5 5v8q0 5 5 5h226q5 0 5-5v-8q0-5 5-5m5 0h7m2 0h2m2 0h2m-387 50h2m2 0h2m2 0h7m36 0h10m54 0h30m53 0h30m38 0h20m-73 0q5 0 5 5v8q0 5 5 5h48q5 0 5-5v-8q0-5 5-5m5 0h10m52 0h20m-238 0q5 0 5 5v23q0 5 5 5h213q5 0 5-5v-23q0-5 5-5m5 0h15"/><polygon points="0,29 5,22 0,15" style="fill:black;stroke-width:0"/><rect class="literal" x="15" y="5" width="67" height="25" rx="7"/><text class="text" x="25" y="22">CREATE</text><rect class="literal" x="92" y="5" width="58" height="25" rx="7"/><text class="text" x="102" y="22">TABLE</text><rect class="literal" x="180" y="5" width="32" height="25" rx="7"/><text class="text" x="190" y="22">IF</text><rect class="literal" x="222" y="5" width="45" height="25" rx="7"/><text class="text" x="232" y="22">NOT</text><rect class="literal" x="277" y="5" width="64" height="25" rx="7"/><text class="text" x="287" y="22">EXISTS</text><a xlink:href="../../../syntaxresources/grammardiagrams#table-name"><rect class="rule" x="15" y="85" width="91" height="25"/><text class="text" x="25" y="102">tablename</text></a><rect class="literal" x="136" y="85" width="25" height="25" rx="7"/><text class="text" x="146" y="102">(</text><rect class="literal" x="232" y="55" width="24" height="25" rx="7"/><text class="text" x="242" y="72">,</text><a xlink:href="../../../syntaxresources/grammardiagrams#column-name"><rect class="rule" x="191" y="85" width="106" height="25"/><text class="text" x="201" y="102">columnname</text></a><rect class="literal" x="327" y="85" width="25" height="25" rx="7"/><text class="text" x="337" y="102">)</text><rect class="literal" x="15" y="135" width="36" height="25" rx="7"/><text class="text" x="25" y="152">AS</text><a xlink:href="../../../syntaxresources/grammardiagrams#query"><rect class="rule" x="61" y="135" width="54" height="25"/><text class="text" x="71" y="152">query</text></a><rect class="literal" x="145" y="135" width="53" height="25" rx="7"/><text class="text" x="155" y="152">WITH</text><rect class="literal" x="228" y="135" width="38" height="25" rx="7"/><text class="text" x="238" y="152">NO</text><rect class="literal" x="296" y="135" width="52" height="25" rx="7"/><text class="text" x="306" y="152">DATA</text><polygon points="379,159 383,159 383,145 379,145" style="fill:black;stroke-width:0"/></svg>
Project: Operator Framework (App Definition and Development / Application Definition & Image Build)
File: operator-sdk_olm.md

title: "operator-sdk olm" Manage the Operator Lifecycle Manager installation in your cluster ``` -h, --help help for olm ``` ``` --plugins strings plugin keys to be used for this subcommand execution --verbose Enable verbose logging ``` - - Install Operator Lifecycle Manager in your cluster - Get the status of the Operator Lifecycle Manager installation in your cluster - Uninstall Operator Lifecycle Manager from your cluster
Project: KICS (Provisioning / Security & Compliance)
File: 4d46ff3b-7160-41d1-a310-71d6d370b08f.md

title: ECS Task Definition Volume Not Encrypted hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 4d46ff3b-7160-41d1-a310-71d6d370b08f Query name: ECS Task Definition Volume Not Encrypted Platform: Terraform Severity: <span style="color:#bb2124">High</span> Category: Encryption URL: AWS ECS Task Definition EFS data in transit between AWS ECS host and AWS EFS server should be encrypted<br> ```tf title="Positive test num. 1 - tf file" hl_lines="11" resource "awsecstask_definition" "service" { family = "service" container_definitions = file("task-definitions/service.json") volume { name = "service-storage" efsvolumeconfiguration { filesystemid = awsefsfile_system.fs.id root_directory = "/opt/data" transit_encryption = "DISABLED" transitencryptionport = 2999 authorization_config { accesspointid = awsefsaccess_point.test.id iam = "ENABLED" } } } } ``` ```tf title="Positive test num. 2 - tf file" hl_lines="8" resource "awsecstaskdefinition" "service2" { family = "service" container_definitions = file("task-definitions/service.json") volume { name = "service-storage" efsvolumeconfiguration { filesystemid = awsefsfile_system.fs.id root_directory = "/opt/data" transitencryptionport = 2999 authorization_config { accesspointid = awsefsaccess_point.test.id iam = "ENABLED" } } } } ``` ```tf title="Positive test num. 3 - tf file" hl_lines="5" resource "awsecstaskdefinition" "service2" { family = "service" container_definitions = file("task-definitions/service.json") volume { name = "service-storage" } } ``` ```tf title="Negative test num. 1 - tf file" resource "awsecstask_definition" "service" { family = "service" container_definitions = file("task-definitions/service.json") volume { name = "service-storage" efsvolumeconfiguration { filesystemid = awsefsfile_system.fs.id root_directory = "/opt/data" transit_encryption = "ENABLED" transitencryptionport = 2999 authorization_config { accesspointid = awsefsaccess_point.test.id iam = "ENABLED" } } } } ```
Project: KICS (Provisioning / Security & Compliance)
File: 9587c890-0524-40c2-9ce2-663af7c2f063.md

title: Service Account Admission Control Plugin Disabled hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 9587c890-0524-40c2-9ce2-663af7c2f063 Query name: Service Account Admission Control Plugin Disabled Platform: Kubernetes Severity: <span style="color:#ff7213">Medium</span> Category: Access Control URL: When using kube-apiserver command, the '--disable-admission-plugins' flag should not have 'ServiceAccount' plugin<br> ```yaml title="Positive test num. 1 - yaml file" hl_lines="11" apiVersion: v1 kind: Pod metadata: name: command-demo labels: purpose: demonstrate-command spec: containers: name: command-demo-container image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0 command: ["kube-apiserver"] args: ["--disable-admission-plugins=ServiceAccount"] restartPolicy: OnFailure ``` ```yaml title="Positive test num. 2 - yaml file" hl_lines="11" apiVersion: v1 kind: Pod metadata: name: command-demo labels: purpose: demonstrate-command spec: containers: name: command-demo-container image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0 command: ["kube-apiserver","--disable-admission-plugins=ServiceAccount"] args: [] restartPolicy: OnFailure ``` ```yaml title="Negative test num. 1 - yaml file" apiVersion: v1 kind: Pod metadata: name: command-demo labels: purpose: demonstrate-command spec: containers: name: command-demo-container image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0 command: ["kube-apiserver"] args: ["--enable-admission-plugins=ServiceAccount", "--admission-control-config-file=path/to/plugin/config/file.yaml"] restartPolicy: OnFailure ``` ```yaml title="Negative test num. 2 - yaml file" apiVersion: v1 kind: Pod metadata: name: command-demo labels: purpose: demonstrate-command spec: containers: name: command-demo-container image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0 command: ["kube-apiserver"] args: [] restartPolicy: OnFailure ```
Project: ShardingSphere (App Definition and Development / Database)
File: set-dist-vairable.en.md

+++ title = "SET DIST VARIABLE" weight = 7 +++ The `SET DIST VARIABLE` syntax is used to set system variables. {{< tabs >}} {{% tab name="Grammar" %}} ```sql SetDistVariable ::= 'SET' 'DIST' 'VARIABLE' (proxyPropertyName '=' proxyPropertyValue | 'agentpluginsenabled' '=' agentPluginsEnabled) proxyPropertyName ::= identifier proxyPropertyValue ::= literal agentPluginsEnabled ::= boolean ``` {{% /tab %}} {{% tab name="Railroad diagram" %}} <iframe frameborder="0" name="diagram" id="diagram" width="100%" height="100%"></iframe> {{% /tab %}} {{< /tabs >}} `proxypropertyname` is one of of `PROXY`, name is split by underscore `agentpluginsenabled` is use to set the `agent` plugins enable status, the default value is `FALSE` `systemloglevel` is the system log level, only affects the log printing of `PROXY`, the default value is `INFO` Set property configuration of `Proxy` ```sql SET DIST VARIABLE sql_show = true; ``` Set `agent` plugin enable status ```sql SET DIST VARIABLE agentpluginsenabled = TRUE; ``` `SET`, `DIST`, `VARIABLE`
Project: KICS (Provisioning / Security & Compliance)
File: 1b6322d9-c755-4f8c-b804-32c19250f2d9.md

title: Config Rule For Encrypted Volumes Disabled hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 1b6322d9-c755-4f8c-b804-32c19250f2d9 Query name: Config Rule For Encrypted Volumes Disabled Platform: CloudFormation Severity: <span style="color:#bb2124">High</span> Category: Encryption URL: Check if AWS config rules do not identify Encrypted Volumes as a source.<br> ```yaml title="Positive test num. 1 - yaml file" hl_lines="2" Resources: ConfigRule: Type: AWS::Config::ConfigRule Properties: ConfigRuleName: access-keys-rotated InputParameters: maxAccessKeyAge: 100 Source: Owner: AWS SourceIdentifier: ACCESSKEYSROTATED MaximumExecutionFrequency: TwentyFour_Hours ``` ```json title="Positive test num. 2 - json file" hl_lines="3" { "Resources": { "ConfigRule": { "Type": "AWS::Config::ConfigRule", "Properties": { "ConfigRuleName": "access-keys-rotated", "InputParameters": { "maxAccessKeyAge": 100 }, "Source": { "Owner": "AWS", "SourceIdentifier": "ACCESSKEYSROTATED" }, "MaximumExecutionFrequency": "TwentyFour_Hours" } } } } ``` ```yaml title="Negative test num. 1 - yaml file" Resources: ConfigRule: Type: AWS::Config::ConfigRule Properties: ConfigRuleName: access-keys-rotated InputParameters: maxAccessKeyAge: 90 Source: Owner: AWS SourceIdentifier: ENCRYPTED_VOLUMES MaximumExecutionFrequency: TwentyFour_Hours ``` ```json title="Negative test num. 2 - json file" { "Resources": { "ConfigRule": { "Type": "AWS::Config::ConfigRule", "Properties": { "MaximumExecutionFrequency": "TwentyFour_Hours", "ConfigRuleName": "access-keys-rotated", "InputParameters": { "maxAccessKeyAge": 90 }, "Source": { "SourceIdentifier": "ENCRYPTED_VOLUMES", "Owner": "AWS" } } } } } ```
Project: YDB (App Definition and Development / Database)
File: digest.md

A set of commonly used hash functions. List of functions ```Digest::Crc32c(String{Flags::AutoMap}) -> Uint32``` ```Digest::Fnv32(String{Flags::AutoMap}) -> Uint32``` ```Digest::Fnv64(String{Flags::AutoMap}) -> Uint64``` ```Digest::MurMurHash(String{Flags:AutoMap}) -> Uint64``` ```Digest::MurMurHash32(String{Flags:AutoMap}) -> Uint32``` ```Digest::MurMurHash2A(String{Flags:AutoMap}) -> Uint64``` ```Digest::MurMurHash2A32(String{Flags:AutoMap}) -> Uint32``` ```Digest::CityHash(String{Flags:AutoMap}) -> Uint64``` ```Digest::CityHash128(String{Flags:AutoMap}) -> Tuple<Uint64,Uint64>``` ```Digest::NumericHash(Uint64{Flags:AutoMap}) -> Uint64``` ```Digest::Md5Hex(String{Flags:AutoMap}) -> String``` ```Digest::Md5Raw(String{Flags:AutoMap}) -> String``` ```Digest::Md5HalfMix(String{Flags:AutoMap}) -> Uint64```: MD5 coarsening option (yabs_md5) ```Digest::Argon2(String{Flags:AutoMap},String{Flags:AutoMap}) -> String```: The second argument is the salt ```Digest::Blake2B(String{Flags:AutoMap},[String?]) -> String```: The second optional argument is the key ```Digest::SipHash(Uint64,Uint64,String{Flags:AutoMap}) -> Uint64``` ```Digest::HighwayHash(Uint64,Uint64,Uint64,Uint64,String{Flags:AutoMap}) -> Uint64``` ```Digest::FarmHashFingerprint(Uint64{Flags:AutoMap}) -> Uint64``` ```Digest::FarmHashFingerprint2(Uint64{Flags:AutoMap}, Uint64{Flags:AutoMap}) -> Uint64``` ```Digest::FarmHashFingerprint32(String{Flags:AutoMap}) -> Uint32``` ```Digest::FarmHashFingerprint64(String{Flags:AutoMap}) -> Uint64``` ```Digest::FarmHashFingerprint128(String{Flags:AutoMap}) -> Tuple<Uint64,Uint64>``` ```Digest::SuperFastHash(String{Flags:AutoMap}) -> Uint32``` ```Digest::Sha1(String{Flags:AutoMap}) -> String``` ```Digest::Sha256(String{Flags:AutoMap}) -> String``` ```Digest::IntHash64(Uint64{Flags:AutoMap}) -> Uint64``` ```Digest::XXH3(String{Flags:AutoMap}) -> Uint64``` ```Digest::XXH3_128(String{Flags:AutoMap}) -> Tuple<Uint64,Uint64>``` Examples ```sql SELECT Digest::Md5Hex("YQL"); -- "1a0c1b56e9d617688ee345da4030da3c" SELECT Digest::NumericHash(123456789); -- 1734215268924325803 ```
Project: Meshery (Provisioning / Automation & Configuration)
File: mesheryctl-system-reset.md

layout: default title: mesheryctl-system-reset permalink: reference/mesheryctl/system/reset redirect_from: reference/mesheryctl/system/reset/ type: reference display-title: "false" language: en command: system subcommand: reset Reset Meshery's configuration Reset Meshery to it's default configuration. <pre class='codeblock-pre'> <div class='codeblock'> mesheryctl system reset [flags] </div> </pre> Resets meshery.yaml file with a copy from Meshery repo <pre class='codeblock-pre'> <div class='codeblock'> mesheryctl system reset </div> </pre> <pre class='codeblock-pre'> <div class='codeblock'> -h, --help help for reset </div> </pre> <pre class='codeblock-pre'> <div class='codeblock'> --config string path to config file (default "/home/runner/.meshery/config.yaml") -c, --context string (optional) temporarily change the current context. -v, --verbose verbose output -y, --yes (optional) assume yes for user interactive prompts. </div> </pre> Usage of mesheryctl system reset Go back to , if you want to add content manually to the CLI documentation, please refer to the for guidance.
Project: Open Application Model (App Definition and Development / Application Definition & Image Build)
File: SPEC_DRAFT.md

This is Open Application Model draft proposal version v0.3.1. Learn more about versioning . system to replace Application Scope. system to model modern deployment procedure (blue-green deployment, traffic splitting, multi-cloud rollout etc). For the model objects, Open Application Model adopts . Releases of the model are versioned according to and described in . Implementations of the model are required to specify which version they implement. Changes to the API objects in this model follows and defined in Kubernetes API resource convention. It doesn't couple with release version of the model. Changes to the change process (e.g. governance model, review/approve process etc) itself are not currently versioned but may be independently versioned in the future.
Project: KubeDB by AppsCode (App Definition and Development / Database)
File: CONTRIBUTING.md

title: Contributing | KubeDB description: Contributing menu: docs_{{ .version }}: identifier: contributing-cli name: Contributing parent: welcome weight: 10 menuname: docs{{ .version }} sectionmenuid: welcome url: /docs/{{ .version }}/welcome/contributing/ aliases: /docs/{{ .version }}/CONTRIBUTING/ Want to contribute to KubeDB? To speak with us, please leave a message on . To receive product announcements, follow us on . If you have found a bug with KubeDB or want to request for new features, please . If you have written blog post or tutorial on KubeDB, please share it with us on .
Project: Chef InSpec (Provisioning / Security & Compliance)
File: azurerm_monitor_activity_log_alerts.md

+++ title = "azurermmonitoractivitylogalerts resource" draft = false gh_repo = "inspec" platform = "azure" [menu] [menu.inspec] title = "azurermmonitoractivitylogalerts" identifier = "inspec/resources/azure/azurermmonitoractivitylogalerts.md azurermmonitoractivitylogalerts resource" parent = "inspec/resources/azure" +++ {{< inspec/azurermdeprecated resource="azuremonitoractivitylog_alerts" >}} Use the `azurermmonitoractivitylogalerts` InSpec audit resource to verify that an Activity Log Alert exists. This resource interacts with version `2017-04-01` of the Azure Management API. For more information see the . At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official documentation please open an issue or submit a pull request using the updated version. This resource is available in the `inspec-azure` [resource pack](/inspec/glossary/#resource-pack). To use it, add the following to your `inspec.yml` in your top-level profile: depends: name: inspec-azure git: https://github.com/inspec/inspec-azure.git You'll also need to setup your Azure credentials; see the resource pack . An `azurermmonitoractivitylogalerts` resource block identifies Activity Log Alerts by name. describe azurermmonitoractivitylogalerts do ... end describe azurermmonitoractivitylogalerts do its('names') { should include('ExampleLogAlert') } end `names` The name of the Activity Log Alert its('names') { should include('ExampleLogAlert') } {{< readfile file="content/inspec/reusable/md/inspecmatcherslink.md" >}} This resource has the following special matchers. The control will pass if the resource returns a result. Use `should_not` if you expect zero matches. describe azurermmonitoractivitylogalerts do it { should exist } end describe azurermmonitoractivitylogalerts do it { should_not exist } end Your [Service Principal](https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-create-service-principal-portal) must be setup with a `contributor` role on the subscription you wish to test.
Project: CloudEvents (App Definition and Development / Streaming & Messaging)
File: translations.md

| Documents | Status | Last edited | Version | | : | :: | : | :: | | /subscriptions/README.md | PR reviewing | 2022-03-26T14:27:24.917Z | - | | /subscriptions/RELEASE_NOTES.md | PR reviewing | 2022-03-26T14:27:36.671Z | - | | /subscriptions/spec.md | Ready to start | | |