mirror of
				https://github.com/brygphilomena/pyhuntress.git
				synced 2025-11-04 08:17:29 +00:00 
			
		
		
		
	fix models
This commit is contained in:
		
							parent
							
								
									9e7f76e8b2
								
							
						
					
					
						commit
						edd624ba8e
					
				@ -1,6 +1,6 @@
 | 
			
		||||
[project]
 | 
			
		||||
name = "pyhuntress"
 | 
			
		||||
version = "0.2.3"
 | 
			
		||||
version = "0.2.6"
 | 
			
		||||
authors = [
 | 
			
		||||
  { name="Peter Annabel", email="peter.annabel@gmail.com" },
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
@ -126,7 +126,7 @@ class SATPhishingCampaigns(HuntressModel):
 | 
			
		||||
 | 
			
		||||
class SATPhishingScenarios(HuntressModel):
 | 
			
		||||
    type: Literal[
 | 
			
		||||
        "phishing-campaign-scenarios",
 | 
			
		||||
        "phishing-scenarios",
 | 
			
		||||
        ] | None = Field(default=None, alias="Type")
 | 
			
		||||
    id: str | None = Field(default=None, alias="Id")
 | 
			
		||||
    attributes: dict[str, Any] | None = Field(default=None, alias="Attributes")
 | 
			
		||||
 | 
			
		||||
@ -224,7 +224,7 @@ class SIEMReports(HuntressModel):
 | 
			
		||||
    incident_product_counts: dict[str, int] | None = Field(default=None, alias="IncidentProductCounts")
 | 
			
		||||
    incident_indicator_counts: dict[str, int] | None = Field(default=None, alias="IncidentIndicatorCounts")
 | 
			
		||||
    top_incident_av_threats: list | None = Field(default=None, alias="TopIncidentAVThreats")
 | 
			
		||||
    top_incident_hosts: list | None = Field(default=None, alias="TopIncidentHosts")
 | 
			
		||||
    top_incident_hosts: Any | None = Field(default=None, alias="TopIncidentHosts") #Huntress seems inconsistent between list and dict here
 | 
			
		||||
    potential_threat_indicators: int | None = Field(default=None, alias="PotentialThreatIndicators")
 | 
			
		||||
    agents_count: int | None = Field(default=None, alias="AgentsCount")
 | 
			
		||||
    deployed_canaries_count: int | None = Field(default=None, alias="DeployedCanariesCount")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user