Title: cloudfall audit reports false drift once a PostgreSQL service declares remoteAccess · Issue #143 · cloudfall-dev/cloudfall · GitHub
Open Graph Title: cloudfall audit reports false drift once a PostgreSQL service declares remoteAccess · Issue #143 · cloudfall-dev/cloudfall
X Title: cloudfall audit reports false drift once a PostgreSQL service declares remoteAccess · Issue #143 · cloudfall-dev/cloudfall
Description: Found while building #123 (PR #141, spec S-006 remoteAccess). The problem cloudfall audit will report false drift on a server whose PostgreSQL service declares remoteAccess: sdk/src/cloudfall/audit.py compares the host's nftables rules w...
Open Graph Description: Found while building #123 (PR #141, spec S-006 remoteAccess). The problem cloudfall audit will report false drift on a server whose PostgreSQL service declares remoteAccess: sdk/src/cloudfall/audit...
X Description: Found while building #123 (PR #141, spec S-006 remoteAccess). The problem cloudfall audit will report false drift on a server whose PostgreSQL service declares remoteAccess: sdk/src/cloudfall/audit...
Opengraph URL: https://github.com/cloudfall-dev/cloudfall/issues/143
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"cloudfall audit reports false drift once a PostgreSQL service declares remoteAccess","articleBody":"Found while building #123 (PR #141, spec S-006 `remoteAccess`).\n\n## The problem\n\n`cloudfall audit` will report false drift on a server whose PostgreSQL service declares `remoteAccess`:\n\n- `sdk/src/cloudfall/audit.py` compares the host's nftables rules without their source match, so the new `ip saddr \u003ccidr> tcp dport 5432 accept` rule reads as an unexpected open `tcp/5432` and the firewall check reports a mismatch\n- its listener check flags PostgreSQL listening on `listenAddress` as an exposed port, though the firewall only lets the declared sources in\n\n## Reproduce\n\nOnce #141 lands: declare `remoteAccess` with `listenAddress: 10.0.0.2` and `allowedSources: [10.0.0.0/24]` on a PostgreSQL service, converge baseline and services, then run `cloudfall audit`. Expected: no finding for port 5432. Actual (from reading the code, not run live): a firewall mismatch and an exposed-listener finding.\n\n## Proposed fix\n\nTeach `audit.py` the rendered `allowedInbound` entries' `sources`: a rule matches when its port, protocol and source CIDRs match, and a listener on a port open only to declared sources is not \"exposed\". Servers without `remoteAccess` audit exactly as today.\n\nRelated: #81, #123, `docs/specs/006-standalone-postgresql.md`.\n","author":{"url":"https://github.com/apps/shipmill-romamo","@type":"Person","name":"shipmill-romamo"},"datePublished":"2026-10-27T10:47:13Z","url":"https://github.com/cloudfall-dev/cloudfall/issues/143"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:35e63e8f-4067-6d22-ba31-0c18a1dee94e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A34C:1204FD:27A3C57:33FFF6F:6B05596E |
| html-safe-nonce | 0968257fefcb6a1f1d9b0a35e786e39030ea5256d5522b1c980c2dd9cdc2402e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzRDOjEyMDRGRDoyN0EzQzU3OjMzRkZGNkY6NkIwNTU5NkUiLCJ2aXNpdG9yX2lkIjoiMzc5OTc3ODA2ODQ0NTYxNjQ5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 412d0ef71ed80c04d7764c4b8aa947155502b329c44b071077e2d527ab35ff83 |
| hovercard-subject-tag | issue:6057657657 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cloudfall-dev/cloudfall/143/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ce05d94f0f3a277f6002ae06d90a69192f0969b188922c194b2d5dfde0dbfa9c/cloudfall-dev/cloudfall/issues/143 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce05d94f0f3a277f6002ae06d90a69192f0969b188922c194b2d5dfde0dbfa9c/cloudfall-dev/cloudfall/issues/143 |
| og:image:alt | Found while building #123 (PR #141, spec S-006 remoteAccess). The problem cloudfall audit will report false drift on a server whose PostgreSQL service declares remoteAccess: sdk/src/cloudfall/audit... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shipmill-romamo[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | a79a02b7e7546ea306864e922ed2103ef4c04fac63168e11c2b2d4d816793080 |
| turbo-cache-control | no-preview |
| go-import | github.com/cloudfall-dev/cloudfall git https://github.com/cloudfall-dev/cloudfall.git |
| octolytics-dimension-user_id | 339512759 |
| octolytics-dimension-user_login | cloudfall-dev |
| octolytics-dimension-repository_id | 1360999777 |
| octolytics-dimension-repository_nwo | cloudfall-dev/cloudfall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1360999777 |
| octolytics-dimension-repository_network_root_nwo | cloudfall-dev/cloudfall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 10dff83edfd4f3617a7792a152d44991587b434c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width