Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Pull in the latest docker + aws resource updates #130

Merged
merged 1 commit into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion docs/mql/resources/aws-pack/aws.elb.loadbalancer.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ The `aws.elb.loadbalancer` resource provides fields for assessing the configurat
| name | string | User-specified name for the load balancer |
| scheme | string | Scheme for the load balancer: internet-facing or internal |
| attributes | []dict | A list of attributes for the load balancer |
| vpcId | string | The ID of the VPC where the load balancer is located |
| vpcId | string | Deprecated. Use vpc instead |
| createdTime | time | Date and time when the load balancer was created |
| availabilityZones | []string | Availability zone where the load balancer runs |
| securityGroups | [][aws.ec2.securitygroup](aws.ec2.securitygroup.md) | VPC security groups for the load balancer |
| hostedZoneId | string | The ID of the Amazon Route 53 hosted zone associated with the load balancer |
| region | string | Region where the load balancer exists |
| elbType | string | The type of ELB. Possible values are `network`, `application`, or `gateway` |
| vpc | [aws.vpc](aws.vpc.md) | VPC where the load balancer is located |
3 changes: 2 additions & 1 deletion docs/mql/resources/os-pack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ Resources included in this pack:
| [docker.file](docker.file.md) | Dockerfile resource |
| [docker.file.add](docker.file.add.md) | Dockerfile ADD instructions |
| [docker.file.copy](docker.file.copy.md) | Dockerfile COPY instructions |
| [docker.file.from](docker.file.from.md) | Dockerfile from instructions |
| [docker.file.expose](docker.file.expose.md) | Dockerfile EXPOSE instruction |
| [docker.file.from](docker.file.from.md) | Dockerfile FROM instructions |
| [docker.file.run](docker.file.run.md) | Dockerfile RUN instructions |
| [docker.file.stage](docker.file.stage.md) | Dockerfile stages |
| [docker.image](docker.image.md) | Docker image |
Expand Down
6 changes: 6 additions & 0 deletions docs/mql/resources/os-pack/docker.container.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ description: Docker container

Docker container

The `docker.container` resource provides fields for assessing running Docker containers.

**Fields**

| ID | TYPE | DESCRIPTION |
Expand All @@ -25,3 +27,7 @@ Docker container
| state | string | Container state |
| status | string | Status message |
| labels | map[string]string | Label key value pairs |

**References**

