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

title: KEYS linkTitle: KEYS description: KEYS menu: preview: parent: api-yedis weight: 2217 aliases: /preview/api/redis/keys /preview/api/yedis/keys type: docs `KEYS pattern` Returns all keys matching pattern. An error is thrown if over 10,000 keys are in the db to protect against an out of memory state, although this limit can be changed. Supported patterns: ?oo matches foo, boo, zoo, ... \*oo matches oo, foo, fllllloo, ... [fb]oo matches foo and boo. [^f]oo matches boo, zoo, ... but not foo. [f-g]oo matches foo and goo. Use \\ to escape special characters if you want to match them verbatim. String array with the list of matching keys, error if there are over 10,000 keys. There is no ordering invariant on the returned keys. ```sh $ ZADD z_key 1.0 v1 ``` ``` (integer) 1 ``` ```sh $ SADD key val ``` ``` (integer) 1 ``` Get all keys in the db. ```sh $ KEYS * ``` ``` 1) "key" 2) "z_key" ``` Get keys matching a specific pattern. ```sh $ KEYS ?ey ``` ``` 1) "key" ```
Project: ClickHouse (App Definition and Development / Database)
File: v20.12.6.29-stable.md

Backported in : Background thread which executes `ON CLUSTER` queries might hang waiting for dropped replicated table to do something. It's fixed. (). Backported in : Fix a bug that moving pieces to destination table may failed in case of launching multiple clickhouse-copiers. (). Backported in : Fix starting the server with tables having default expressions containing dictGet(). Allow getting return type of dictGet() without loading dictionary. (). Backported in : Bugfix in StorageJoin. (). Backported in : The `MongoDB` table engine now establishes connection only when it's going to read data. `ATTACH TABLE` won't try to connect anymore. (). Backported in : Fix rare server crash on config reload during the shutdown. Fixes . (). Backported in : Restrict to `DROP` or `RENAME` version column of `CollapsingMergeTree` and `ReplacingMergeTree` table engines. (). Backported in : Fix too often retries of failed background tasks for `ReplicatedMergeTree` table engines family. This could lead to too verbose logging and increased CPU load. Fixes . (). Backported in : Fix null dereference with `joinusenulls=1`. (). Backported in : Avoid invalid dereference in RANGE_HASHED() dictionary. (). NO CL ENTRY: 'Revert "Backport to 20.12: Fix access control manager destruction order"'. ().
Project: Shifu (Provisioning / Automation & Configuration)
File: CHANGELOG-v0.29.0.md

fix pipeline mssql by @Yunxe in https://github.com/Edgenesis/shifu/pull/718 Update CODEOWNERS by @tomqin93 in https://github.com/Edgenesis/shifu/pull/723 Bump golang.org/x/net from 0.14.0 to 0.17.0 by @dependabot in https://github.com/Edgenesis/shifu/pull/724 Bump github.com/microsoft/go-mssqldb from 1.5.0 to 1.6.0 by @dependabot in https://github.com/Edgenesis/shifu/pull/699 Full Changelog: https://github.com/Edgenesis/shifu/compare/v0.28.0...v0.29.0
Project: Beam (App Definition and Development / Streaming & Messaging)
File: orange.md

title: "Orange" icon: /images/logos/powered-by/orange.png hasNav: true hasLink: "https://www.youtube.com/watch?v=BVPo0OH-H1g&list=PL4dEBWmGSIU9OkXQU2OAXmITPLhiMSPRp&index=29" <!-- Licensed 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. -->
Project: Monokle (App Definition and Development / Application Definition & Image Build)
File: telemetry.md

To improve the end-user experience, Monokle Desktop collects telemetry data. Participation in this program is optional, and you may if you'd prefer not to share any information. The data collected is always anonymous, not traceable to the source, and only used in aggregate form. You can learn more about how we treat your data by reading our . Statistics tracked include: The number of downloads. Error reports - Information about unexpected, often problematic issues, which allows us to fix them. Usage Data - How features are used in Monokle Desktop, which helps us to define next steps and prioritise features. To opt out of the Monokle Desktop analytics collection: Click on the blue gear icon at the top right of the Monokle Desktop screen: `Open Settings`. Click on `Global Setttings`. Go to `Telemetry` section and uncheck the boxes of the type of event(s) you'd like to opt-out. To check the current collection status: Click on the blue gear icon: `Open Settings`. Click on `Global Setttings`. Go to `Telemetry` section and verify the state of the checkboxes.
Project: Trivy (Provisioning / Security & Compliance)
File: golang.md

