Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add is_priority param to auth0_log_stream #1102

Merged
merged 13 commits into from
Feb 19, 2025
Merged

Conversation

duedares-rvj
Copy link
Member

@duedares-rvj duedares-rvj commented Dec 16, 2024

🔧 Changes

Added is_priority bool param to auth0_log_stream resource to support setting priority log streams.

resource "auth0_log_stream" "my_log_stream" {
	name = "SampleStream"
	type = "http"
	is_priority = true
	sink {
	  http_endpoint = "https://example.com/webhook/logs"
	  http_content_type = "application/json; charset=utf-8"
	  http_content_format = "JSONARRAY"
	  http_authorization = "AKIAXXXXXXXXXXXXXXXX"
	}
}

📚 References

Closes: #1082

🔬 Testing

Relevant test cases has been updated and can be run using:
make test-acc FILTER=TestAccLogStreamHTTP

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@duedares-rvj duedares-rvj requested a review from a team as a code owner December 16, 2024 06:18
@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.19%. Comparing base (1e0f7aa) to head (fcc793d).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1102   +/-   ##
=======================================
  Coverage   89.18%   89.19%           
=======================================
  Files         134      134           
  Lines       18410    18419    +9     
=======================================
+ Hits        16419    16428    +9     
  Misses       1409     1409           
  Partials      582      582           
Files with missing lines Coverage Δ
internal/auth0/logstream/expand.go 96.42% <100.00%> (+0.06%) ⬆️
internal/auth0/logstream/flatten.go 100.00% <100.00%> (ø)
internal/auth0/logstream/resource.go 96.64% <100.00%> (+0.05%) ⬆️

@duedares-rvj duedares-rvj merged commit 1b48363 into main Feb 19, 2025
7 checks passed
@duedares-rvj duedares-rvj deleted the DXCDT-786/is_prioritized branch February 19, 2025 16:12
@duedares-rvj duedares-rvj mentioned this pull request Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Prioritized support to auth0_log_stream
3 participants