- [What is a container?](https://docs.docker.com/guides/walkthroughs/what-is-a-container/)
4 changes: 4 additions & 0 deletions docs/mql/resources/os-pack/docker.file.add.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ Dockerfile ADD instructions
| dst | string | |
| chown | string | |
| chmod | string | |

**References**

- [Dockerfile ADD reference](https://docs.docker.com/reference/dockerfile/#add)
4 changes: 4 additions & 0 deletions docs/mql/resources/os-pack/docker.file.copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ Dockerfile COPY instructions
| dst | string | The destination in the image for the file(s) |
| chown | string | Ownership of the file(s) |
| chmod | string | Octal permissions of the file(s) |

**References**

- [Dockerfile COPY reference](https://docs.docker.com/reference/dockerfile/#copy)
24 changes: 24 additions & 0 deletions docs/mql/resources/os-pack/docker.file.expose.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: docker.file.expose
id: docker.file.expose
sidebar_label: docker.file.expose
displayed_sidebar: MQL
description: Dockerfile EXPOSE instruction
---

# docker.file.expose

**Description**

Dockerfile EXPOSE instruction

**Fields**

| ID | TYPE | DESCRIPTION |
| -------- | ------ | -------------------------------------------------------------- |
| port | int | Port that is exposed |
| protocol | string | Protocol that is exposed (evaluates to `tcp` if not specified) |

**References**

- [Dockerfile EXPOSE reference](https://docs.docker.com/reference/dockerfile/#expose)
8 changes: 6 additions & 2 deletions docs/mql/resources/os-pack/docker.file.from.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ title: docker.file.from
id: docker.file.from
sidebar_label: docker.file.from
displayed_sidebar: MQL
description: Dockerfile from instructions
description: Dockerfile FROM instructions
---

# docker.file.from

**Description**

Dockerfile from instructions
Dockerfile FROM instructions

**Fields**

Expand All @@ -21,3 +21,7 @@ Dockerfile from instructions
| tag | string | |
| digest | string | |
| name | string | |

**References**

- [Dockerfile FROM reference](https://docs.docker.com/reference/dockerfile/#from)
6 changes: 6 additions & 0 deletions docs/mql/resources/os-pack/docker.file.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ description: Dockerfile resource

Dockerfile resource

The `docker.file` resource provides fields for assessing Dockerfiles.

**Init**

docker.file(path string)
Expand All @@ -23,3 +25,7 @@ docker.file(path string)
| file | [file](file.md) | File information about this Dockerfile |
| instructions | dict | List of instructions in the order they appear |
| stages | [][docker.file.stage](docker.file.stage.md) | All stages included in this Dockerfile |

**References**

- [Dockerfile Reference](https://docs.docker.com/reference/dockerfile/)
4 changes: 4 additions & 0 deletions docs/mql/resources/os-pack/docker.file.run.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ Dockerfile RUN instructions
| ID | TYPE | DESCRIPTION |
| ------ | ------ | ----------- |
| script | string | |

**References**

- [Dockerfile RUN reference](https://docs.docker.com/reference/dockerfile/#run)
26 changes: 16 additions & 10 deletions docs/mql/resources/os-pack/docker.file.stage.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,19 @@ Dockerfile stages

**Fields**

| ID | TYPE | DESCRIPTION |
| ---------- | ------------------------------------------------- | -------------------------------------------------------------- |
| from | [docker.file.from](docker.file.from.md) | The source of this stage, specified via `FROM` in Dockerfiles |
| file | [docker.file](docker.file.md) | Contains the reference to the Dockerfile this stage belongs to |
| env | map[string]string | Environment variables configured in the Dockerfile |
| run | [][docker.file.run](docker.file.run.md) | RUN instructions in this Dockerfile |
| cmd | [docker.file.run](docker.file.run.md) | CMD instructions in this Dockerfile |
| entrypoint | [docker.file.run](docker.file.run.md) | ENTRYPOINT instructions in this Dockerfile |
| add | [][docker.file.add](docker.file.add.md) | ADD instructions in this Dockerfile |
| copy | [][docker.file.copy](docker.file.copy.md) | COPY instructions in this Dockerfile |
| ID | TYPE | DESCRIPTION |
| ---------- | ----------------------------------------------------- | -------------------------------------------------------------- |
| from | [docker.file.from](docker.file.from.md) | The source of this stage, specified via `FROM` in Dockerfiles |
| file | [docker.file](docker.file.md) | Contains the reference to the Dockerfile this stage belongs to |
| env | map[string]string | Environment variables configured in the Dockerfile |
| run | [][docker.file.run](docker.file.run.md) | RUN instructions in this Dockerfile |
| cmd | [docker.file.run](docker.file.run.md) | CMD instructions in this Dockerfile |
| entrypoint | [docker.file.run](docker.file.run.md) | ENTRYPOINT instructions in this Dockerfile |
| add | [][docker.file.add](docker.file.add.md) | ADD instructions in this Dockerfile |
| copy | [][docker.file.copy](docker.file.copy.md) | COPY instructions in this Dockerfile |
| expose | [][docker.file.expose](docker.file.expose.md) | EXPOSE instructions in this Dockerfile |

**References**

- [Dockerfile Reference](https://docs.docker.com/reference/dockerfile/)
- [Multi-stage builds](https://docs.docker.com/build/building/multi-stage/)
4 changes: 4 additions & 0 deletions docs/mql/resources/os-pack/docker.image.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ Docker image
| virtualsize | int | Virtual image size in kilobytes |
| tags | []string | Tag key value pairs |
| labels | map[string]string | Labels key value pairs |

**References**

- [What is an image?](https://docs.docker.com/guides/docker-concepts/the-basics/what-is-an-image/)
4 changes: 4 additions & 0 deletions docs/mql/resources/os-pack/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ Docker host resource
| ---------- | ------------------------------------------------- | -------------------------- |
| images | [][docker.image](docker.image.md) | List all Docker images |
| containers | [][docker.container](docker.container.md) | List all Docker containers |

**References**

- [Docker overview](https://docs.docker.com/get-started/overview/)
22 changes: 11 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7109,12 +7109,12 @@ react-dev-utils@^12.0.1:
text-table "^0.2.0"

react-dom@^18.0.1:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
version "18.3.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.0.tgz#98a3a1cc4e471d517c2a084f38ab1d58d02cada7"
integrity sha512-zaKdLBftQJnvb7FtDIpZtsAIb2MZU087RM8bRDZU8LVCCFYjPTsDZJNFUWPcVz3HFSN1n/caxi0ca4B/aaVQGQ==
dependencies:
loose-envify "^1.1.0"
scheduler "^0.23.0"
scheduler "^0.23.1"

react-error-overlay@^6.0.11:
version "6.0.11"
Expand Down Expand Up @@ -7214,9 +7214,9 @@ [email protected], react-router@^5.3.4:
tiny-warning "^1.0.0"

react@^18.0.1:
version "18.2.0"
resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
version "18.3.0"
resolved "https://registry.yarnpkg.com/react/-/react-18.3.0.tgz#84386d0a36fdf5ef50fa5755b7812bdfb76194a5"
integrity sha512-RPutkJftSAldDibyrjuku7q11d3oy6wKOyPe5K1HA/HwwrXcEqBdHsLypkC2FFYjP7bPUa6gbzSBhw4sY2JcDg==
dependencies:
loose-envify "^1.1.0"

Expand Down Expand Up @@ -7536,10 +7536,10 @@ sax@^1.2.4:
resolved "https://registry.yarnpkg.com/sax/-/sax-1.3.0.tgz#a5dbe77db3be05c9d1ee7785dbd3ea9de51593d0"
integrity sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA==

scheduler@^0.23.0:
version "0.23.0"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe"
integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==
scheduler@^0.23.1:
version "0.23.1"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.1.tgz#ef964a7936d7cbe8f7bc0d38fc479a823aed2923"
integrity sha512-5GKS5JGfiah1O38Vfa9srZE4s3wdHbwjlCrvIookrg2FO9aIwKLOJXuJQFlEfNcVSOXuaL2hzDeY20uVXcUtrw==
dependencies:
loose-envify "^1.1.0"

Expand Down
Loading