The data sources are listed . Trivy uses Go Vulnerability Database for standard packages, such as `net/http`, and uses GitHub Advisory Database for third-party packages. Trivy supports two types of Go scanning, Go Modules and binaries built by Go. The following scanners are supported. | Artifact | SBOM | Vulnerability | License | | -- | :: | :--: | :--: | | Modules | | | [^2] | | Binaries | | | - | The table below provides an outline of the features Trivy offers. | Artifact | Offline | Stdlib | |-|:--:|:--|::|::| | Modules | | Include | [^2] | - | | Binaries | | Exclude | - | [^4] | !!! note Trivy scans only dependencies of the Go project. Let's say you scan the Docker binary, Trivy doesn't detect vulnerabilities of Docker itself. Also, when you scan go.mod in Kubernetes, the Kubernetes vulnerabilities will not be found. Depending on Go versions, the required files are different. | Version | Required files | Offline | | - | :: | :--: | | \>=1.17 | go.mod | | | <1.17 | go.mod, go.sum | | In Go 1.17+ projects, Trivy uses `go.mod` for direct/indirect dependencies. On the other hand, it uses `go.mod` for direct dependencies and `go.sum` for indirect dependencies in Go 1.16 or less. Go 1.17+ holds actually needed indirect dependencies in `go.mod`, and it reduces false detection. `go.sum` in Go 1.16 or less contains all indirect dependencies that are even not needed for compiling. If you want to have better detection, please consider updating the Go version in your project. !!! note The Go version doesn't mean your CLI version, but the Go version in your go.mod. ``` module github.com/aquasecurity/trivy go 1.18 require ( github.com/CycloneDX/cyclonedx-go v0.5.0 ... ) ``` To update the Go version in your project, you need to run the following command. ``` $ go mod tidy -go=1.18 ``` To identify licenses and dependency relationships, you need to download modules to local cache beforehand, such as `go mod download`, `go mod tidy`, etc. Trivy traverses `$GOPATH/pkg/mod` and collects those extra information. Trivy scans binaries built by Go. If there is a Go binary in your container image, Trivy automatically finds and scans it. Also, you can scan your local binaries. ``` $ trivy rootfs ./your_binary ``` !!! note It doesn't work with UPX-compressed binaries. There are times when Go uses the `(devel)` version for modules/dependencies. Only Go binaries installed using the `go install` command contain correct (semver) version for the main module. In other cases, Go uses the `(devel)` version[^3]. Dependencies replaced with local ones use the `(devel)` versions. In the first case, Trivy will attempt to parse any `-ldflags` as a secondary source, and will leave the version empty if it cannot do so[^5]. For the second case, the version of such packages is empty.
Project: Beam (App Definition and Development / Streaming & Messaging)
File: design-documents.md

title: 'Beam Design Documents' <!-- Licensed 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. --> <!-- This page will be redirected to https://cwiki.apache.org/confluence/display/BEAM/Design+Documents -->
Project: ShardingSphere (App Definition and Development / Database)
File: icons.en.md

title: Icons and logos weight: 27 The Learn theme for Hugo loads the library, allowing you to easily display any icon or logo available in the Font Awesome free collection. Browse through the available icons in the . Notice that the free filter is enabled, as only the free icons are available by default. Once on the Font Awesome page for a specific icon, for example the page for the , copy the HTML reference and paste into the markdown content. The HTML to include the heart icon is: ``` <i class="fas fa-heart"></i> ``` Paste the `<i>` HTML into markup and Font Awesome will load the relevant icon. ``` Built with <i class="fas fa-heart"></i> from Grav and Hugo ``` Which appears as Built with <i class="fas fa-heart"></i> from Grav and Hugo Font Awesome provides many ways to modify the icon Change colour (by default the icon will inherit the parent colour) Increase or decrease size Rotate Combine with other icons Check the full documentation on for more.
Project: KubeDB by AppsCode (App Definition and Development / Database)
File: kubectl-dba.md

title: Kubectl-Dba menu: docs_{{ .version }}: identifier: kubectl-dba name: Kubectl-Dba parent: reference-cli weight: 0 menuname: docs{{ .version }} sectionmenuid: reference url: /docs/{{ .version }}/reference/cli/ aliases: /docs/{{ .version }}/reference/cli/kubectl-dba/ kubectl plugin for KubeDB kubectl plugin for KubeDB by AppsCode - Kubernetes ready production-grade Databases Find more information at https://kubedb.com ``` kubectl-dba [flags] ``` ``` --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 -h, --help help for kubectl-dba --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 ``` - Generate completion script - Connect to a database. - Insert, Drop or Verify data in a database - Debug any Database issue - Show details of a specific resource or group of resources - Execute script or command to a database. - Monitoring related commands for a database - Print the list of flags inherited by all commands - Pause the processing of an object. - generate appbinding , secrets for remote replica - Smartly restart the pods of the database. - Resume processing of an object. - Prints credentials of the database. - Prints binary version number.
Project: Beam (App Definition and Development / Streaming & Messaging)
File: first-release.md

