Cockpit is a web-based graphical interface for servers.
328 matches across 12 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | test/pytest/test_packages.py | 73 | (confdir / 'basic.override.json').write_text('{"description": null, "priority": 5, "does-not-exist": null}') |
| HIGH | test/common/storagelib.py | 114 | ls -la /sys/block/{os.path.basename(dev)}/holders/ >&2 || true |
| HIGH | test/common/storagelib.py | 115 | fuser -v {dev} >&2 || true |
| HIGH | test/common/storagelib.py | 604 | ! test -f /etc/kernel/cmdline || mv /etc/kernel/cmdline /etc/kernel/cmdline.stowed |
| HIGH | test/common/storagelib.py | 607 | ! test -f /etc/kernel/cmdline.stowed || mv /etc/kernel/cmdline.stowed /etc/kernel/cmdline |
| HIGH | test/common/storagelib.py | 610 | ! test -f /etc/kernel/cmdline || cp /etc/kernel/cmdline /new-root/etc/kernel/cmdline |
| HIGH | test/common/storagelib.py | 54 | dev = self.machine.execute('while true; do O=$(ls /sys/bus/pseudo/drivers/scsi_debug/adapter*/host*/target*/*:*/ |
| HIGH | test/common/storagelib.py | 55 | '[ -n "$O" ] && break || sleep 0.1; done; echo "/dev/$O"').strip() |
| HIGH | test/common/storagelib.py | 102 | systemctl stop udisks2 || true |
| HIGH | test/common/storagelib.py | 234 | result.push(lis[i].textContent); |
| HIGH | test/common/storagelib.py | 700 | ver = self.machine.execute("busctl --system get-property org.freedesktop.UDisks2 /org/freedesktop/UDisks2/Manage |
| HIGH | test/common/storagelib.py | 707 | crypto_types = self.machine.execute("busctl --system get-property org.freedesktop.UDisks2 /org/freedesktop/UDisk |
| HIGH | test/common/testlib.py | 1985 | " umount $d || true; dmsetup remove --force $d || true; " |
| HIGH | test/common/testlib.py | 1988 | " umount /dev/$dev || true; " |
| HIGH | test/common/testlib.py | 1998 | loginctl terminate-user $u 2>/dev/null || true |
| HIGH | test/common/testlib.py | 1999 | loginctl kill-user $u 2>/dev/null || true |
| HIGH | test/common/testlib.py | 2000 | pkill -9 -u $u || true |
| HIGH | test/common/testlib.py | 275 | sizzle_js = sizzle_js.replace('context = context || document;', 'context = context || window.document;') |
| HIGH | test/common/testlib.py | 1974 | m.execute("systemctl try-restart sssd || true") |
| HIGH | test/common/testlib.py | 2494 | cmd = f"umount {path} || {{ fuser -uvk {path} {path}/* >&2 || true; sleep 1; umount {path}; }}" |
| HIGH | test/common/testlib.py | 2594 | self.machine.execute("test -f /home/admin/.ssh/id_rsa || ssh-keygen -f /home/admin/.ssh/id_rsa -t rsa -N ''") |
| HIGH | test/common/netlib.py | 112 | if 'default' in m.execute("virsh net-list --name || true"): |
| HIGH | test/common/packagelib.py | 58 | self.addCleanup(self.machine.execute, "systemctl stop packagekit; systemctl reset-failed packagekit || true") |
| HIGH | test/common/packagelib.py | 80 | self.machine.execute("test -d /var/lib/PackageKit/alpm && rm -r /var/lib/PackageKit/alpm || true") |
| HIGH | test/common/packagelib.py | 80 | self.machine.execute("test -d /var/lib/PackageKit/alpm && rm -r /var/lib/PackageKit/alpm || true") |
| HIGH | test/common/packagelib.py | 84 | fuser -k /var/lib/pacman/db.lck || true; |
| HIGH | test/common/packagelib.py | 113 | self.machine.execute("systemctl kill --signal=SIGKILL packagekit || true; rm -rf /var/cache/PackageKit") |
| HIGH | test/common/packagelib.py | 114 | self.machine.execute("systemctl reset-failed packagekit || true") |
| HIGH | test/common/packagelib.py | 128 | self.machine.execute("rm -r /etc/systemd/system/dnf-automatic* && systemctl daemon-reload || true") |
| HIGH | test/common/packagelib.py | 132 | self.addCleanup(self.machine.execute, "systemctl disable --now dnf5-automatic.timer 2>/dev/null || true") |
| HIGH | test/common/packagelib.py | 134 | "rm -r /etc/systemd/system/dnf5-automatic*.d && systemctl daemon-reload || true") |
| HIGH | test/common/packagelib.py | 134 | "rm -r /etc/systemd/system/dnf5-automatic*.d && systemctl daemon-reload || true") |
| HIGH | test/common/packagelib.py | 224 | self.addCleanup(m.execute, f"dpkg -P --force-depends --force-remove-reinstreq {name} 2>/dev/null || true") |
| HIGH | test/common/packagelib.py | 311 | self.addCleanup(self.machine.execute, f"rpm -e --nodeps {name} 2>/dev/null || true") |
| HIGH | test/common/packagelib.py | 402 | self.addCleanup(self.machine.execute, f"pacman -Rdd --noconfirm {name} 2>/dev/null || true") |
| HIGH | test/common/packagelib.py | 475 | self.addCleanup(self.machine.execute, "kill %i || true" % pid) |
| HIGH | test/common/packagelib.py | 487 | if 'testrepo' not in self.machine.execute('grep testrepo /etc/pacman.conf || true'): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/pytest/test_packages.py | 34 | def test_parse_accept_language(test_input: str, expected: 'tuple[str]') -> None: |
| LOW | test/pytest/test_packages.py | 168 | def test_condition_hides_priority(pkgdir: Path) -> None: |
| LOW | test/pytest/test_packages.py | 245 | def test_conditions_any_errors(pkgdir: Path) -> None: |
| LOW | test/pytest/test_packages.py | 349 | def test_overlapping_minified(pkgdir: Path) -> None: |
| LOW | test/pytest/test_pcp.py | 253 | def unsupported_metric_archive(tmpdir_factory): |
| LOW | test/pytest/test_pcp.py | 384 | async def test_pcp_instances_option(transport, instances_archive): |
| LOW | test/pytest/test_pcp.py | 409 | async def test_pcp_omit_instances_option(transport, instances_archive): |
| LOW | test/pytest/test_pcp.py | 483 | async def test_pcp_negative_timestamp(transport, timestamps_archive): |
| LOW | test/pytest/test_pcp.py | 539 | async def test_pcp_instances_change(transport, instances_change_archive): |
| LOW | test/pytest/test_pcp.py | 568 | async def test_pcp_scale_memory_unit(transport, mem_avail_archive): |
| LOW | test/pytest/test_pcp.py | 654 | async def test_pcp_unsupported_metric(transport, unsupported_metric_archive): |
| LOW | test/pytest/test_transport.py | 530 | async def test_write_backlog_eof_and_close(self) -> None: |
| LOW | test/pytest/test_browser.py | 107 | async def test_timeformat_timezones( |
| LOW | test/pytest/test_peer.py | 84 | async def test_shutdown_before_init(monkeypatch, transport, rule): |
| LOW | test/pytest/test_peer.py | 125 | async def test_await_broken_connect(bridge): |
| LOW | test/pytest/test_peer.py | 137 | async def test_await_broken_after_connect(bridge): |
| LOW | test/pytest/test_peer.py | 163 | async def test_await_cancellable_connect_init(bridge): |
| LOW | test/pytest/test_peer.py | 173 | async def test_await_cancellable_connect_close(monkeypatch, bridge): |
| LOW | test/pytest/test_samples.py | 108 | def test_temperature_descriptions(): |
| LOW | test/pytest/test_bridge.py | 175 | async def verify_root_bridge_not_running(bridge: Bridge, transport: MockTransport) -> None: |
| LOW | test/pytest/test_bridge.py | 184 | async def verify_root_bridge_running(bridge: Bridge, transport: MockTransport) -> None: |
| LOW | test/pytest/test_bridge.py | 265 | async def test_superuser_dbus_wrong_pw(bridge: Bridge, transport: MockTransport, monkeypatch) -> None: |
| LOW | test/pytest/test_bridge.py | 1328 | async def test_fsinfo_nofollow_watch(transport: MockTransport) -> None: |
| LOW | test/pytest/test_bridge.py | 1333 | async def test_fsinfo_nofollow_targets(transport: MockTransport) -> None: |
| LOW | test/pytest/test_bridge.py | 1382 | async def test_fsinfo_onlydir_watch(transport: MockTransport, fsinfo_test_cases: 'dict[Path, JsonObject]') -> None: |
| LOW | test/pytest/test_bridge.py | 1401 | async def test_fsinfo_watch_identity_changes( |
| LOW | test/pytest/ws/test_authorize.py | 73 | def test_parse_subject_invalid(challenge: str) -> None: |
| LOW | test/pytest/ws/test_authorize.py | 111 | def test_build_basic_roundtrip() -> None: |
| LOW | test/pytest/ws/test_authorize.py | 127 | def test_build_basic_with_known_hosts() -> None: |
| LOW | test/pytest/ws/test_authorize.py | 153 | def test_parse_negotiate_invalid(response: str) -> None: |
| LOW | test/pytest/ws/test_authorize.py | 170 | def test_build_negotiate_roundtrip() -> None: |
| LOW | test/pytest/ws/test_authorize.py | 183 | def test_parse_x_conversation( |
| LOW | test/pytest/ws/test_authorize.py | 191 | def test_parse_x_conversation_invalid() -> None: |
| LOW | test/pytest/ws/test_authorize.py | 196 | def test_build_x_conversation_with_prompt() -> None: |
| LOW | test/pytest/ws/test_authorize.py | 202 | def test_build_x_conversation_no_prompt() -> None: |
| LOW | test/pytest/ws/test_authorize.py | 208 | def test_build_x_conversation_generate() -> None: |
| LOW | test/pytest/ws/test_authorize.py | 215 | def test_build_x_conversation_empty_invalid() -> None: |
| LOW | test/pytest/ws/test_authorize.py | 220 | def test_build_x_conversation_roundtrip() -> None: |
| LOW | test/verify/conftest.py | 31 | def pytest_collection_modifyitems(session: pytest.Session, items: List[pytest.Item]) -> None: |
| LOW | test/common/test-functions.js | 348 | function currentFrameAbsolutePosition() { |
| LOW | test/common/storagelib.py | 264 | def dialog_wait_apply_enabled(self) -> None: |
| LOW | test/common/storagelib.py | 267 | def dialog_wait_apply_disabled(self) -> None: |
| LOW | test/common/storagelib.py | 435 | def assert_not_in_configuration(self, dev: str, tab: str, field: str, text: str) -> None: |
| LOW | test/common/storagelib.py | 438 | def child_configuration_field(self, dev: str, tab: str, field: str) -> str: |
| LOW | test/common/storagelib.py | 452 | def assert_in_child_configuration(self, dev: str, tab: str, field: str, text: str) -> None: |
| LOW | test/common/storagelib.py | 455 | def lvol_child_configuration_field(self, lvol: str, tab: str, field: str) -> str: |
| LOW | test/common/storagelib.py | 468 | def assert_in_lvol_child_configuration(self, lvol: str, tab: str, field: str, text: str) -> None: |
| LOW | test/common/storagelib.py | 471 | def setup_systemd_password_agent(self, password: str) -> None: |
| LOW | test/common/storagelib.py | 124 | def add_targetd_loopback_disk(self, index: str, size: int = 50) -> str: |
| LOW | test/common/storagelib.py | 670 | def check_dropdown_action_disabled(self, parent: str, title: str, expected_text: str) -> None: |
| LOW | test/common/storagelib.py | 686 | def wait_card_button_disabled(self, card_title: str, button_title: str) -> None: |
| LOW | test/common/lcov.py | 448 | def prepare_for_code_coverage() -> None: |
| LOW | test/common/testlib.py | 776 | def set_file_autocomplete_val(self, group_identifier: str, location: str) -> None: |
| LOW | test/common/testlib.py | 1133 | def check_superuser_indicator(self, expected: str) -> None: |
| LOW | test/common/testlib.py | 1201 | def get_raw_pf_progress_value(self, progress_bar_sel: str) -> int: |
| LOW | test/common/testlib.py | 1213 | def start_machine_troubleshoot( |
| LOW | test/common/testlib.py | 1300 | def _set_emulated_media_theme(self, name: str) -> None: |
| LOW | test/common/testlib.py | 1326 | def _adjust_window_for_fixed_content_size(self) -> None: |
| LOW | test/common/testlib.py | 1344 | def assert_pixels_in_current_layout( |
| LOW | test/common/testlib.py | 1608 | def assert_no_unused_pixel_test_references(self) -> None: |
| 28 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/pytest/mockpeer.py | 11 | |
| LOW | test/pytest/test_browser.py | 47 | |
| LOW | test/pytest/test_bridge.py | 914 | |
| LOW | test/pytest/test_bridge.py | 1356 | |
| LOW | test/pytest/test_bridge.py | 1609 | |
| LOW | test/common/js_coverage.py | 49 | |
| LOW | test/common/js_coverage.py | 275 | |
| LOW | test/common/storagelib.py | 195 | |
| LOW | test/common/storagelib.py | 419 | |
| LOW | test/common/storagelib.py | 438 | |
| LOW | test/common/storagelib.py | 455 | |
| LOW | test/common/lcov.py | 143 | |
| LOW | test/common/lcov.py | 203 | |
| LOW | test/common/lcov.py | 269 | |
| LOW | test/common/lcov.py | 390 | |
| LOW | test/common/lcov.py | 481 | |
| LOW | test/common/lcov.py | 236 | |
| LOW | test/common/testlib.py | 508 | |
| LOW | test/common/testlib.py | 814 | |
| LOW | test/common/testlib.py | 949 | |
| LOW | test/common/testlib.py | 1344 | |
| LOW | test/common/testlib.py | 1550 | |
| LOW | test/common/testlib.py | 2388 | |
| LOW | test/common/testlib.py | 1489 | |
| LOW | test/common/webdriver_bidi.py | 226 | |
| LOW | test/common/packagelib.py | 15 | |
| LOW | pkg/storaged/btrfs/btrfs-tool.py | 148 | |
| LOW | pkg/storaged/btrfs/btrfs-tool.py | 217 | |
| LOW | pkg/storaged/crypto/luksmeta-monitor-hack.py | 24 | |
| LOW | pkg/storaged/crypto/luksmeta-monitor-hack.py | 53 | |
| LOW | pkg/storaged/nfs/nfs-mounts.py | 69 | |
| LOW | pkg/storaged/nfs/nfs-mounts.py | 167 | |
| LOW | pkg/storaged/nfs/nfs-mounts.py | 225 | |
| LOW | pkg/storaged/legacy-vdo/vdo-monitor.py | 49 | |
| LOW | pkg/lib/get-timesync-backend.py | 11 | |
| LOW | pkg/lib/get-timesync-backend.py | 49 | |
| LOW | pkg/apps/watch-appstream.py | 199 | |
| LOW | pkg/apps/watch-appstream.py | 365 | |
| LOW | pkg/apps/watch-appstream.py | 43 | |
| LOW | pkg/apps/watch-appstream.py | 314 | |
| LOW | pkg/apps/watch-appstream.py | 370 | |
| LOW | pkg/apps/watch-appstream.py | 53 | |
| LOW | src/cockpit/jsonutil.py | 169 | |
| LOW | src/cockpit/channel.py | 118 | |
| LOW | src/cockpit/bridge.py | 244 | |
| LOW | src/cockpit/packages.py | 488 | |
| LOW | src/cockpit/packages.py | 538 | |
| LOW | src/cockpit/packages.py | 572 | |
| LOW | src/cockpit/packages.py | 619 | |
| LOW | src/cockpit/internal_endpoints.py | 64 | |
| LOW | src/cockpit/polkit.py | 107 | |
| LOW | src/cockpit/samples.py | 130 | |
| LOW | src/cockpit/samples.py | 173 | |
| LOW | src/cockpit/samples.py | 335 | |
| LOW | src/cockpit/beiboot.py | 424 | |
| LOW | src/cockpit/misc/bootloader.py | 14 | |
| LOW | src/cockpit/misc/print.py | 174 | |
| LOW | src/cockpit/misc/print.py | 190 | |
| LOW | src/cockpit/channels/metrics.py | 115 | |
| LOW | src/cockpit/channels/pcp.py | 185 | |
| 13 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | files.js | 181 | from: path.resolve(nodedir, fontsdir, subdir, 'RedHat' + name + '.woff2'), |
| LOW | packit.yaml | 81 | branch: "^main$" |
| LOW | test/common/test-functions.js | 401 | const elts = window.ph_select(sel); |
| LOW | test/common/storagelib.py | 541 | # The kernel command line is changed to use the new root |
| LOW | test/common/lcov.py | 301 | for r in f['ranges']: |
| LOW | test/common/lcov.py | 321 | # with count 0 for "bar" (lines 2 and 3), since it is never |
| LOW | test/common/lcov.py | 341 | # 5 0 bar(); |
| LOW | test/common/testlib.py | 121 | # |
| LOW | test/common/testlib.py | 1361 | return |
| LOW | test/common/testlib.py | 1421 | clip=rect) |
| LOW | test/common/testlib.py | 1461 | # - A pixel in the reference image might be |
| LOW | test/common/dialoglib.py | 1 | # Copyright (C) 2025 Red Hat, Inc. |
| LOW | test/common/dialoglib.py | 21 | # such as input fields, helper texts, and the buttons. There are |
| LOW | test/common/dialoglib.py | 41 | # can be selected in a test like this: |
| LOW | pkg/storaged/pages.jsx | 421 | // another table column already. |
| LOW | pkg/storaged/utils.js | 381 | let is_contained; |
| LOW | pkg/storaged/btrfs/btrfs-tool.py | 1 | #! /usr/bin/python3 |
| LOW | pkg/storaged/crypto/clevis-luks-passphrase.sh | 1 | #! /bin/sh |
| LOW | pkg/storaged/mdraid/mdraid.jsx | 81 | const members = client.mdraids_members[mdraid.path]; |
| LOW | pkg/lib/cockpit-components-plot.jsx | 121 | // Find the highest power of the base unit that is still below |
| LOW | pkg/lib/cockpit-components-plot.jsx | 141 | // If the highest number of would be only, say, 81, then we would get |
| LOW | pkg/lib/cockpit-components-plot.jsx | 161 | // |
| LOW | pkg/lib/journal.js | 301 | a.prio == b.prio && |
| LOW | pkg/lib/get-timesync-backend.py | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
| LOW | pkg/lib/patternfly/patternfly-6-overrides.scss | 341 | // page extremely wide and cause modals to be very offset. Changing from |
| LOW | src/cockpit/peer.py | 81 | try: |
| LOW | src/cockpit/beiboot.py | 141 | return reply |
| LOW | src/cockpit/channels/pcp.py | 1 | # |
| LOW | src/cockpit/channels/pcp.py | 21 | # * interval - the interval on which to deliver metrics |
| LOW | src/cockpit/channels/pcp.py | 41 | # The instance domain denotes if the metric is has multiple instances, for |
| LOW | src/cockpit/channels/dbus.py | 1 | # |
| LOW | src/cockpit/channels/dbus.py | 41 | # This channel payload type translates JSON encoded messages on a |
| LOW | src/cockpit/channels/dbus.py | 61 | # - The client adds a "watch" for a path namespace. There is a |
| LOW | src/cockpit/channels/dbus.py | 81 | # channel, and will keep that mutex locked until it is done with |
| LOW | src/common/cockpitwebcertificate.c | 1 | /* |
| LOW | src/common/cockpitauthorize.c | 1 | /* |
| LOW | src/common/test-authorize.c | 1 | /* |
| LOW | src/common/cockpitconf.c | 1 | /* |
| LOW | src/tls/client-certificate.c | 21 | * required information for authentication, but it's not sufficient: |
| LOW | src/tls/credentials.c | 1 | /* |
| LOW | src/tls/socket-activation-helper.c | 1 | /* |
| LOW | src/tls/test-server.c | 1 | /* |
| LOW | src/tls/test-server.c | 21 | #include <gnutls/x509.h> |
| LOW | src/tls/cockpit-certificate-ensure.c | 1 | /* |
| LOW | src/tls/cockpit-certificate-ensure.c | 21 | |
| LOW | src/tls/server.c | 1 | /* |
| LOW | src/tls/main.c | 1 | /* |
| LOW | src/tls/connection.c | 1 | /* |
| LOW | src/tls/connection.c | 21 | #include <string.h> |
| LOW | src/tls/socket-io.c | 1 | /* |
| LOW | src/pam-ssh-add/pam-ssh-add.c | 21 | #include <stdio.h> |
| LOW | src/pam-ssh-add/test-ssh-add.c | 1 | /* |
| LOW | src/ws/cockpitpipe.c | 21 | #include <sys/socket.h> |
| LOW | src/ws/cockpitauth.c | 1 | /* |
| LOW | src/ws/cockpitauth.c | 21 | #include "cockpitpipetransport.h" |
| LOW | src/ws/cockpithandlers.c | 1 | /* |
| LOW | src/ws/test-server.c | 1 | /* |
| LOW | src/ws/mock-auth-command.c | 1 | /* |
| LOW | src/ws/cockpitwebresponse.c | 1 | /* |
| LOW | src/ws/test-jsonfds.c | 1 | /* |
| 7 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | test/common/storagelib.py | 353 | def step() -> bool: |
| LOW | test/common/storagelib.py | 399 | except Exception: |
| MEDIUM | test/common/testlib.py | 2835 | print(f"Error: '{name}' does not match a test", file=sys.stderr) |
| LOW | test/common/testlib.py | 2761 | except Exception: |
| LOW | test/common/testlib.py | 2978 | except Exception: |
| LOW | pkg/sosreport/get_report_dir.py | 15 | except Exception as e: |
| LOW | pkg/storaged/mount-users.py | 115 | except Exception: |
| LOW | pkg/storaged/mount-users.py | 164 | except Exception as e: |
| MEDIUM | pkg/storaged/mount-users.py | 111 | def sendsig(pid, sig): |
| LOW | pkg/storaged/btrfs/btrfs-tool.py | 80 | except Exception as err: |
| LOW | pkg/storaged/btrfs/btrfs-tool.py | 91 | except Exception as err: |
| LOW | pkg/storaged/btrfs/btrfs-tool.py | 163 | except Exception as err: |
| LOW | pkg/storaged/btrfs/btrfs-tool.py | 232 | except Exception as err: |
| LOW | pkg/storaged/nfs/nfs-mounts.py | 244 | except Exception as e: |
| LOW | pkg/storaged/legacy-vdo/vdo-monitor.py | 81 | except Exception as e: |
| LOW | pkg/storaged/legacy-vdo/vdo-monitor.py | 113 | except Exception as e: |
| MEDIUM | pkg/storaged/legacy-vdo/vdo-monitor.py | 68 | def query(): |
| MEDIUM | pkg/storaged/legacy-vdo/vdo-monitor.py | 109 | def sample(): |
| LOW | pkg/apps/watch-appstream.py | 378 | except Exception: |
| MEDIUM | pkg/apps/watch-appstream.py | 370 | def process_file(path, callback): |
| LOW | src/cockpit/peer.py | 75 | except Exception as exc: |
| LOW | src/cockpit/channels/pcp.py | 527 | except Exception as exc: |
| LOW | src/cockpit/channels/pcp.py | 536 | except Exception as exc: |
| LOW | src/cockpit/channels/pcp.py | 545 | except Exception as exc: |
| LOW | src/cockpit/channels/dbus.py | 327 | except Exception as exc: |
| LOW | src/cockpit/channels/dbus.py | 345 | except Exception: |
| MEDIUM | src/cockpit/channels/dbus.py | 125 | def get_interface(self, interface_name, bus=None, destination=None, object_path= |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | pkg/kdump/config-client.js | 135 | const parts = this.settings._internal.nfs.value.match(/^([^[][^:]+|\[[^\]]+\]):(.*)$/); |
| CRITICAL | pkg/kdump/config-client.js | 185 | (this.settings._internal.core_collector.value.trim().indexOf("makedumpfile") === 0) |
| CRITICAL | pkg/kdump/config-client.js | 191 | (this.settings._internal.core_collector.value.split(" ").indexOf("-c") != -1) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | build.js | 117 | // Use createRequire to leverage Node's module resolution which searches system paths |
| LOW | test/common/lcov.py | 348 | # can't just add them all up. This doesn't work, however, when |
| MEDIUM | pkg/packagekit/updates.jsx | 1030 | // be robust, try to continue with loading updates anyway |
| MEDIUM | pkg/lib/patternfly/_fonts.scss | 5 | // This allows plugins to still utilize the Red Hat fonts when testing plugins on or before Cockpit v336 |
| MEDIUM | pkg/lib/patternfly/patternfly-6-cockpit.scss | 10 | // This allows plugins to still utilize the Red Hat fonts when testing plugins on or before Cockpit v336 |
| MEDIUM | pkg/lib/patternfly/patternfly-6-overrides.scss | 55 | // We utilize custom footers in dialogs |
| MEDIUM | src/cockpit/bridge.py | 281 | # Launch the agent so that it goes down with us on EOF; PDEATHSIG would be more robust, |
| LOW | src/cockpit/channels/pcp.py | 219 | # just return an empty error. If we report anything with a |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/pytest/test_bridge.py | 17 | |
| LOW | src/cockpit/superuser.py | 26 | |
| LOW | src/cockpit/channel.py | 12 | |
| LOW | src/cockpit/channel.py | 12 | |
| LOW | src/cockpit/channel.py | 12 | |
| LOW | src/cockpit/channel.py | 12 | |
| LOW | src/cockpit/channel.py | 12 | |
| LOW | src/cockpit/channel.py | 12 | |
| LOW | src/cockpit/bridge.py | 30 | |
| LOW | src/cockpit/__init__.py | 2 | |
| LOW | src/cockpit/samples.py | 10 | |
| LOW | src/cockpit/beiboot.py | 17 | |
| LOW | src/cockpit/channels/filesystem.py | 20 | |
| LOW | src/cockpit/channels/filesystem.py | 27 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | pkg/lib/serverTime.js | 290 | const text = `# This file is automatically generated by Cockpit\n\n[Time]\n${config.enabled ? "" : "#"}NTP=${con |
| MEDIUM | pkg/lib/serverTime.js | 343 | const text = "# This file is automatically generated by Cockpit\n\n" + config.servers.map(s => `server ${s}\n`). |
| MEDIUM | src/cockpit/_version.py | 2 | # This file is only in git. It gets replaced by `make dist`. |
| MEDIUM | src/cockpit/beiboot.py | 46 | # Create the file in $XDG_CACHE_HOME, one of the few locations that a flatpak can write to |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | pkg/storaged/block/resize.jsx | 377 | // Step 1: Find the spaces that are already used for a |
| LOW | pkg/storaged/block/resize.jsx | 391 | // Step 2: Select missing one randomly. |
| LOW | pkg/storaged/block/resize.jsx | 474 | // Step 1: Find PVs that are already used by a subvolume |
| LOW | pkg/storaged/block/resize.jsx | 485 | // Step 2: Use the rest for the leftover subvolumes |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | src/cockpit/channels/pcp.py | 214 | # Verify if the given metrics exist in the archive |
| LOW | src/cockpit/channels/pcp.py | 618 | # Set metric_descriptions to the current archive |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | test/common/testlib.py | 1575 | # If the page overflows make sure to not show a scrollbar |