Skip to content

Conversation

@abhishuraina
Copy link
Contributor

No description provided.

@abhishuraina abhishuraina requested a review from a team as a code owner November 19, 2025 05:18
@nravada nravada changed the title Nr 482083 Infra Agent support least privileged service account (NR-482083) Nov 19, 2025
@coveralls
Copy link

coveralls commented Nov 19, 2025

Pull Request Test Coverage Report for Build 19737608495

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.02%) to 53.487%

Files with Coverage Reduction New Missed Lines %
pkg/integrations/legacy/runner.go 4 78.27%
Totals Coverage Status
Change from base Build 19323357033: 0.02%
Covered Lines: 14497
Relevant Lines: 27104

💛 - Coveralls

@nravada nravada changed the title Infra Agent support least privileged service account (NR-482083) feat:Infra Agent support least privileged service account (NR-482083) Nov 19, 2025
@nravada
Copy link
Contributor

nravada commented Nov 21, 2025

Scenario 1 (without service account):
PS C:\Users\nravada\newrelic\infrastructure-agent\dist> msiexec.exe /i C:\Users\nravada\newrelic\infrastructure-agent\dist\newrelic-infra-amd64.1.71.0.msi /l*v C:\Temp\msi_install.log

Result:
PS C:\Users\nravada\newrelic\infrastructure-agent\build\windows> Get-Service newrelic-infra | Select-Object Name, Status, StartType, @{Name="StartName";Expression={(Get-WmiObject Win32_Service -Filter "Name='$($_.Name)'").StartName}}

Name Status StartType StartName


newrelic-infra Running Automatic LocalSystem

image

Scenario 2 (with service account):
PS C:\Users\nravada\newrelic\infrastructure-agent\dist> msiexec.exe /i C:\Users\nravada\newrelic\infrastructure-agent\dist\newrelic-infra-amd64.1.71.0.msi NRIA_ACCOUNT="NewRelicServiceAccount" /l*v C:\Temp\msi_install.log
PS C:\Users\nravada\newrelic\infrastructure-agent\dist>

Result:
PS C:\Users\nravada\newrelic\infrastructure-agent\build\windows> Get-Service newrelic-infra | Select-Object Name, Status, StartType, @{Name="StartName";Expression={(Get-WmiObject Win32_Service -Filter "Name='$($_.Name)'").StartName}}

Name Status StartType StartName


newrelic-infra Running Automatic .\nragentuser

image

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.

4 participants