title: "The first release of Apache Beam!" date: 2016-06-15 00:00:01 -0700 categories: beam release aliases: /beam/release/2016/06/15/first-release.html authors: davor <!-- Licensed 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. --> Im happy to announce that Apache Beam has officially released its first version -- 0.1.0-incubating. This is an exciting milestone for the project, which joined the Apache Software Foundation and the Apache Incubator earlier this year. <!--more--> This release publishes the first set of Apache Beam binaries and source code, making them readily available for our users. The initial release includes the SDK for Java, along with three runners: Apache Flink, Apache Spark and Google Cloud Dataflow, a fully-managed cloud service. The release is available both in the , as well as a download from the . The goal of this release was process-oriented. In particular, the Beam community wanted to release existing functionality to our users, build and validate the release processes, and obtain validation from the Apache Software Foundation and the Apache Incubator. Id like to encourage everyone to try out this release. Please keep in mind that this is the first incubating release -- significant changes are to be expected. As we march toward stability, a rapid cadence of future releases is anticipated, perhaps one every 1-2 months. As always, the Beam community welcomes feedback. Stabilization, usability and the developer experience will be our focus for the next several months. If you have any comments or discover any issues, Id like to invite you to reach out to us via or the .
Project: KICS (Provisioning / Security & Compliance)
File: abb06e5f-ef9a-4a99-98c6-376d396bfcdf.md

title: SQS Queue Exposed hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: abb06e5f-ef9a-4a99-98c6-376d396bfcdf Query name: SQS Queue Exposed Platform: Terraform Severity: <span style="color:#bb2124">High</span> Category: Access Control URL: Checks if the SQS Queue is exposed<br> ```tf title="Positive test num. 1 - tf file" hl_lines="4" resource "awssqsqueue" "positive1" { name = "examplequeue" policy = <<POLICY { "Version": "2012-10-17", "Id": "sqspolicy", "Statement": [ { "Sid": "First", "Effect": "Allow", "Principal": "*", "Action": "sqs:SendMessage", "Resource": "${awssqsqueue.q.arn}", "Condition": { "ArnEquals": { "aws:SourceArn": "${awssnstopic.example.arn}" } } } ] } POLICY } ``` ```tf title="Positive test num. 2 - tf file" hl_lines="12" module "user_queue" { source = "terraform-aws-modules/sqs/aws" version = "~> 2.0" name = "user" tags = { Service = "user" Environment = "dev" } policy = <<POLICY { "Version": "2012-10-17", "Id": "sqspolicy", "Statement": [ { "Sid": "First", "Effect": "Allow", "Principal": "*", "Action": "sqs:SendMessage", "Resource": "${awssqsqueue.q.arn}", "Condition": { "ArnEquals": { "aws:SourceArn": "${awssnstopic.example.arn}" } } } ] } POLICY } ``` ```tf title="Negative test num. 1 - tf file" resource "awssqsqueue" "negative1" { name = "examplequeue" policy = <<POLICY { "Version": "2012-10-17", "Id": "sqspolicy", "Statement": [ { "Sid": "First", "Effect": "Allow", "Action": "sqs:SendMessage", "Resource": "${awssqsqueue.q.arn}", "Condition": { "ArnEquals": { "aws:SourceArn": "${awssnstopic.example.arn}" } } } ] } POLICY } ``` ```tf title="Negative test num. 2 - tf file" module "user_queue" { source = "terraform-aws-modules/sqs/aws" version = "~> 2.0" name = "user" tags = { Service = "user" Environment = "dev" } policy = <<POLICY { "Version": "2012-10-17", "Id": "sqspolicy", "Statement": [ { "Sid": "First", "Effect": "Allow", "Action": "sqs:SendMessage", "Resource": "${awssqsqueue.q.arn}", "Condition": { "ArnEquals": { "aws:SourceArn": "${awssnstopic.example.arn}" } } } ] } POLICY } ```
Project: StarRocks (App Definition and Development / Database)
File: bitmap_to_string.md

