Commit Graph
19 Commits
Author SHA1 Message Date
Vidya NambiarandCursor a6b7588b22 [AAP-86051] Fix bypass observability tests for caplog and serializer dedupe
Align caplog capture with DAB’s xdist-safe pattern, accept Validation rejected
when bulk APIs dedupe ORM bypass logs, and fix workflow node audit logging call.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 14:15:45 -04:00
Vidya NambiarandCursor b64b11c9ac [AAP-86051] Document serializer persistence context for bulk bypass dedupe
Point bulk host/job launch create() and workflow bulk audit at DAB
validation_bypass_observability guidance for is_valid() + audit_bulk_*.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 13:18:30 -04:00
Vidya NambiarandCursor 9295bf2243 [AAP-86051] Wrap bulk host create in serializer persistence context
Align BulkHostCreateSerializer with bulk job launch so validate()
rejection logs are not duplicated by audit_bulk_model_instances when
DAB dedupe requires serializer_mediated_persistence_context.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 13:18:30 -04:00
Vidya NambiarandCursor 7946adb6c7 [AAP-86051] Bump DAB pin for serializer persistence context API
Align requirements_git with django-ansible-base#1147 head so CI has
serializer_mediated_persistence_context used by bulk job launch create.

Signed-off-by: Vidya Nambiar <vnambiar@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 13:18:30 -04:00
Vidya NambiarandCursor 019db6f5f6 [AAP-86051] Wrap bulk job launch create in serializer persistence context
Use DAB serializer_mediated_persistence_context on BulkJobLaunchSerializer
so validate() rejection logs are not duplicated by bulk workflow node audit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 13:18:30 -04:00
Vidya NambiarandCursor 2cd2fa72e6 [AAP-86051] Pin DAB for CI and fix ruff format in task_manager
Install django-ansible-base from the AAP-86051 companion commit so
bulk_validation_audit exists in the awx_devel image used by all CI jobs.

Signed-off-by: Vidya Nambiar <vnambiar@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 13:18:30 -04:00
Vidya NambiarandCursor 5b3e807da1 [AAP-86051] Address bypass observability review on caller attribution
Use DAB bulk_update auditing instead of a duplicate AWX helper, narrow caller
allowlists so logs point at serializers and scheduler, and document wiring.

Signed-off-by: Vidya Nambiar <vnambiar@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 13:18:30 -04:00
Vidya NambiarandCursor ffe8e655a3 [AAP-86051] Audit bulk_update paths and add bypass observability tests
Add field-scoped audit_bulk_update_instances for bulk_update_sorted_by_id
and scheduler job_explanation batches. Expand functional and unit tests for
bulk host/workflow create and bulk update bypass logging.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 13:18:30 -04:00
Vidya NambiarandCursor 688213e1d9 [AAP-86051] Audit bulk workflow job launch before node bulk_create
Log Tier 1/2 bypass violations for WorkflowJobNode prompt fields stored in
char_prompts, which post_save and bulk CharField scans do not cover alone.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 13:18:30 -04:00
Vidya NambiarandCursor 69024f20c2 [AAP-86051] Wire DAB validation bypass observability for Controller
Register ORM bypass signals and AWX caller prefixes at startup, and audit
bulk host create before bulk_create.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-25 13:18:30 -04:00
Vidya Nambiar b7c5cbac3f Fix for 'Run on' field in frequency details 2023-05-01 17:03:51 -04:00
Vidya Nambiar 77be6c7495 tests 2023-04-25 14:18:05 -04:00
Vidya Nambiar 2c673c8f1f Make Topology view and Instances visible only to system admin/auditor 2023-04-25 12:44:27 -04:00
Vidya Nambiar a7b4c03188 Show scm_branch if project allows branch override 2023-03-07 17:50:08 -05:00
Vidya Nambiar 68e555824d Fix for Save button not responding on Job Settings page
Signed-off-by: Vidya Nambiar <vnambiar@redhat.com>
2022-12-22 11:23:03 -05:00
Vidya Nambiar cec2d2dfb9 minor rearrangement of imports
Signed-off-by: Vidya Nambiar <vnambiar@redhat.com>
2022-12-08 10:52:20 -05:00
Vidya Nambiar 36ff9cbc6d revert change to package.json
Signed-off-by: Vidya Nambiar <vnambiar@redhat.com>
2022-12-07 15:03:40 -05:00
Vidya Nambiar ed74d80ecb Fixes 'Not Found' error on looking up credentials
remove redundant console logs

typo

Signed-off-by: Vidya Nambiar <vnambiar@redhat.com>
2022-12-07 15:00:28 -05:00
Vidya Nambiar c94dc08cf3 Allow entering playbook filename manually in Job Template
Signed-off-by: Vidya Nambiar <vnambiar@redhat.com>

Prettier

Signed-off-by: Vidya Nambiar <vnambiar@redhat.com>
2022-10-12 15:56:12 -04:00