Wiz IaC Scanner
Revealing IaC misconfigurations with Wiz
IaC Misconfigurations Detected: 44
Annotations
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libfreetype6' has version defined
Found: Package 'libfreetype6' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-image0' has version defined
Found: Package 'libxcb-image0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-keysyms1' has version defined
Found: Package 'libxcb-keysyms1' does not have version defined
Check warning on line 12 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y tar && cd /tmp && for file in *.tgz; do tar -xzf "$file" -C /ansys_inc; done && ls -l /ansys_inc && rm -rf /tmp/* && echo "Temporary files removed."}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'in' has version defined
Found: Package 'in' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxdmcp6' has version defined
Found: Package 'libxdmcp6' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-icccm4' has version defined
Found: Package 'libxcb-icccm4' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-xinerama0' has version defined
Found: Package 'libxcb-xinerama0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-xfixes0' has version defined
Found: Package 'libxcb-xfixes0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-util1' has version defined
Found: Package 'libxcb-util1' does not have version defined
Check warning on line 12 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y tar && cd /tmp && for file in *.tgz; do tar -xzf "$file" -C /ansys_inc; done && ls -l /ansys_inc && rm -rf /tmp/* && echo "Temporary files removed."}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'file' has version defined
Found: Package 'file' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libsm6' has version defined
Found: Package 'libsm6' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libmd0' has version defined
Found: Package 'libmd0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb1' has version defined
Found: Package 'libxcb1' does not have version defined
Check warning on line 12 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y tar && cd /tmp && for file in *.tgz; do tar -xzf "$file" -C /ansys_inc; done && ls -l /ansys_inc && rm -rf /tmp/* && echo "Temporary files removed."}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'cd' has version defined
Found: Package 'cd' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxkbcommon-x11-0' has version defined
Found: Package 'libxkbcommon-x11-0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libbsd0' has version defined
Found: Package 'libbsd0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-shm0' has version defined
Found: Package 'libxcb-shm0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libbrotli1' has version defined
Found: Package 'libbrotli1' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-sync1' has version defined
Found: Package 'libxcb-sync1' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-render-util0' has version defined
Found: Package 'libxcb-render-util0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxcb-randr0' has version defined
Found: Package 'libxcb-randr0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libx11-6' has version defined
Found: Package 'libx11-6' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libice6' has version defined
Found: Package 'libice6' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxkbcommon0' has version defined
Found: Package 'libxkbcommon0' does not have version defined
Check warning on line 20 in docker/linux/Dockerfile
wiz-inc-572fc38784 / Wiz IaC Scanner
Apt Get Install Pin Version Not Defined
Rule ID: e67722df-dbe0-4988-aa7a-0e96d0b5ed92
Severity: Medium
Resource: FROM={{ubuntu:22.04}}.RUN={{apt-get update && apt-get install -y libbrotli1 libbsd0 libexpat1 libfontconfig1 libfreetype6 libglib2.0-0 libice6 libmd0 libpng16-16 libsm6 libx11-6 libx11-xcb1 libxau6 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xkb1 libxcb1 libxdmcp6 libxext6 libxkbcommon-x11-0 libxkbcommon0}}
When installing a package, its pin version should be defined
Raw output
Expected: Package 'libxau6' has version defined
Found: Package 'libxau6' does not have version defined