error
Closed this issue · 3 comments
potatoqualitee commented
https://securitycenter/rest/policy/1?expand=policyTemplate&fields=preferences,families,auditFiles,name,description,tags,type,createdTime,ownerGroup
,groups,owner,modifiedTime,policyTemplate,canUse,canManage,status1 with 0-byte payload
that status1
fixed
potatoqualitee commented
fixed
potatoqualitee commented
ipmo tentools -force; $null=Connect-TenServer -ComputerName securitycenter -Type tenable.sc -Credential $cred; Invoke-TenRequest -Path '/policy/1?expand=policyTemplate&fields=preferences,families,auditFiles,name,description,tags,type,createdTime,ownerGroup,groups,owner,modifiedTime,policyTemplate,canUse,canManage,status' -Method GET | Select -ExpandProperty PolicyTemplate | Select -ExpandProperty Editor | ConvertFrom-TenRestResponse -Verbose
potatoqualitee commented
$a = Import-CliXml ./section.txt
ipmo tentools -force; $null=Connect-TNServer -ComputerName securitycenter -Type tenable.sc -Credential $cred ; $a | ConvertFrom-TNRestResponse