cwielenb/CNCF-Dataset huggingface dataset:
Project: Meshery (Provisioning / Automation & Configuration)
File: v0.7.43.md

layout: release date: 2024-04-04 tag: v0.7.43 Add missing space causing bash issue @lekaf974 (#10666) Convert MesheryChart and MesheryChartDialog to functional component. @Aseem22 (#10358) upgrade alpine from 3.15.3 to 3.18.5 to solve vulnerabilities @deepak4566 (#10624) Thank you to our contributors for making this release possible: @Aseem22, @MUzairS15, @Yashsharma1911, @deepak4566, @leecalcote and @lekaf974
Project: Checkov (Provisioning / Security & Compliance)
File: checks_issue.md

name: Checks Issue about: Create an issue regarding a check (existing or missing) title: '' labels: 'checks' assignees: '' Describe the issue If it is related to an existing check, please note the relevant check ID. Also, explain the logic for this addition / change. Examples Please share an example code sample (in the IaC of your choice) + the expected outcomes. Version (please complete the following information): Checkov Version [e.g. 22] Additional context Add any other context about the problem here.
Project: KubeZoo (Provisioning / Automation & Configuration)
File: resource-and-system-requirements.md

At least 2 CPUs and 4 GB RAM for running KubeZoo server in the production environment. CentOS 7.4+ (amd64 and arm64) Ubuntu 18.04 LTS+ (amd64 and arm64) Fedora 31 (amd64) Debian 9.1 (amd64) Other platforms may work but are not tested. Supplements to the list are welcome.
Project: SeaTunnel (App Definition and Development / Streaming & Messaging)
File: AmazonSqs.md

AmazonSqs source connector Spark<br/> Flink<br/> SeaTunnel Zeta<br/> Read data from Amazon SQS. | Name | Type | Required | Default | Description | |-|--|-||-| | url | String | Yes | - | The Queue URL to read from Amazon SQS. | | region | String | No | - | The AWS region for the SQS service | | schema | Config | No | - | The structure of the data, including field names and field types. | | format | String | No | json | Data format. The default format is json. Optional text format, canal-json and debezium-json.If you use json or text format. The default field separator is ", ". If you customize the delimiter, add the "field_delimiter" option.If you use canal format, please refer to for details.If you use debezium format, please refer to for details. | | formaterrorhandle_way | String | No | fail | The processing method of data format error. The default value is fail, and the optional value is (fail, skip). When fail is selected, data format error will block and an exception will be thrown. When skip is selected, data format error will skip this line data. | | field_delimiter | String | No | , | Customize the field delimiter for data format. | | common-options | | No | - | Source plugin common parameters, please refer to for details | ```bash source { AmazonSqs { url = "http://127.0.0.1:4566" region = "us-east-1" format = text field_delimiter = "#" schema = { fields { artist = string c_map = "map<string, array<int>>" c_array = "array<int>" c_string = string c_boolean = boolean c_tinyint = tinyint c_smallint = smallint c_int = int c_bigint = bigint c_float = float c_double = double c_decimal = "decimal(30, 8)" c_null = "null" c_bytes = bytes c_date = date c_timestamp = timestamp } } } } transform { } sink { Console {} } ```
Project: Meshery (Provisioning / Automation & Configuration)
File: mesheryctl-mesh.md

layout: default title: mesheryctl-mesh permalink: reference/mesheryctl/mesh redirect_from: reference/mesheryctl/mesh/ type: reference display-title: "false" language: en command: mesh subcommand: nil Cloud Native Lifecycle Management Provisioning, configuration, and on-going operational management of cloud and cloud native infrastructure. <pre class='codeblock-pre'> <div class='codeblock'> -h, --help help for mesh -t, --token string Path to token for authenticating to Meshery API </div> </pre> <pre class='codeblock-pre'> <div class='codeblock'> --config string path to config file (default "/home/runner/.meshery/config.yaml") -v, --verbose verbose output </div> </pre> Go back to , if you want to add content manually to the CLI documentation, please refer to the for guidance.
Project: StarRocks (App Definition and Development / Database)
File: crc32.md

displayed_sidebar: "English" Returns the 32-bit cyclic redundancy check (CRC) value of a string. If the input is NULL, NULL is returned. This function is used for error detection. It uses the CRC32 algorithm to detect changes between source and target data. This function is supported from v3.3 onwards. ```Haskell BIGINT crc32(VARCHAR str) ``` `str`: the string for which you want to calculate the CRC32 value. ```Plain Text mysql > select crc32("starrocks"); +--+ | crc32('starrocks') | +--+ | 2312449062 | +--+ mysql > select crc32(null); +-+ | crc32(NULL) | +-+ | NULL | +-+ 1 row in set (0.18 sec) ``` CRC32
Project: Meshery (Provisioning / Automation & Configuration)
File: v0.6.137.md

layout: release date: 2023-09-09 tag: v0.6.137 [Enhancement] Add ability to docs updater to push to docs.meshery.io @Boombag0607 (#8521) More Mesheryctl Error Wrappers @Philip-21 (#8588) chore: Sort the technology list in alphabetical order @Yana-Gupta (#8697) Reduce unnecessary queries to remote provider. @MUzairS15 (#8691) [CI] Upgrade to Golang 1.21 @leecalcote (#8700) Bump github.com/briandowns/spinner from 1.19.0 to 1.23.0 @dependabot (#8538) Thank you to our contributors for making this release possible: @Boombag0607, @MUzairS15, @Philip-21, @Yana-Gupta, @dependabot, @leecalcote and @theBeginner86
Project: StarRocks (App Definition and Development / Database)
File: atan2.md

displayed_sidebar: "English" Returns the arc tangent of `x` divided by `y`, that is, the arc tangent of `x/y`. The signs of the two parameters are used to determine the quadrant of the result. The return value is in the range of [-, ]. ```Haskell ATAN2(x,y); ``` `x`: The supported data type is DOUBLE. `y`: The supported data type is DOUBLE. Returns a value of the DOUBLE type. Returns NULL if `x` or `y` is NULL. ```Plain Text mysql> select atan2(-0.8,2); ++ | atan2(-0.8, 2) | ++ | -0.3805063771123649 | ++ 1 row in set (0.01 sec) ```
Project: RabbitMQ (App Definition and Development / Streaming & Messaging)
File: 3.11.28.md

RabbitMQ `3.11.28` is a maintenance release in the `3.11.x` . This release series . Please refer to the upgrade section from if upgrading from a version prior to 3.11.0. This release requires Erlang 25 and supports Erlang versions up to `25.3.x`. has more details on Erlang version requirements for RabbitMQ. As of 3.11.0, RabbitMQ requires Erlang 25. Nodes will fail to start on older Erlang releases. Erlang 25 as our new baseline means much improved performance on ARM64 architectures, across all architectures, and the most recent TLS 1.3 implementation available to all RabbitMQ 3.11 users. Release notes can be found on GitHub at . Metric label values now escape certain non-ASCII characters. Contributed by @gomoripeti (CloudAMQP). GitHub issue: Reverted a change to `DELETE /api/queues/{vhost}/{name}` that allowed removal of exclusive queues and introduced unexpected side effects. GitHub issue: Avoid log noise when an HTTP API request is issued against a booting or very freshly booted node. Contributed by @gomoripeti (CloudAMQP). GitHub issue: Type spec and test corrections. Contributed by @illotum (AWS). GitHub issue: None in this release. To obtain source code of the entire distribution, please download the archive named `rabbitmq-server-3.11.28.tar.xz` instead of the source tarball produced by GitHub.
Project: StarRocks (App Definition and Development / Database)
File: yearweek.md

displayed_sidebar: "English" Returns year and week number for a given date. This function works in the same way as the yearweek() function in MySQL. This function is supported from v3.3 onwards. ```Haskell INT YEARWEEK(DATETIME|DATE date[, INT mode]) ``` `date`: The supported data types are DATETIME and DATE. `mode`: optional. The supported data type is INT. This parameter is used to specify the logic for calculating the yearweek number, that is, whether the week starts on Sunday or Monday, and whether the return value is in the range of 0~53 or 1~53. Value range: 0~7. Default value: `0`. If this parameter is not specified, mode `0` is used by default. The following table describes how this parameter works. | Mode | First day of week | Range | Week 1 is the first week | | : | :- | :- | :- | | 0 | Sunday | 0-53 | with a Sunday in this year | | 1 | Monday | 0-53 | with 4 or more days this year | | 2 | Sunday | 1-53 | with a Sunday in this year | | 3 | Monday | 1-53 | with 4 or more days this year | | 4 | Sunday | 0-53 | with 4 or more days this year | | 5 | Monday | 0-53 | with a Monday in this year | | 6 | Sunday | 1-53 | with 4 or more days this year | | 7 | Monday | 1-53 | with a Monday in this year | Returns a value of the INT type. Value range: 0~53. The specific range is determined based on the `mode` parameter. `NULL` is returned if the value of `date` is invalid or the input value is empty. Returns year and week for a date. The value of the mode argument defaults to 0 ```Plaintext mysql> SELECT YEARWEEK('2007-01-01', 0); ++ | yearweek('2007-01-01', 0) | ++ | 200653 | ++ ``` ```Plaintext mysql> SELECT YEARWEEK('2007-01-01', 1); ++ | yearweek('2007-01-01', 1) | ++ | 200701 | ++ ``` ```Plaintext mysql> SELECT YEARWEEK('2007-01-01', 2); ++ | yearweek('2007-01-01', 2) | ++ | 200653 | ++ 1 row in set (0.01 sec) ```
Project: KICS (Provisioning / Security & Compliance)
File: 58b35504-0287-4154-bf69-02c0573deab8.md

title: Sagemaker Endpoint Configuration Encryption Disabled hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 58b35504-0287-4154-bf69-02c0573deab8 Query name: Sagemaker Endpoint Configuration Encryption Disabled Platform: Terraform Severity: <span style="color:#bb2124">High</span> Category: Encryption URL: Sagemaker endpoint configuration should encrypt data<br> ```tf title="Positive test num. 1 - tf file" hl_lines="1" resource "awssagemakerendpoint_configuration" "positive" { name = "my-endpoint-config" production_variants { variant_name = "variant-1" modelname = awssagemaker_model.m.name initialinstancecount = 1 instance_type = "ml.t2.medium" } tags = { Name = "foo" } } ``` ```tf title="Negative test num. 1 - tf file" resource "awssagemakerendpoint_configuration" "negative" { name = "my-endpoint-config" production_variants { variant_name = "variant-1" modelname = awssagemaker_model.m.name initialinstancecount = 1 instance_type = "ml.t2.medium" } tags = { Name = "foo" } kmskeyarn = "awskmskey.example.arn" } ```
Project: KICS (Provisioning / Security & Compliance)
File: 0956aedf-6a7a-478b-ab56-63e2b19923ad.md

title: DB Security Group With Public Scope hide: toc: true navigation: true <style> .highlight .hll { background-color: #ff171742; } .md-content { max-width: 1100px; margin: 0 auto; } </style> Query id: 0956aedf-6a7a-478b-ab56-63e2b19923ad Query name: DB Security Group With Public Scope Platform: Ansible Severity: <span style="color:#ff0000">Critical</span> Category: Networking and Firewall URL: The IP address in a DB Security Group should not be '0.0.0.0/0' (IPv4) or '::/0' (IPv6). If so, any IP can access it<br> ```yaml title="Positive test num. 1 - yaml file" hl_lines="53 22" name: create minimal aurora instance in default VPC and default subnet group community.aws.rds_instance: engine: aurora dbinstanceidentifier: ansible-test-aurora-db-instance instance_type: db.t2.small password: "{{ password }}" username: "{{ username }}" cluster_id: ansible-test-cluster dbsecuritygroups: ["example"] name: example ec2 group ec2_group: name: example description: an example EC2 group vpc_id: 12345 region: eu-west-1a awssecretkey: SECRET awsaccesskey: ACCESS rules: proto: tcp from_port: 80 to_port: 80 cidr_ip: 0.0.0.0/0 proto: tcp from_port: 22 to_port: 22 cidr_ip: 10.0.0.0/8 proto: tcp from_port: 443 to_port: 443 group_id: amazon-elb/sg-87654321/amazon-elb-sg proto: tcp from_port: 3306 to_port: 3306 group_id: 123412341234/sg-87654321/exact-name-of-sg proto: udp from_port: 10050 to_port: 10050 cidr_ip: 10.0.0.0/8 proto: udp from_port: 10051 to_port: 10051 group_id: sg-12345678 proto: icmp from_port: 8 # icmp type, -1 = any type to_port: -1 # icmp subtype, -1 = any subtype cidr_ip: 192.168.1.0/24 proto: all group_name: example rules_egress: proto: tcp from_port: 80 to_port: 80 cidr_ip: 0.0.0.0/0 group_name: example-other group_desc: other example EC2 group ``` ```yaml title="Negative test num. 1 - yaml file" name: example ec2 group2 ec2_group: name: example1 description: an example EC2 group vpc_id: 12345 region: eu-west-1a awssecretkey: SECRET awsaccesskey: ACCESS rules: proto: tcp from_port: 80 to_port: 80 cidr_ip: 10.1.1.1/32 rules_egress: proto: tcp from_port: 80 to_port: 80 cidr_ip: 10.1.1.1/32 group_name: example-other group_desc: other example EC2 group ```
Project: KubeVela (App Definition and Development / Application Definition & Image Build)
File: startup-probe.eg.md

```yaml apiVersion: core.oam.dev/v1beta1 kind: Application metadata: name: application-with-startup-probe spec: components: name: busybox-runner type: worker properties: image: busybox cmd: sleep '1000' traits: type: sidecar properties: name: nginx image: nginx type: startup-probe properties: containerName: "busybox-runner" httpGet: host: "www.guidewire.comm" scheme: "HTTPS" port: 443 periodSeconds: 4 failureThreshold: 4 type: startup-probe properties: containerName: nginx httpGet: host: "www.guidewire.com" scheme: "HTTPS" port: 443 periodSeconds: 5 failureThreshold: 5 ```
Project: KCL (Provisioning / Automation & Configuration)
File: E1003.md

KCL will report `KCLIndentationError` when KCL has an indentation syntax error. The KCL syntax includes indentation. A tab or four white spaces in KCL represents an indentation. The other cases will be regarded as syntax errors by KCL. For example: ```python schema Person: name: str # a tab or four white spaces is legal. age: int # three white spaces are illegal info: str # two white spaces is illegal ``` The KCL program will cause the following error message. ```shell error[E1001]: InvalidSyntax --> /syntaxerror/indent/indenterror_0/main.k:3:4 | 3 | age: int # three white spaces are illegal | ^ unindent 3 does not match any outer indentation level | ``` Possible resolution: Only use a tab or four white spaces in the KCL program for indentation.
Project: Meshery (Provisioning / Automation & Configuration)
File: v0.7.12.md

layout: release date: 2024-01-23 tag: v0.7.12 added capabilities for edges @captain-Akshay (#10048) update meshsync crd @MUzairS15 (#10057) [Relationships] Add selectors sets in `relationships`. @MUzairS15 (#9987) Update grafana_helper.go @eltociear (#9981) [Server] Fix remote pattern upload @MUzairS15 (#10014) [Server] Validate `userid` and handle remote provider responses on failure correctly. @MUzairS15 (#10015) [bug] Fix Remote Design file upload @theBeginner86 (#10013) Fix developer warnings @JyothiSwaroopReddy07 (#10029) Added new icons for Kubernetes components @nwanduka (#9866) [WIP] Migrate registry page to use RTK @Yashsharma1911 (#10007) [NOTIFICATION] Added visual indication for notification center @captain-Akshay (#10030) fix grammer issue in popup ui comopnents @amitamrutiya2210 (#10028) [UI] Refactor tooltip and its behaviour in dashboard cards @sudhanshutech (#10042) [RTK] Connections api migrate to rtk @senali-d (#9992) [UI] Fix publishing design @Yashsharma1911 (#9990) [MeshModel Category] Database category icon added @ritiksaxena124 (#10006) Update meshmap.yml @theBeginner86 (#10055) [chore] Update meshmap.yml @MUzairS15 (#10054) [Bug] Reinitialise `models` and `keys` registration on Database reset. @MUzairS15 (#10024) [models] Consolidate Meshery Docs Generator @theBeginner86 (#9941) broken link fixed w/signoff @prathyushmadhu (#9960) #9935 changed the link from /guides/configuration-management/creating-a-meshrey-design to /guides/creating-a-meshrey-design @muthu9594 (#9982) [Fixed Docs Cloud Native app Configuration] - Grammar adjustment @shourya2002-geek (#10012) v0.4, v0.5, v0.6 added to excludes @iArchitSharma (#10051) Fix developer warnings @JyothiSwaroopReddy07 (#10029) [DOCS] Suggested Reading bug fix @iArchitSharma (#10020) modified provider urls @JyothiSwaroopReddy07 (#10027) [DOCS] MeshModel to Model fix @iArchitSharma (#10031) [docs] fix "Managing Events with Notification Center" link not working properly @dottharun (#10044) [Docs] Relationships: Grammar fix in the "Design Relationships and Restrictions" section @neerajmanivarnan (#10003) [Docs Designs] Removed Repeated Phrase #9995 Fixed @ASK-03 (#10001) Added mesherycli cheatsheet @Dhanush0369 (#10022) [docs] Fix YAML issue in Meshery Docs @theBeginner86 (#10021) [models] Consolidate Meshery Docs Generator @theBeginner86 (#9941) Made grammatical changes for the paragraph under 'Importing Applications'. @ayushgml (#10018) Thank you to our contributors for making this release possible: @ASK-03, @Dhanush0369, @JyothiSwaroopReddy07, @MUzairS15, @Yashsharma1911, @aabidsofi19, @amitamrutiya2210, @ayushgml, @captain-Akshay, @dottharun, @eltociear, @iArchitSharma, @leecalcote, @muthu9594, @neerajmanivarnan, @nwanduka, @prathyushmadhu, @ritiksaxena124, @senali-d, @shourya2002-geek, @sudhanshutech, @theBeginner86 and l5io
Project: ClickHouse (App Definition and Development / Database)
File: limit.md

slug: /en/sql-reference/statements/select/limit sidebar_label: LIMIT `LIMIT m` allows to select the first `m` rows from the result. `LIMIT n, m` allows to select the `m` rows from the result after skipping the first `n` rows. The `LIMIT m OFFSET n` syntax is equivalent. `n` and `m` must be non-negative integers. If there is no clause that explicitly sorts results, the choice of rows for the result may be arbitrary and non-deterministic. :::note The number of rows in the result set can also depend on the setting. ::: When you set `WITH TIES` modifier for `LIMIT n[,m]` and specify `ORDER BY expr_list`, you will get in result first `n` or `n,m` rows and all rows with same `ORDER BY` fields values equal to row at position `n` for `LIMIT n` and `m` for `LIMIT n,m`. This modifier also can be combined with . For example, the following query ``` sql SELECT * FROM ( SELECT number%50 AS n FROM numbers(100) ) ORDER BY n LIMIT 0,5 ``` returns ``` text n 0 0 1 1 2 ``` but after apply `WITH TIES` modifier ``` sql SELECT * FROM ( SELECT number%50 AS n FROM numbers(100) ) ORDER BY n LIMIT 0,5 WITH TIES ``` it returns another rows set ``` text n 0 0 1 1 2 2 ``` cause row number 6 have same value 2 for field `n` as row number 5
Project: FOSSA (Provisioning / Security & Compliance)
File: mavenplugin.md

| Strategy | Direct Deps | Transitive Deps | Edges | Tags | | | | | | | | depgraph plugin | | | | Optional | Maven projects are notoriously difficult to resolve into final dependency graphs. While many dependencies are declared as XML, these dependency declarations can span many buildscripts and user settings files. What's worse: maven plugins are often used to apply dependencies to the project, and some maven plugins allow arbitrary executable code -- similar to gradle. To work around this, we're using the maven cli in conjunction with the [depgraph maven plugin](https://github.com/ferstl/depgraph-maven-plugin), version 4.0.1. This plugin is used by some Jenkins and Apache open source projects. We also maintain support for version 3.3.0 which support JDK 7. Find `pom.xml` files, and treat those as maven projects. Skip all subdirectories. unpack the embedded plugin to a temporary directory install it to the local maven repository `mvn org.apache.maven.plugins:maven-install-plugin:3.0.0-M1:install-file -DgroupId=com.github.ferstl -DartifactId=depgraph-maven-plugin -Dversion=4.0.1 -Dpackaging=jar -Dfile=<location>/depgraph-maven-plugin-4.0.1.jar` (uses a specific version of to avoid a ) invoke the plugin in the top-level project with the command `mvn com.github.ferstl:depgraph-maven-plugin:4.0.1:aggregate -DgraphFormat=text -DmergeScopes -DreduceEdges=false -DshowVersions=true -DshowGroupIds=true -DshowOptional=true -DrepeatTransitiveDependenciesInTextGraph=true` For `graphFormat`s other than `text` the data will be output to `target/dependency-graph.<format>`. For `text`, it will additionally be output to stdout. During this analysis we will attempt to determine what submodules are part of the this project using the command `mvn com.github.ferstl:depgraph-maven-plugin:4.0.1:reactor -Dgraphformat=json -DoutputFilename=fossa-reactor-graph.json`. We then generate a graph that excludes all of those submodules, but with their imediate deps marked as direct. This is because we don't want to include the users' projects in graphs, but do want to be able to analyze the things that they depend on. For example: ``` org:submodule1:1.0.0:compile \- org2:pkg1:1.0.0:compile +- org2:pkg2:1.0.0:compile \- org:submodule2:1.0.0:compile \- org3:pkg3:1.0.0:compile ``` If `submodule1` and `submodule2` are both submodules of the project we would report `pkg3` and `pkg1` as direct dependencies. `pkg2` is reported as a transitive dependency. `submodule1` and `submodule2` won't be included at all. `fossa-cli`'s graph would look like this: ``` org2:pkg1:1.0.0:compile \- org2:pkg2:1.0.0:compile org3:pkg3:1.0.0:compile ```
Project: kiosk (Provisioning / Automation & Configuration)
File: fuzzy_mode_convert_table.md

| json type \ dest type | bool | int | uint | float |string| | | | | |--|--| | number | positive => true <br/> negative => true <br/> zero => false| 23.2 => 23 <br/> -32.1 => -32| 12.1 => 12 <br/> -12.1 => 0|as normal|same as origin| | string | empty string => false <br/> string "0" => false <br/> other strings => true | "123.32" => 123 <br/> "-123.4" => -123 <br/> "123.23xxxw" => 123 <br/> "abcde12" => 0 <br/> "-32.1" => -32| 13.2 => 13 <br/> -1.1 => 0 |12.1 => 12.1 <br/> -12.3 => -12.3<br/> 12.4xxa => 12.4 <br/> +1.1e2 =>110 |same as origin| | bool | true => true <br/> false => false| true => 1 <br/> false => 0 | true => 1 <br/> false => 0 |true => 1 <br/>false => 0|true => "true" <br/> false => "false"| | object | true | 0 | 0 |0|originnal json| | array | empty array => false <br/> nonempty array => true| [] => 0 <br/> [1,2] => 1 | [] => 0 <br/> [1,2] => 1 |[] => 0<br/>[1,2] => 1|original json|