cwielenb/CNCF-Dataset huggingface dataset:
Project: Apache Spark (App Definition and Development / Streaming & Messaging)
File: sql-ref-functions-builtin.md

layout: global title: Built-in Functions displayTitle: Built-in Functions license: | Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. {% includeapigen generated-agg-funcs-table.html %} {% includeapigen generated-agg-funcs-examples.html %} {% includeapigen generated-window-funcs-table.html %} {% includeapigen generated-window-funcs-examples.html %} {% includeapigen generated-array-funcs-table.html %} {% includeapigen generated-array-funcs-examples.html %} {% includeapigen generated-collection-funcs-table.html %} {% includeapigen generated-collection-funcs-examples.html %} {% includeapigen generated-struct-funcs-table.html %} {% includeapigen generated-struct-funcs-examples.html %} {% includeapigen generated-map-funcs-table.html %} {% includeapigen generated-map-funcs-examples.html %} {% includeapigen generated-datetime-funcs-table.html %} {% includeapigen generated-datetime-funcs-examples.html %} {% includeapigen generated-math-funcs-table.html %} {% includeapigen generated-math-funcs-examples.html %} {% includeapigen generated-string-funcs-table.html %} {% includeapigen generated-string-funcs-examples.html %} {% includeapigen generated-conditional-funcs-table.html %} {% includeapigen generated-conditional-funcs-examples.html %} {% includeapigen generated-hash-funcs-table.html %} {% includeapigen generated-hash-funcs-examples.html %} {% includeapigen generated-csv-funcs-table.html %} {% includeapigen generated-csv-funcs-examples.html %} {% includeapigen generated-json-funcs-table.html %} {% includeapigen generated-json-funcs-examples.html %} {% includeapigen generated-xml-funcs-table.html %} {% includeapigen generated-xml-funcs-examples.html %} {% includeapigen generated-url-funcs-table.html %} {% includeapigen generated-url-funcs-examples.html %} {% includeapigen generated-bitwise-funcs-table.html %} {% includeapigen generated-bitwise-funcs-examples.html %} {% includeapigen generated-conversion-funcs-table.html %} {% includeapigen generated-conversion-funcs-examples.html %} {% includeapigen generated-predicate-funcs-table.html %} {% includeapigen generated-predicate-funcs-examples.html %} {% includeapigen generated-misc-funcs-table.html %} {% includeapigen generated-misc-funcs-examples.html %} {% includeapigen generated-generator-funcs-table.html %} {% includeapigen generated-generator-funcs-examples.html %}
Project: KICS (Provisioning / Security & Compliance)
File: 73e251f0-363d-4e53-86e2-0a93592437eb.md

title: Audit Log Path Not Set hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 73e251f0-363d-4e53-86e2-0a93592437eb Query name: Audit Log Path Not Set Platform: Kubernetes Severity: <span style="color:#ff7213">Medium</span> Category: Observability URL: When using kube-apiserver command, the 'audit-log-path' flag should be defined<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: [""] restartPolicy: OnFailure ``` ```yaml title="Positive test num. 2 - yaml file" hl_lines="40 27 12 55" apiVersion: serving.knative.dev/v1 kind: Service metadata: name: dummy namespace: knative-sequence spec: template: spec: containers: name: command-demo-container image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0 command: ["kube-apiserver"] args: [] restartPolicy: OnFailure apiVersion: serving.knative.dev/v1 kind: Configuration metadata: name: dummy-config namespace: knative-sequence spec: template: spec: containers: name: command-demo-container image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0 command: ["kube-apiserver"] args: [] restartPolicy: OnFailure apiVersion: serving.knative.dev/v1 kind: Revision metadata: name: dummy-rev namespace: knative-sequence spec: containers: name: command-demo-container image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0 command: ["kube-apiserver"] args: [] restartPolicy: OnFailure apiVersion: sources.knative.dev/v1 kind: ContainerSource metadata: name: dummy-cs namespace: knative-sequence spec: template: spec: containers: name: command-demo-container image: gcr.io/google_containers/kube-apiserver-amd64:v1.6.0 command: ["kube-apiserver"] 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: ["--audit-log-path=path/to/log"] 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","--audit-log-path=path/to/log"] args: [] restartPolicy: OnFailure ```
Project: ArangoDB (App Definition and Development / Database)
File: bad_result_access.md