displayed_sidebar: "English" Converts an input bitmap into a string that is separated by commas (,). This string contains all the bits in the bitmap. If the input is null, null is returned. ```Haskell VARCHAR BITMAPTOSTRING(BITMAP input) ``` `input`: the bitmap you want to convert. Returns a value of the VARCHAR type. Example 1: The input is null and null is returned. ```Plain Text MySQL > select bitmaptostring(null); ++ | bitmaptostring(NULL) | ++ | NULL | ++ ``` Example 2: The input is empty and an empty string is returned. ```Plain Text MySQL > select bitmaptostring(bitmap_empty()); +-+ | bitmaptostring(bitmap_empty()) | +-+ | | +-+ ``` Example 3: Convert a bitmap that contains one bit into a string. ```Plain Text MySQL > select bitmaptostring(to_bitmap(1)); +--+ | bitmaptostring(to_bitmap(1)) | +--+ | 1 | +--+ ``` Example 4: Convert a bitmap that contains two bits into a string. ```Plain Text MySQL > select bitmaptostring(bitmapor(tobitmap(1), to_bitmap(2))); ++ | bitmaptostring(bitmapor(tobitmap(1), to_bitmap(2))) | ++ | 1,2 | ++ ```
Project: Ansible (Provisioning / Automation & Configuration)
File: no_thanks.md

Hi! Thanks very much for your submission to Ansible. It means a lot to us that you've taken time to contribute. Unfortunately, we're not sure if we want this feature in the program, and I don't want this to seem confrontational. Our reasons for this are: (A) INSERT ITEM HERE However, we're absolutely always up for discussion. Because this project is very active, we're unlikely to see comments made on closed tickets and we lock them after some time. If you or anyone else has any further questions, please let us know by using any of the communication methods listed in the page below: <https://docs.ansible.com/ansible/latest/community/communication.html> In the future, sometimes starting a discussion on the development list prior to implementing a feature can make getting things included a little easier, but it's not always necessary. Thank you once again for this and your interest in Ansible!
Project: ArangoDB (App Definition and Development / Database)
File: error_rvalue.md

+++ title = "`error_type &&error() &&`" description = "Wide contract rvalue reference observer of the stored error. Constexpr propagating." categories = ["observers"] weight = 760 +++ Wide contract rvalue reference observer of the stored error. `NoValuePolicy::wideerrorcheck()` is first invoked, then the reference to the error is returned. As a valid default constructed error is always present, no undefined behaviour occurs if `NoValuePolicy::wideerrorcheck()` returns. Note that if `error_type` is `void`, only a `const` overload returning `void` is present. Requires: Always available. Complexity: Depends on `NoValuePolicy::wideerrorcheck()`. Guarantees: None.
Project: Apache Heron (App Definition and Development / Streaming & Messaging)
File: guides-tuple-serialization.md

id: version-0.20.0-incubating-guides-tuple-serialization title: Tuple Serialization sidebar_label: Tuple Serialization original_id: guides-tuple-serialization <!-- 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. --> The tuple is Heron's core data type. Heron's native interface supports a broad range of , such as strings, integers, and booleans, out of the box, but tuples can contain values of any type. You can use data types beyond the core types by providing a custom serializer using the instructions below. Heron uses for tuple serialization and deserialization. You can create a custom tuple serializer by extending Kryo's abstract class. More information can be found in [Kryo's documentation](https://github.com/EsotericSoftware/kryo#serializers). Once you've created a custom Kryo serializer for a type: Make sure that the code for the serializer is on Heron's . Register the class with Kryo using the `topology.kryo.register` parameter for your topology. Here's an example: ```yaml topology.kryo.register: biz.acme.heron.datatypes.CustomType1 # This type will use the default FieldSerializer biz.acme.heron.datatypes.CustomType2: com.example.heron.serialization.CustomSerializer ``` Once your custom serializer is on Heron's classpath and Heron is aware of its existence, you must Heron.
Project: kpt (Provisioning / Automation & Configuration)
File: 00.md

Kubernetes configuration packages and customizations go hand in hand, all the packaging tools enable package customization, since every package needs to be adapted to each specific use. In this chapter we cover effective customizations techniques that kpt rendering and packaging enables. We show how providing customization through parameters has some [pitfalls] and recommend alternatives where the contents of the package are not hidden behind a facade. Some of these alternatives are only possible because kpt has made an investment into bulk editing with [KRM functions] and upstream merging. Before reading this chapter you should familiarize yourself with [chapter 4] which talks about using functions as well as [updating a package page] in [chapter 3].
Project: CloudNativePG (App Definition and Development / Database)
File: LICENSE.md

MIT License Copyright (c) 2019 Josh Bleecher Snyder Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. FTWARE.