Skip to content

feat(deal assistant v2) - Modified AppRegistration and PDF Generation - #91

Open
mayuresh9791 wants to merge 2 commits into
google:splash-onefrom
mayuresh9791:feat/deal-assistant-v2
Open

mayuresh9791 wants to merge 2 commits into
google:splash-onefrom
mayuresh9791:feat/deal-assistant-v2

Conversation

@mayuresh9791

Copy link
Copy Markdown
Collaborator

app_creation_script.ps1 was missing Directory Role Assignment Compliance Administrator & Compliance Data Administrator Completed Added missing RBAC roles along with Global Reader
Error when generating PDF to retrieve Transport Rule - Modified telemetry/pdf_report.py #2039

display_rules = transport_rules
for rule in display_rules:
desc_text = rule.get("Description") or "N/A"
safe_desc = html.escape(str(desc_text)).replace('\n', '
')
safe_name = html.escape(str(rule.get("Name", "-")))
rules_table_data.append([
Paragraph(safe_name, table_cell_bold),
Paragraph(html.escape(str(rule.get("State", "-"))), table_cell_style),
Paragraph(html.escape(str(rule.get("Priority", "-"))), table_cell_style),
Paragraph(html.escape(str(rule.get("Mode", "-"))), table_cell_style),
Paragraph(safe_desc, small_table_cell_style)
])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant