Actions149
- Attack Pattern Actions
- Campaign Actions
- City Actions
- Country Actions
- Course of Action Actions
- External Reference Actions
- Incident Actions
- Indicator Actions
- Individual Actions
- Infrastructure Actions
- Intrusion Set Actions
- Kill Chain Phase Actions
- Label Actions
- Malware Actions
- Marking Definition Actions
- Note (RFI) Actions
- Observable Actions
- Observed Data Actions
- Opinion Actions
- Position Actions
- Region Actions
- Relationship Actions
- Report Actions
- Sector Actions
- Sighting Actions
- System Actions
- Task Actions
- Threat Actor Actions
- Tool Actions
- Vulnerability Actions
City → Create
AI-generatedSummary
Create a City
Inputs
- name (required) — Human‑readable name of the city.
- x_opencti_aliases — Comma‑separated aliases.
- confidence — Confidence score (0‑100).
- createdBy — Identity ID of the creator.
- description — Free‑text description.
- externalReferences — Comma‑separated IDs of external references.
- objectLabel — Comma‑separated IDs of labels.
- latitude — Latitude coordinate.
- longitude — Longitude coordinate.
- objectMarking — Comma‑separated IDs of marking definitions.
Output shape
a City object
The created City record, including its generated ID; optional fields are omitted if not supplied.
Examples
Example 1: Create a city named 'Metropolis' with an alias 'Metro' and coordinates
name=Metropolis,x_opencti_aliases=Metro,latitude=48.8566,longitude=2.3522
Example 2: Create a city with confidence and external references
name=Sample City,confidence=75,externalReferences=EXTERNAL_001,EXTERNAL_002
Example 3: Create a city providing description and marking definitions
name=Demo City,description=Sample description,objectMarking=MARK_001