The query-log API returns the new fields under the privacy level and filters by blocked, list, source, upstream and opcode #103
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
lantea-one/ninlil#103
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
DnsQueryLogSubscribermaps only the old fields (src/dotnet/src/Ninlil.Dns.Server.QueryLog/DnsQueryLogSubscriber.cs), andQueryLogController.Searchexposes only the old filters (src/dotnet/src/Ninlil.Web/Controllers/QueryLogController.cs:66-135,ToDetailat:204).What changes
QueryLogPrivacyLevelEnum. When the level removes the queried name (DomainRedactedand above),AnswerSummaryandBlockRuleare removed too, because a rule or an answer can reveal the name.Ninlil.Web/Models/QueryLogModels.cs,DnsQueryLogEntryDetail: add the fields.QueryLogController.Search: new query parametersanswerSource,blocked,blockListId,upstreamandopcode. Parse the enums with the existingTryParseOptionalEnum.Ninlil.Web/Examples/QueryLog/.Acceptance
src/dotnet/tests/Ninlil.Dns.Server.QueryLog.Tests: at a privacy level that removes the name,BlockRuleandAnswerSummaryare null.src/dotnet/tests/Ninlil.Web.Tests:GET api/query-log?blocked=trueafter a blocked query returns that row withblockListName;GET api/query-log?opcode=Updateafter an RFC 2136 update returns that row withopcode: "Update".OpenApiSnapshotTestsfails until #104. This package does not regenerate the snapshot.Source
audit-feature-parity.md§2A #2; DEDUPE.md A1.