Skip to content

Commit

Permalink
Merge branch 'release-2.0' into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dgaley authored Aug 28, 2024
2 parents 3362b99 + eff9de9 commit ed28ee0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions digicert-certcentral-caplugin/CertCentralCAPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ public Dictionary<string, PropertyConfigInfo> GetCAConnectorAnnotations()
DefaultValue = false,
Type = "Boolean"
},

[CertCentralConstants.Config.SYNC_CA_FILTER] = new PropertyConfigInfo()
{
Comments = "If you list one or more CA IDs here (comma-separated), the sync process will only sync records from those CAs. If you want to sync all CA IDs, leave this field empty.",
Expand Down Expand Up @@ -642,6 +643,7 @@ public async Task Synchronize(BlockingCollection<AnyCAPluginCertificate> blockin
string syncCAstring = _config.SyncCAFilter ?? string.Empty;
_logger.LogTrace($"Sync CAs: {syncCAstring}");
List<string> caList = _config.SyncCAs;

caList.ForEach(c => c.ToUpper());


Expand Down
3 changes: 3 additions & 0 deletions digicert-certcentral-caplugin/CertCentralConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ public class CertCentralConfig

public CertCentralConfig()
{

}
public string APIKey { get; set; }
public string Region { get; set; } = "US";
public int? DivisionId { get; set; }
public bool? RevokeCertificateOnly { get; set; }
public bool Enabled { get; set; } = true;

public string SyncCAFilter { get; set; }
public List<string> SyncCAs
{
Expand All @@ -32,6 +34,7 @@ public List<string> SyncCAs
}
}
}

public bool? FilterExpiredOrders { get; set; }
public int? SyncExpirationDays { get; set; }
}
Expand Down

0 comments on commit ed28ee0

Please sign in to comment.