+++ title = "`badresultaccess`" description = "Exception type publicly inheriting from `std::logic_error` indicating an incorrect observation of value or error occurred." +++ Exception type publicly inheriting from {{% api "std::logicerror" %}} indicating an incorrect observation of value or error occurred by {{% api "basicresult<T, E, NoValuePolicy>" %}}. No member functions are added in addition to `std::logic_error`. Typical `.what()` strings are: `"no value"` `"no error"` Requires: Nothing. Namespace: `BOOSTOUTCOMEV2_NAMESPACE` Header: `<boost/outcome/bad_access.hpp>`
Project: KICS (Provisioning / Security & Compliance)
File: b61cce4b-0cc4-472b-8096-15617a6d769b.md

title: App Service Managed Identity Disabled hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: b61cce4b-0cc4-472b-8096-15617a6d769b Query name: App Service Managed Identity Disabled Platform: Terraform Severity: <span style="color:#edd57e">Low</span> Category: Resource Management URL: Azure App Service should have managed identity enabled<br> ```tf title="Positive test num. 1 - tf file" hl_lines="1" resource "azurermappservice" "positive1" { name = "example-app-service" location = azurermresourcegroup.example.location resourcegroupname = azurermresourcegroup.example.name appserviceplanid = azurermappserviceplan.example.id site_config { dotnetframeworkversion = "v4.0" scm_type = "LocalGit" } app_settings = { "SOME_KEY" = "some-value" } auth_settings = { enabled = true } connection_string { name = "Database" type = "SQLServer" value = "Server=some-server.mydomain.com;Integrated Security=SSPI" } } ``` ```tf title="Negative test num. 1 - tf file" resource "azurermappservice" "negative1" { name = "example-app-service" location = azurermresourcegroup.example.location resourcegroupname = azurermresourcegroup.example.name appserviceplanid = azurermappserviceplan.example.id site_config { dotnetframeworkversion = "v4.0" scm_type = "LocalGit" } app_settings = { "SOME_KEY" = "some-value" } auth_settings = { enabled = true } connection_string { name = "Database" type = "SQLServer" value = "Server=some-server.mydomain.com;Integrated Security=SSPI" } identity { type = "SystemAssigned" } } ```
Project: Numaflow (App Definition and Development / Streaming & Messaging)
File: authorization.md

We utilize a role-based access control (RBAC) model to manage authorization in Numaflow. Along with this we utilize as a library for the implementation of these policies. The following model configuration is given to define the policies. The policy model is defined in the Casbin policy language. ``` [request_definition] r = sub, res, obj, act [policy_definition] p = sub, res, obj, act [role_definition] g = , [policy_effect] e = some(where (p.eft == allow)) [matchers] m = g(r.sub, p.sub) && patternMatch(r.res, p.res) && stringMatch(r.obj, p.obj) && stringMatch(r.act, p.act) ``` The policy model consists of the following sections: request_definition: The request definition section defines the request attributes. In our case, the request attributes are the user, resource, action, and object. policy_definition: The policy definition section defines the policy attributes. In our case, the policy attributes are the user, resource, action, and object. role_definition: The role definition section defines the role attributes. In our case, the role attributes are the user and role. policy_effect: The policy effect defines what action is to be taken on auth, In our case, the policy effect is allow. matchers: The matcher section defines the matching logic which decides whether is a given request matches any policy or not. These matches are done in order of the definition above and shortcircuit at the first failure. There are custom functions like patternMatch and stringMatch. patternMatch: This function is used to match the resource with the policy resource using os path pattern matching along with adding support for wildcards for allowAll. stringMatch: This function is used to match the object and action and uses a simple exact string match. This also supports wildcards for allowAll The policy model for us follows the following structure for all policies defined and any requests made to th UI server: User: The user requesting access to a resource. This could be any identifier, such as a username, email address, or ID. Resource: The namespace in the cluster which is being accessed by the user. This can allow for selective access to namespaces. We have wildcard "\*" to allow access to all namespaces. Object : This could be a specific resource in the namespace, such as a pipeline, isbsvc or any event based resource. We have wildcard "\*" to allow access to all resources. Action: The action being performed on the resource using the API. These follow the standard HTTP verbs, such as GET, POST, PUT, DELETE, etc. We have wildcard "\*" to allow access to all actions. Refer to the to learn more about how to configure authorization policies for Numaflow UI.
Project: Meshery (Provisioning / Automation & Configuration)
File: v0.6.185.md

