Skip to content

Commit

Permalink
Merge pull request #70 from BloodHoundAD/BED-3838
Browse files Browse the repository at this point in the history
BED-3838 feat: configuration class collection
  • Loading branch information
JonasBK authored Nov 10, 2023
2 parents f694291 + b2ffcf5 commit b817b82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Producers/BaseProducer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ protected LDAPData CreateConfigNCData()

if ((methods & ResolvedCollectionMethod.ObjectProps) != 0 || (methods & ResolvedCollectionMethod.ACL) != 0)
{
query = query.AddContainers().AddCertificateTemplates().AddCertificateAuthorities().AddEnterpriseCertificationAuthorities();
query = query.AddContainers().AddConfiguration().AddCertificateTemplates().AddCertificateAuthorities().AddEnterpriseCertificationAuthorities();
props.AddRange(CommonProperties.ObjectPropsProps);
props.AddRange(CommonProperties.CertAbuseProps);

Expand All @@ -161,7 +161,7 @@ protected LDAPData CreateConfigNCData()
{
if ((methods & ResolvedCollectionMethod.Container) != 0)
{
query = query.AddContainers().AddCertificateTemplates().AddCertificateAuthorities().AddEnterpriseCertificationAuthorities();
query = query.AddContainers().AddConfiguration().AddCertificateTemplates().AddCertificateAuthorities().AddEnterpriseCertificationAuthorities();
props.AddRange(CommonProperties.ContainerProps);
}

Expand Down
1 change: 1 addition & 0 deletions src/Runtime/ObjectProcessors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ internal async Task<OutputBase> ProcessObject(ISearchResultEntry entry,
case Label.OU:
return await ProcessOUObject(entry, resolvedSearchResult);
case Label.Container:
case Label.Configuration:
return ProcessContainerObject(entry, resolvedSearchResult);
case Label.RootCA:
return await ProcessRootCA(entry, resolvedSearchResult);
Expand Down

0 comments on commit b817b82

Please sign in to comment.