layout: release date: 2023-11-29 tag: v0.6.185 updated polygons @aabidsofi19 (#9500) update comp generator @MUzairS15 (#9492) Delete binding.rego @MUzairS15 (#9491) [fix]: return error if detected while creating manifests folder @VihasMakwana (#9469) [MeshSync] Fix Sorting MeshSync table @senali-d (#9498) [bug] Resolve connections bug and UI @sudhanshutech (#9488) Docs Meshsync CRD @KiptoonKipkurui (#9463) Remove broken links in project/index.md @dmarcoux (#9499) [Docs] Meshery Operator, MeshSync, Broker Troubleshooting Guide @leecalcote (#9479) Thank you to our contributors for making this release possible: @KiptoonKipkurui, @MUzairS15, @VihasMakwana, @aabidsofi19, @dmarcoux, @leecalcote, @senali-d, @sudhanshutech and @theBeginner86
Project: Apache Hadoop (App Definition and Development / Database)
File: RELEASENOTES.1.2.1.md

<! --> These release notes cover new developer and user-facing incompatibilities, important issues, features, and major improvements. | Major | CapacityScheduler incorrectly utilizes extra-resources of queue for high-memory jobs* Fixed wrong CapacityScheduler resource allocation for high memory consumption jobs | Minor | The eclipse-plugin cannot work in my environment* fixed
Project: KubeDB by AppsCode (App Definition and Development / Database)
File: kubectl-dba_monitor.md

title: Kubectl-Dba Monitor menu: docs_{{ .version }}: identifier: kubectl-dba-monitor name: Kubectl-Dba Monitor parent: reference-cli menuname: docs{{ .version }} sectionmenuid: reference Monitoring related commands for a database All monitoring related commands from AppsCode. ``` kubectl-dba monitor ``` ``` kubectl dba monitor get-alerts [DATABASE] [DATABASE_NAME] -n [NAMESPACE] kubectl dba monitor dashboard [DATABASE] [DASHBOARD_NAME] kubectl dba monitor check-connection [DATABASE] [DATABASE_NAME] -n [NAMESPACE] --prom-svc-name : name of the prometheus service --prom-svc-namespace : namespace of the prometheus service --prom-svc-port : port of the prometheus service ``` ``` -h, --help help for monitor --prom-svc-name string name of the prometheus service --prom-svc-namespace string namespace of the prometheus service --prom-svc-port int port of the prometheus service (default 9090) ``` ``` --as string Username to impersonate for the operation. User could be a regular user or a service account in a namespace. --as-group stringArray Group to impersonate for the operation, this flag can be repeated to specify multiple groups. --as-uid string UID to impersonate for the operation. --cache-dir string Default cache directory (default "/home/runner/.kube/cache") --certificate-authority string Path to a cert file for the certificate authority --client-certificate string Path to a client certificate file for TLS --client-key string Path to a client key file for TLS --cluster string The name of the kubeconfig cluster to use --context string The name of the kubeconfig context to use --default-seccomp-profile-type string Default seccomp profile --disable-compression If true, opt-out of response compression for all requests to the server --insecure-skip-tls-verify If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure --kubeconfig string Path to the kubeconfig file to use for CLI requests. --match-server-version Require server version to match client version -n, --namespace string If present, the namespace scope for this CLI request --password string Password for basic authentication to the API server --request-timeout string The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0") -s, --server string The address and port of the Kubernetes API server --tls-server-name string Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used --token string Bearer token for authentication to the API server --user string The name of the kubeconfig user to use --username string Username for basic authentication to the API server ``` - kubectl plugin for KubeDB - Check connection status of prometheus targets with server - Check availability of a grafana dashboard - Alerts associated with a database
Project: userver (App Definition and Development / Streaming & Messaging)
File: supported_platforms.md

userver framework supports a wide range of platforms, including but not limited to: | | | |--|--| | OS | Ubuntu, Debian, Fedora, Arch, Gentoo, macOS | | Architectures | x86, x86_64, AArch64, Arm | | Compilers | GCC-8 and newer, Clang-10 and newer | | C++ Standards | C++17, C++20, C++23 | | C++ Standard Libraries | libstdc++, libc++ | x86_64 on Ubuntu with clang is additionally tested on multiple hundreds of in-house services with a wide range of sanitizers and static analyzers. Feel free to if your platform is not supported or if you found an issue. The github organization page contains multiple repositories, including: - the C++ Asynchronous Framework. - template of a C++ service that uses userver framework with ready-to-user build, test and CI scripts. - the service to control dynamic configs of the other userver-based services. All the repositories are part of the userver framework, thus they support the same set of architectures, compilers, operating systems and C++ standards. Feel free to ask questions about any parts of the framework at the or Telegram channels. @htmlonly <div class="bottom-nav"> @endhtmlonly @ref scripts/docs/en/userver/framework_comparison.md | @ref scripts/docs/en/userver/tutorial/build.md @htmlonly </div> @endhtmlonly
Project: Distribution (Provisioning / Container Registry)
File: README.md

Introduction The yaml package enables Go programs to comfortably encode and decode YAML values. It was developed within as part of the project, and is based on a pure Go port of the well-known C library to parse and generate YAML data quickly and reliably. Compatibility The yaml package supports most of YAML 1.1 and 1.2, including support for anchors, tags, map merging, etc. Multi-document unmarshalling is not yet implemented, and base-60 floats from YAML 1.1 are purposefully not supported since they're a poor design and are gone in YAML 1.2. Installation and usage The import path for the package is gopkg.in/yaml.v2. To install it, run: go get gopkg.in/yaml.v2 API documentation -- If opened in a browser, the import path itself leads to the API documentation: API stability The package API for yaml v2 will remain stable as described in . License The yaml package is licensed under the Apache License 2.0. Please see the LICENSE file for details. Example ```Go package main import ( "fmt" "log" "gopkg.in/yaml.v2" ) var data = ` a: Easy! b: c: 2 d: [3, 4] ` // Note: struct fields must be public in order for unmarshal to // correctly populate the data. type T struct { A string B struct { RenamedC int `yaml:"c"` D []int `yaml:",flow"` } } func main() { t := T{} err := yaml.Unmarshal([]byte(data), &t) if err != nil { log.Fatalf("error: %v", err) } fmt.Printf(" t:\n%v\n\n", t) d, err := yaml.Marshal(&t) if err != nil { log.Fatalf("error: %v", err) } fmt.Printf(" t dump:\n%s\n\n", string(d)) m := make(map[interface{}]interface{}) err = yaml.Unmarshal([]byte(data), &m) if err != nil { log.Fatalf("error: %v", err) } fmt.Printf(" m:\n%v\n\n", m) d, err = yaml.Marshal(&m) if err != nil { log.Fatalf("error: %v", err) } fmt.Printf(" m dump:\n%s\n\n", string(d)) } ``` This example will generate the following output: ``` t: {Easy! {2 [3 4]}} t dump: a: Easy! b: c: 2 d: [3, 4] m: map[a:Easy! b:map[c:2 d:[3 4]]] m dump: a: Easy! b: c: 2 d: 3 4 ```
Project: ClickHouse (App Definition and Development / Database)
File: v21.5.4.6-prestable.md

sidebar_position: 1 sidebar_label: 2022 Backported in : Fixed a bug in recovery of staled `ReplicatedMergeTree` replica. Some metadata updates could be ignored by staled replica if `ALTER` query was executed during downtime of the replica. (). Backported in : Fix keys metrics accounting for CACHE() dictionary with duplicates in the source (leads to `DictCacheKeysRequestedMiss` overflows). (). Backported in : Fix SIGSEGV for external GROUP BY and overflow row (i.e. queries like `SELECT FROM GROUP BY WITH TOTALS SETTINGS maxbytesbeforeexternalgroupby>0, maxrowstogroupby>0, groupbyoverflowmode='any', totalsmode='beforehaving'`). (). Backported in : Fix crash in MergeJoin, close . ().
Project: Operator Framework (App Definition and Development / Application Definition & Image Build)
File: operator-sdk_olm_install.md

title: "operator-sdk olm install" Install Operator Lifecycle Manager in your cluster ``` operator-sdk olm install [flags] ``` ``` -h, --help help for install --timeout duration time to wait for the command to complete before failing (default 2m0s) --version string version of OLM resources to install (default "latest") ``` ``` --plugins strings plugin keys to be used for this subcommand execution --verbose Enable verbose logging ``` - Manage the Operator Lifecycle Manager installation in your cluster
Project: Meshery (Provisioning / Automation & Configuration)
File: aks-appgw-fe.md

layout: integration title: Azure Application Gateway subtitle: Collaborative and visual infrastructure as code for Azure Application Gateway image: /assets/img/integrations/aks-appgw-fe/icons/color/aks-appgw-fe-color.svg permalink: extensibility/integrations/aks-appgw-fe docURL: https://docs.meshery.io/extensibility/integrations/aks-appgw-fe description: integrations-category: Cloud Native Network integrations-subcategory: Service Proxy registrant: Artifact Hub components: name: azure-assigned-identity colorIcon: assets/img/integrations/aks-appgw-fe/components/azure-assigned-identity/icons/color/azure-assigned-identity-color.svg whiteIcon: assets/img/integrations/aks-appgw-fe/components/azure-assigned-identity/icons/white/azure-assigned-identity-white.svg description: name: azure-identity colorIcon: assets/img/integrations/aks-appgw-fe/components/azure-identity/icons/color/azure-identity-color.svg whiteIcon: assets/img/integrations/aks-appgw-fe/components/azure-identity/icons/white/azure-identity-white.svg description: name: azure-identity-binding colorIcon: assets/img/integrations/aks-appgw-fe/components/azure-identity-binding/icons/color/azure-identity-binding-color.svg whiteIcon: assets/img/integrations/aks-appgw-fe/components/azure-identity-binding/icons/white/azure-identity-binding-white.svg description: name: azure-pod-identity-exception colorIcon: assets/img/integrations/aks-appgw-fe/components/azure-pod-identity-exception/icons/color/azure-pod-identity-exception-color.svg whiteIcon: assets/img/integrations/aks-appgw-fe/components/azure-pod-identity-exception/icons/white/azure-pod-identity-exception-white.svg description: featureList: [ "URL routing and cookie-based affinity ", "Support for public, private, and hybrid web sites and integrated web application firewall", "Secure Sockets Layer (SSL) termination and End-to-end SSL" ] howItWorks: "Collaborative Infrastructure as Code" howItWorksDetails: "Application Gateway Ingress Controller runs in its own pod on the customers AKS. Ingress Controller monitors a subset of Kubernetes resources for changes. The state of the AKS cluster is translated to Application Gateway specific configuration and applied to the Azure Resource Manager. The continuous re-configuration of Application Gateway ensures uninterrupted flow of traffic to AKS services. The diagram below illustrates the flow of state and configuration changes from the Kubernetes API, via Application Gateway Ingress Controller, to Resource Manager and then Application Gateway." language: en list: include type: extensibility category: integrations
Project: YugabyteDB (App Definition and Development / Database)
File: createdb.md

title: CREATEDB linkTitle: CREATEDB description: CREATEDB menu: preview: parent: api-yedis weight: 2032 aliases: /preview/api/yedis/createdb type: docs `CREATEDB` is used to create a new yedis database. All databases other than the default database ("0") need to be created before use. A client can issue the `CREATEDB` command through the redis-cli. This is required before issuing a `SELECT` command to start using the database. Returns a status string, if creating the database was successful. Returns an error message upon error. ```sh $ LISTDB ``` ``` 1) "0" ``` ```sh $ CREATEDB "second" ``` ``` "OK" ``` ```sh $ LISTDB ``` ``` 1) "0" 2) "second" ``` ```sh $ CREATEDB "3.0" ``` ``` "OK" ``` ```sh $ LISTDB ``` ``` 1) "0" 2) "3.0" 3) "second" ```